Auto Populate Field With Date When Other Field Is Selected From Validation List

Jul 4, 2013

In the following extract, I would like to have today's date placed into Col K when an entry is made into Col J.

Entry into Col J is from a validation list of 3 options. What I desire is that when one of these options is selected ("Complete"), then I would like today's date to be written into Col K.

Currently Col K has a validation list which comprises dates from 1st of each month from July to June.

I need a fixed date as text preferably, so was thinking the VBA function "Date" on a Change Workbook Sub.

The information is currently part of a Table in Excel 2007 that has about 500 records.

IdeasList

*
J
K

2
Status
Month Completed

3
In Progress
*

4
Complete
Jul-13

5
*
*

6
*
*

Data Validation in Spreadsheet

Cell
Allow
Datas
Input 1
Input 2

J4
List
*
=ValidationList_Status
*

K4
List
*
=ValidationList_Months
*

View 2 Replies


ADVERTISEMENT

Auto Populate A Field In One Tab By Comparing Another Field In A Different Tab?

Jan 25, 2013

I have a tab called 'Tab1' in which I have column called 'Col1' and 'Col2'.

I have another tab called 'Tab 2' with columns 'ColA' and 'ColB'. When I enter a text in Col1(Tab1) I would like that text to be compared to data in 'ColA' from Tab 2 and when match found then get the corresponding value from ColB and autopopulate it in Col2 of Tab1.

View 2 Replies View Related

Auto-Populate Field Based On Dropdown Box Selection?

Jan 20, 2013

I have a dropdown list selection on the form for types of machines. The list of machines, their sizes and related noise level are in a chart on worksheet 2 and I'd like to automate the form so that when the machine is selected, the related noise level auto populates.

The dropdown box has been put in the form using the data validation function.

View 7 Replies View Related

Data Validation (Show Two Columns Only Populate One Field Upon Selection)

Jul 2, 2014

Basically I have a form where the list can expand and contract so there will always be varying row lengths.

What I would like to see is a drop down list that shows a) the actual populated field and b) a description of the field when the drop down list is present.

I believe this can be done with a combo box however that would be a lot of work.

View 1 Replies View Related

Populate Field Depending On Date Specified

Aug 12, 2009

I need to complete the 'cost field' in Table A, from Table B, but the 'cost' value must be selected from Table B based on it's ' date completed', as per my example attached...

View 9 Replies View Related

Excel File To Automatically Read Date & Pre-populate From 1st Field

Aug 13, 2014

i have a file that needs to have daily postings to it, I would like for it to automatically generate today's date and then if you change figure 1, it carries over to figure 2.

View 3 Replies View Related

Changing A Numerical Field To A Date Field

Dec 28, 2006

in coverting these fields into a date field.

Example 91306 to 060913

I have encloed the file.

View 14 Replies View Related

Counting Per Date Field And Data Field

Apr 29, 2006

I am trying to count the number of times that data is in a field and in any field the date is greaert than today's date. This date field could be blank and that is where I am having the problem.

Example

See Attached

View 4 Replies View Related

Create Auto Populated List Field Based Off Multiple Fields

Apr 21, 2014

I have two or more fields of data, where parts of them are auto populated based on inputs from elsewhere. That part i have working fine, however the problem arises in taking that information and displaying it as a Bill of Materials list on another tab in my excel file. I want to take the information, and only display it in the BOM tab if that piece of information is being used (ie item count field not being 0). I know how to do that part in a rather simple format, however i'd prefer to make it so that when i have the list, and a certain item isn't used then its not included in the BOM, and an empty space is not left behind. I would prefer this to be all be done automatically by a formula if possible instead of just having to resort to sorting the table every time the tool is being used.

Is this even possible in excel, A quick example doc is attached, shows 2 example fields. i'd like to take the information from those 2 fields. and somehow create a single list, with a single heading along the top, with all row containing a 0 "Unit Count" to be omitted entirely from the list, and not have a blank space where the item should be. Keep in mind these fields may be greater than 2, and may not be position one after the other in a strait down line.

Example.xlsx

View 4 Replies View Related

Static Date Stamp: Add A Date Stamp That Will Populate A Field When Text Is Entered Into Another Cell

Jun 28, 2007

How can I add a date stamp that will populate a field when text is entered into another cell but will not change every time I re-open the sheet. I have been using =if(B4="",NOW()) which changes each time though and as soon as text is entered it disappears. I want to capture the actual date that someone enters text into a cell and save that date in another cell???

View 5 Replies View Related

Field To Populate NETWORKDAYS But Also To Populate Alternatives If Fields Are Blank!

Aug 11, 2009

i have two fields with dates - one field A1 for date authorised (for a data request) and one field B1 for date actioned (data request)

i need a formula to populate in C1 the following:

if A1 is blank then C1 is 'not actioned'
if B1 is blank then C1 is 'not complete'
if both contain dates then C1 to calculate the number of working days between the dates eg. A1 10.08.09, B1 11.08.09...C1 = 1 working day

View 3 Replies View Related

Macro To Preset Field With Text If Condition In Another Field Is True

Jun 9, 2006

I have a macro that imports a report. If the Charge Type in column A is BTOREPLX, I need to prefill the field next to it in column B with the text "REPLX", e.g. "REPLXCDROM". I've attached an example of the report.

View 5 Replies View Related

Change/Move Pivot Table Row Field To Column Field

Apr 23, 2008

In building my pivot table my data that I want to show in the column area is showing up as rows stacked on top of each other. In the column section I'm trying to show Total Budgeted Amount next to Total Actual Amount but on the layout it's showing the two stacked on top of each other is there some kind of hidden key that I'm missing?

View 3 Replies View Related

Populate A Field Based On A Value

Mar 5, 2009

I want to know how to take a field with a value and apply it to fields with range. In this case if i had a value of 15 it would enter that value in this field
below. I tried an IF formula but it did not work.

range 31 to 40
range 21 to 30
range 11 to 20 15
range 1 to 10

View 5 Replies View Related

Getting Zero Formula Field When Data Field Blank / Empty

Feb 13, 2013

I have a simple formula ='info page'!b2&'info page'!b5 in places that on my sheet adds a company prefix to a item number, prefix in b2 and item in b5, we have a client that we cant use prefixes but now when I leave the field blank its giving a zero and thats not good either. I'm pretty sure an IFERROR or something will work but can get the syntax right.

View 5 Replies View Related

Userform To Populate Data With One Field

Mar 1, 2007

was having a look and cannot find the question to this answer.

1,what i have done is made a workbook with a user form to input data (customer id is the unique record)

i now want to create a form where i can put the customer id in and tell it to show me that customers details and i can edit.

i have various textboxes/ combo boxes/ check boxes in the input form and i want all these to be included on the review form (for updating and changing the existing data).

2, also if possiable i will add a sheet with dates for deadline to cancel, can i get this to show on the new input form is it is to late to cancel?

View 5 Replies View Related

Move Data On Selected Field

Feb 25, 2008

Once the user has submitted the data and the results are shown on Sheet1, how can i move that data into selected fields on sheet4.

find the attached excel sheet...

View 11 Replies View Related

Lookup Populate Another Field With Information Already On Sheet

Aug 14, 2014

I've been stuck with this issue for a few days now. I'm trying to populate another field with information already on the sheet. The data is demo data.

I've tried =VLOOKUP(C2,D55:E55,2,0) however it only returned 0

View 2 Replies View Related

Is There A Way To Make A Field/button To Go To Column A For The Row Selected

Jan 23, 2009

I'd like to create a go back field/button/something that would allow a user (who is on a row, in a column very far right) to click to go straight to column A for that selected row.

View 2 Replies View Related

Counting Entries In A Validation Field

Apr 17, 2007

I need to count entries in a validation field

I tried using =COUNT(3,E3,M3,U3,AC3) but this does not work.

View 3 Replies View Related

Field Auto Copy

Feb 27, 2008

I needs to auto copy some fields,I am attaching the file for convenience.

View 9 Replies View Related

Data Transfer (populate The Green Field Individual Part # )

Oct 20, 2008

This sheet is comprised of 3 different section. The purple section is an input field. Quantities are added based on product type and date. The blue section is a breakdown of all the individual parts that go into the specific product. The green section is a breakdown of all the possible parts in the entire product range.

What I would like is to populate the green field individual part # with the appropriate sum from all the different product types based on quantities desired. I'm sure this is a confusing description but it will make more sense once you check out the sheet.

View 2 Replies View Related

Data Validation Thru Double Input Into Field

Jan 8, 2009

I have to input data into "ANYDATA" field. Since I need this input to be 100% accurate, I would like my operator to input it TWICE. E.g. 1st input - Obama 2nd input- Obama. Only if BOTH the entries match will the data move into ANYDATA field, else the field becomes blank once again, and the operator has to re-key twice again. In example above, if he had input 2nd time as Obame, then he will have to repeat the process. Can anyone pls help me create suitable formula/ field settings...Thx! Preferably, I would NOT like to create two dummy fields "ANYDATA1" and "ANYDATA2" with corresponding entry in "ANYDATA" if both match.

p.s. Need this to be done using MS-Excel only.

View 10 Replies View Related

Auto Populating A Field In A Spreadsheet

Aug 25, 2007

I have a spreadsheet where I keep track of sales that I make in ebay. The spreadsheet has the following columns: Name, Product, Prod Cost, Shipping Cost, Payment Received, Total. I have made a list way off the the right of the spreadsheet with all the products that I sell, so in the "Product" column I can use a pulldown menu and choose the item from the list. However, I was wondering if I could create it in such a way that when I chose the item from the list, it would automatically put the cost in the "Product Cost" field. Is this possible?

View 9 Replies View Related

Excel 2003 :: Force All Pivot Field Items Selected

Jun 22, 2012

I have a pivot table which I want to force the all of the pivot table items to be selected for a particular pivot table field. One would think that this would be as easy as unlocking all cells on the sheet with the exception of this pivot field and then locking the worksheet. This doesn't work though as I am generating multiple pivot tables on the same workbook for the same range and I get this message: "this command cannot be performed while a protected sheet contains another PivotTable report based on the same data source...".

My thinking is that I can do something along the lines of this:

Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
Dim oPI As PivotItem
Application.ScreenUpdating = False
If Target.PivotFields("Item Sold").PivotItems.Count Target.PivotFields("Item Sold").VisibleItems.Count Then

[Code]..

This is failing right away though on the If Target.Pivot.... line.

View 1 Replies View Related

Apply Custom Validation Rule To A Drop-down Field

Oct 6, 2009

Is there a way to apply a custom validation rule to a drop down field in Excel (which itself is already using a validation rule)? Here is what I wish to do: I have a range of cells that can only pick up values from a list. I want to further apply a custom validation rule to these cells - display an error message when one chooses an element from the list that has already been used by another cell in the range.

View 2 Replies View Related

Auto Page Field Changing In Pivots

Sep 13, 2006

I have used the archive and Mr Excel and cobbled together a code which does what I want - that is to use a remote cell entry to update a specific page field cell in 4 pivot tables. I then use another remote entry to do the same to two secondary Page Field Cells in 2 of the 4 pivot tables.

However, if my remote cell has a number in it that IS NOT in the the pivot Page Field List then rather than breaking the code it simply overwrites (and therefore changes the value in the pivot table Page Field List) - disaster!!
My code is

Sub testflash()

Range("B15").Activate
Dim mycell As Integer
mycell = Range("b15").Value
Sheets("Dissection Table").Select
ActiveSheet.PivotTables("PivotTable21").PivotFields("Serial Number").CurrentPage = mycell
ActiveSheet.PivotTables("PivotTable22").PivotFields("Serial Number").CurrentPage = mycell
ActiveSheet.PivotTables("PivotTable23").PivotFields("Serial Number").CurrentPage = mycell
ActiveSheet.PivotTables("PivotTable24").PivotFields("Serial Number").CurrentPage = mycell
Application.Run "'KPI Mastercopy Data.xls'!testing"
End Sub

View 9 Replies View Related

Create Data Validation Field That Doesn't Allow Blanks Or Duplicates

Jun 4, 2014

I have a table for gym members and each member is assigned a unique member number.

spreadsheet.PNG

I wish to create a data validation field that wont allow you to leave the cells blank or use the same code twice.

this was my attempt that failed: =AND(ISERROR(MATCH(A:A, A2, 0)) <>FALSE, A2<>""

View 1 Replies View Related

Auto Fill Macro For Fields Below Active Field

Apr 9, 2014

I need a simple macro to use for conditional autofill of cells below the active cell (to the end of the sheet) with the text that is being entered in the active cell.

DESCRIPTION: I have two columns of data, the first (call it Col1), has a word number which is unique to each specific word in a foreign language, every cell in this column has a number in it from 1 to 30000. Each number reoccurs many times in cells over the length of this column.

The other column (call it Col2) is blank. As I type words in english in each cell of this column, I need the macro to autofill the text that I have just entered, into every cell in Col2 where it's Col1 number is a match with the Col1 number where I am typing.

For example, in one row, Col1 has the number "21" and I type in Col2 the word "run". I need the macro to find every row where the number 21 is found in Col1 and automatically enter "run" into Col2 at that location.

The macro must only autofill cells which have no data in them. Preferably from that cell down, although if that is not possible, all cells would work seeing we are only replacing blank cells with data.

View 5 Replies View Related

VBA Auto Filter To Select Field Based On Certain Criteria?

Feb 5, 2014

I'm currently using the following:

[Code] .........

However, i'd like it select the field ie 2-17 based on a year in a cell on another sheet "x" in cell E3.

At the moment i have a row of numbers 1-17 above the corresponding field cell so for example the number 15 is attached to the year 2013 (although this is dynamic).

I just cant work out how to get the autofilter to select the number that matches the cell in "x" E3 with the same value in T2:AJ2 on filter sheet and then filter the column that matches.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved