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


ADVERTISEMENT

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 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

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

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

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

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

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

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 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

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

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

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

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

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

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

Excel 2010 :: Build A String For Criteria1 Field In VBA For Auto Filtering

Oct 3, 2013

Code:

ActiveSheet.Range("$A$1:$AM$14502").AutoFilter Field:=1, Criteria1:= _ "30/06/2013"

When I run the above on my Worksheet to Filter for Rows not equal to 30/06/13 this works fine

I want amend the Criteria1 to a string that is derived off a value in my worksheet I have done this as below where Range("D8").Value is 30/06/13

It is deleting al my data and not keeping the rows with 30/06/13 in it.

Code:

Dim rng As Range
Dim LastQtrDate As Date
Dim LastQtrDateString As String
LastQtrDate = shtControlTab.Range("D8").Value
LastQtrDateString = "" & LastQtrDate

[Code]...

View 2 Replies View Related

Concatenate Two Text Fields BUT Left Adjust First Field And Right Adjust Second Field

Jun 22, 2012

I want to concatenate two Cells into a single cell BUT have the first field left justified and the second cell right adjusted.

A1 = "John Williams", A2= "Single"

A3 = "John Williams Single"

View 1 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

Value From Field A5

Jun 11, 2009

If a5=15, i would like that c2=d? (but that ? Must be value from field a5)

View 12 Replies View Related

Calculating Field On A VBA From

Jun 20, 2007

I have run into a problem I have not found a solution for surprisingly. I need to calculate several fields on the form prior to saving it and thus exporting the data to the worksheet. All I can find is how to calculate the field in a worksheet and then reference it with VB code on the form. Is what I want to do possible?

If I run into many more problems I may want to shop this project out as my schedule barely allows for the work I have let alone attempting to learn VBA on the fly.

If anyone is interested I can post the project so far along with the detail of what I want it do in the end.

View 9 Replies View Related

Blocking Field

Mar 23, 2009

Let's say that if I put number 1 in cell a1.

I would like that i can write something in cell a2 (BECAUSE A1 IS 1) and that cell a3 is disabled (blocked) foR any use if cell a1 is 1.

View 13 Replies View Related

How To Put File Name In Field

Mar 14, 2013

after macro is finished I want to put file name on in field

Code:

Range("HPU").Value = fileToSave
fileToSave - it's give me whole path, like: C:DBNewV1Testjan.csv

but I want to have just name of the csv (jan.csv).

How can I del the rest?

View 3 Replies View Related

Use Two Filters Within A The Same Field?

Jul 18, 2014

is it possible to use two filters within a the same field.

ie. right now i can filter using the top 10 based on a value field.

what if i want to see the top 10 customers profit and along any drop in revenue from previous years..

something like this.

the information below was copied out of a pivot table that included the % difference.

Code and Name
YearCheck
Profit
Difference

[Code].....

View 1 Replies View Related







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