How To Populate A Column With Data From Another Worksheet

Feb 25, 2014

I am hoping to populate a column with data from another worksheet. Basically, I have a set of columns, one for Location, Zip Code, Longitude, and Latitude. I want a formula to say, if the location equals X, then pull the associated information from the other worksheet. -- I assume it would be an if or vlookup, or combination.

View 4 Replies


ADVERTISEMENT

VBA To Duplicate Template Worksheet And Populate With Successive Data From Single Column

Sep 30, 2009

I've created a single worksheet that is essentially a "dashboard" type of report that displays data for a single employee/person. This worksheet (let's assume it's my "template") contains formulae that is driven by a single lookup cell (in this case, the employee's ID, in cell, for example, A1).

This "dashboard" report (for just one individual) needs to be duplicated for the entire employee population (let's say ~100 people); this employee population is stored as a list in a separate worksheet, in a single column.

Is there a vba solution that will copy my template and populate the cell A1 (of each duplicated template worksheet) with the the employee IDs - of course, it would be ideal if the solution can search in my employee ID list and continue down until there are no more IDs and create the same number of worksheets as there are IDs?

Because the macro is creating numerous worksheets, is it possible to name the worksheets based off of an adjacent value (in the same sheet as the IDs) to each respective ID (I'm thinking of a concatenation of the employees' IDs and names)?

One major wrinkle in this process: the above process would be ideal if the "template" worksheet won't change (i.e. no changes to formatting, no additional data elements, etc.) However, it's likely that the client will want to add/remove/change items/elements to the "template" dashboard. Assuming, at this point, all 100 worksheets for each individual/employee have been created, it would be a huge pain to manually add/remove elements from each sheet. Is there another macro that would delete ALL employee sheets? That way, I can re-modify my single template and just run the original macro to re-create my duplicate sheets (but populated with different IDs) again.

View 9 Replies View Related

Macro To Populate Data From Worksheet

Apr 15, 2013

I'd like to create a macro such that when a person's name is typed in a cell, a separate set of cells populates with data pulled from a worksheet containing the person's data.

So, for example, I have created a scorecard template. Rather than have 50+ scorecards for each individual, I'd like to have one template upon which the individual's respective data can be pulled into the appropriate cells based on the name entered in another cell on the template (or a pop up in which the name is entered).

View 3 Replies View Related

Auto Populate Cells With Corresponding Data From Different Worksheet?

Nov 26, 2012

I'm trying to figure out a way to populate multiple cells automatically with certain information after entering info into a single cell on a separate worksheet in a separate workbook.

Our "master" sheet has 22 total columns (A-V), and our weekly "status" sheet only has 7 total columns (A, E, P, L, M, N, R).

Column A on both sheets is labeled "Sample Number". On the "status" sheet I want to be able to type, for instance, "2012-228" into A2 and have the corresponding values from Columns E, P, L, M, N, R on the "master" sheet automatically populate into B2-G2 on the status sheet if this is at all possible.

View 5 Replies View Related

Populate UserForm Controls With Worksheet Data

Sep 27, 2006

I have a userform that stores data (1 row record with 20 columns) to a worksheet.Is there a way to grab the data back in (other or the same)userform, ambent(correct) data and store them back in the same row in the worksheet?

View 2 Replies View Related

Extracting Data From One Worksheet To Another With Multiple Fields To Populate

May 1, 2013

I have a table of data from which I would like to extract the information which is listed horizontally.

Column A Column B Column C Column D
Code Name Address Locality
SMITJOHN John Smith 123 Bell Rd Perth

On the 2nd worksheet I have a form which I have designed to which I would like to extract the information from the 1st worksheet.

I am hoping that it is possible to start entering a code based on some reference on the Name. Eg SMITJOHN

Once the code is true or correct it will populate certain cells on the 2nd worksheet automatically.

I work in transport and am looking to streamline some of the paperwork and am trying to do it within the means I have available to me.

The format of the 2nd worksheet is;

CODE: SMITJOHN
NAME: John Smith
ADDRESS: 123 Bell Rd
LOCALITY: PERTH

View 3 Replies View Related

Excel 2003 :: How To Auto-Populate Data From 1 Worksheet To Another

Jul 2, 2014

I have inherited a number of databases in work (running Office 2003). It has quickly become apparant that a vast amount of work is duplicated and so i am trying to cut down the data input and therefore the possible errors.......

I have narrowed most of the work down and now have a major worksheet (is that what you call a complete Excel file) named "master database" and several over minor files....

Currently what i am trying to do is to get the minor files (68 seperate files) to auto populate an area of the master database. I will try to explain it below...

1. Minor database has 2 columns with data i require to auto populate the master database. (1 column (B) is called 'off', the 2nd column (C) is called 'on').

2. A number will be inputed manually into either 'B' only or 'B and C' columns, depending on the criteria of the job..

3. The criteria of the job is dictated by column (Z) where the text 'A' or 'ATL' is inputed

4. The master database i would like to add up the numbers inputed as a total from columns 'off' and 'on' and place them into seperate columns 'E' and 'G' of the master database.

5. IF column (Z) shows 'A' then only column (B) 'off' is to be calculated and put into the master database at column (E)

6. IF column (Z) shows 'ATL' then BOTH columns (B and C) 'on' AND 'off' are to be added together and column (G) populated on the master database.....

To make matters more complex. An expiry date is shown on the master database at columns (D) and (F).
IF column (E) does not exceed 12 by the expiry date, i would like the cell (D) to turn red
IF column (G) does not exceed 10 by the expiry date, I would like the cell (F) to turn red

View 7 Replies View Related

Populate Column Based On Change In Data Of Another Column

May 30, 2014

I am trying to find a way to populate a column based on the changes in the data of another column...

For example, I want to fill in the code column....so when the customers cost changes, I want a numeric code to populate & change. So for the first 5 lines, the code could be 21, and then when the cost changes to $37.51, want the code to change to 22.

CodeCustomer's Cost
$34.10
$34.10
$34.10
$34.10
$34.10
$37.51
$37.51
$32.50
$32.50
$33.48
$33.48
$34.10
$37.51
$37.51

View 7 Replies View Related

Populate Helper Column With All Duplicates From Data Column

Jan 25, 2013

I'm looking to populate my Helper Column with all duplicates from my Data Column. Please note that my helper column needs all instances of a duplicate.

Data Column
Company ABC
Business DEF
Corporation GHI
Business DEF
Company ABC
Business DEF

Helper Column
Business DEF
Company ABC
Business DEF

The formula needs to be dynamic and it will need to be able to be copied down.

View 9 Replies View Related

Excel 2013 :: Populate First Worksheet From Data Stored In Several Other Worksheets?

Feb 19, 2014

I have made a Rota of sorts using Excel 2013 Desktop Edition for my charities volunteers (and stored it as a shared file via office 365 server that they can download and edit) and this rota is populated by our volunteers manually. Each day our controller needs to check the file to see who is on duty at that time.

How the Rota is populated.(the bit i managed to do myself)

The volunteer (Person A in this example) would open the excel file and go to the month they wish to choose a shift for (ref worksheet: FEB in this example). They would then pick a shift that suits them and click on the cell (ref: F32) that shows a vehicle available, then from the drop down list they select their name and then save and close the sheet.

Rather than our volunteer controller going through the sheet for the current month (ref worksheet: Sheets JAN to DEC) I would like them to use the first sheet in the workbook (ref worksheet: DC Info Page) to get an instant view of which volunteer is currently on shift.

My current problem

I don’t know how to make the excel file do the following

Search sheets JAN to DEC (ref cells: C4:I58 on each sheet) inclusive for the cell that contains today's (current actual) dateCopy the 8 (eight) cells below the cell that contains today's datePaste the copied cells in to the relative cells (ref: C8 to C15) in sheet one (ref worksheet: DC Info page)

I would also like this to be done automatically so the controller does not have to click on anything after they open the file. But if it needs a button to process the request, one could be added to the worksheet (ref: DC Info Page)

View 1 Replies View Related

Create Dropdown List Using Data From Different Worksheet And Auto-populate Remaining?

Sep 11, 2013

I have two worksheet. One worksheet is a form where in the Field Door No. should be a dropdown list. The list will be retrieve from worksheet Source. Now upon selecting a specific Door No. it should also autopopulate the respective Type, Brand, Serial No., and Type.

First thing i need to know is what should i do on Cell B1 worksheet Form for it to be a drop down list retrieving the Column A on worksheet Source.

Second, upon selecting for example ATC0009 on the drop-down, it should auto-populate like these

Door No. ATC0009
Type AT Crane
Brand A
Serial 43679
Type Crane

View 14 Replies View Related

Auto-populate Data To A Master Worksheet From Other Sheets In A Shared Workbook

May 11, 2009

I have never really used VBA and so am completely stuck at this problem. I need to create a macro which auto-populates a master worksheet from the individual user sheets in a shared workbook. Sheet 1 is the master sheet "Team Stats". There will be an undetermined number of individual worksheets to accomodate new staff. Each worksheet will be identical, using columns A-I with row 1 having the headings:

Date, Name, Reference, Value, Price, Age, Purchased?, Destination, Add. Products (the last 3 columns will have a drop-down list which will be used to enter data into the cell). There will be a varying number of rows in each of the individual sheets. If possible I would like the macro to run every time data is entered into one of the individual worksheets. If this is not then it would be fien to update every time the workbook is opened.

View 5 Replies View Related

Automatically Populate Data From Target B Worksheet Into Target A Worksheet

Dec 3, 2012

I have main worksheet (target a) that I am trying to populate data from target(worksheet) b. The data I am trying to get from target b changes every month,(declining balance) based on a new month. So how can I get financial data from different cell each month from "b" into same cell in "a"? (so "A" # would be overwritten in same cell based on new # from "B". I have tried VLookup but can't be doing something correct.

View 2 Replies View Related

Populate Data In 2 Column Listbox Using VBA

Jun 10, 2014

I am using Excel frontend and Access backend for my project. Now I want to write the code that will execute when the userform1 is loaded and populate data from Access table in to the 2 column listbox. I have written the following code but that doesn't work properly.

[Code] .....

View 2 Replies View Related

Populate Blanks In Column Without Exceeding Last Row Of Data?

May 15, 2014

I need to populate blanks in a column without exceeding the last row of data

View 5 Replies View Related

Get Data In Column A To Populate Into Multiple Columns

Jul 15, 2014

I have single values in each cell in column A. I have 100 rows.

I want to take six rows at a time and get them to populate columns B, C, D, E, F, G.

Is there a simple formula for this?

View 2 Replies View Related

Match Data From Another Column And Populate Info

Mar 21, 2007

I am trying to match info from one column with another column and if it matches, I need the formula to populate the relevant data from the adjacent column. I using Vlookup and I am not sure why it does not work. I have attached a simple example.

View 2 Replies View Related

Userform - Populate Combobox With Column Number And 1st Row Data

May 13, 2014

I need to populate a combo box on a form with the column name (A,B,C...etc) and the first row data. I need the code to check all columns in-case of missing column data.

Its important to note the data will be dynamic. In my add in, a form opens on requests and asks the user which column he needs to action data on. this could be on any one of several non similar spreadsheets.

E.G.: Combox to hold the following data (see column D has no data or header row):

Column A - Date
Column B - Rep
Column C - Customer
Column D -
Column E - Product

How can i pass this info to the form ?

View 3 Replies View Related

Match Cells In Another Column And Populate Data Automatically

Oct 11, 2006

I have a worksheet where I need to match the work items from Region A to Region B. If the work items match , then I need the formula to automatically populate the corresponding data in the next 3 columns as similar to Region A. I have tried searching the forum and but I could not work out the formula. I am not sure if the formula is Vlookup or INDEX/Match which both I am not well verse. I have attached a sample sheet.

View 4 Replies View Related

Auto-Populate Column Data From Source Sheet After Selecting From Dropdown List

Jan 11, 2013

I'm trying to make a spreadsheet that can be used to easily build a collective list of steps, for a user to read and follow line-by-line.

I want a source sheet of "steps" that I can change over time, and the resulting tabs that reference the source sheet get updated/populated automatically.

I've pieced together some VBA code from other sources, which kind of does what I want it to:

VB:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row > 1 And Target.Column = 1 Then
Dim SourceSheet As Worksheet
Set SourceSheet = ActiveWorkbook.Sheets("Steps")
Dim TargetSheet As Worksheet
Set TargetSheet = Target.Worksheet
Dim c As Integer
Dim Source As Range

[Code]...

But there are some problems:

1) The data auto-populates into a row. It would read better if each step was in the same column, meaning rows would need to be automatically added upon selecting something from the drop-down list. The number of rows that need to be added vary based on the number of steps in the source sheet, for the selection made from the drop-down list.

2) If you make a change to the source sheet, my goal is to have the other sheets referencing the source sheet's lists of steps update automatically, so you only need to update the steps in one spot and everything you've built from them gets updated instantly. Currently, you must select a different choice from the drop-down list, and then change it back, before it populates the "new" steps from the source sheet.

This is my first time using VBA.

What I have so far is attached: testAutoPopulate.xlsm

View 2 Replies View Related

Entering Date Into Worksheet Which Would Then Populate Relevant Worksheet

Jul 11, 2012

I have to complete information providing dates and names for a long number of individuals. Is it possible to set up the spreadsheet so that if you enter a date next a persons details in on worksheet their information is automatically updated in the relevant ones?

View 2 Replies View Related

Populate New Worksheet With Preselected Highlighted Rows From Another Worksheet

Nov 26, 2012

How do I populate a second worksheet with only the preselected highlighted rows of cells from another worksheet.

This way I will end up with only the selected data from the first worksheet in the second worksheet.

View 9 Replies View Related

Populate A Different Worksheet With The Date "data"

Oct 2, 2008

I would like to populate a different worksheet with the date "data" that corresponds to the ROW where the last column of the table below "principal_Writdwn" is not zero. In this case period 9 date Jul 25, 2009.

PeriodDate PrincipalInterestBalance Princ Writedown

0Oct 7, 2008 - - 23,074,928 -
1Nov 25, 2008 553,576 124,989 22,521,352 -
2Dec 25, 2008 517,549 121,991 22,003,803 -
3Jan 25, 2009 481,937 119,187 21,521,866 -
4Feb 25, 2009 446,750 116,577 21,075,116 -
5Mar 25, 2009 430,982 114,157 20,644,134 -
6Apr 25, 2009 415,366 111,822 20,228,768 -
7May 25, 2009 399,907 109,572 19,828,861 -
8Jun 25, 2009 384,606 107,406 19,444,255 -
9Jul 25, 2009 369,440 105,323 18,973,238 101,577
10Aug 25, 2009 314,515 102,772 18,476,892 181,831
11Sep 25, 2009 308,281 100,083 17,986,852 181,759
12Oct 25, 2009 295,685 97,429 17,519,564 171,603
13Nov 25, 2009 290,814 94,898 17,056,128 172,621

View 9 Replies View Related

Configuring Dates: Enter A Date In One Column, Another Column Will Automatically Populate With The 1st Of The Next Month

May 8, 2009

how to make a certain type of date automate. It's kind of hard to explain, but basically, I'd like to make it so that when I enter a date in one column, another column will automatically populate with the 1st of the next month. For example:

If I enter 4/26/2009 in the 1st column, column 2 will read: 5/1/2009
If I enter 1/19/2008 .................................................. 2/1/2008

Also, it's very important that if the FIRST date is already the first of the month, then the second column will read the same. For instance: If I enter 3/1/2009 in the first colum, the second column will ALSO read 3/1/2009.

View 3 Replies View Related

Select Case Code For Column A Values To Populate Results In Column B In Same Row?

May 28, 2014

I'm trying to write a simple VBA code to loop through values in the range A14:A138 and based on the value (of a possible four values) in any row of that range, populate the adjacent column in the same row with a conditional result. For example if A14 = "Cat", then B14 = "I"; if instead A14 = "Dog", B14 = "II", etc. If there is no value in column A, the result should be blank (i.e. "").

I believe are in coding the destination range since I can get it to work for just one cell in B! Below is my code that is not working...

[Code].....

View 7 Replies View Related

Populate All The Data From Column Of Workbook To Other Workbook

Oct 11, 2005

=IF(ISERROR(INDEX($A$1:$B$10,SMALL(IF($A$1:$A$10=$A$10,ROW($A$1:$A$10)),ROW(1:1)),2)),"",INDEX($A$1: $B$10,SMALL(IF($A$1:$A$10=$A$10,ROW($A$1:$A$10)),ROW(1:1)),2))

I have 10 columns in workbook 1 and i am tryin to populate all the data from
10 columns of workbook 1 in to workbook 2. but the prob is if i use the above
formula, i have to modify it in all the columns of workbook 2 to get the data
from workbook 1. what makes my job easier is if i cld use the above function
or any other to populate all the 10 columns of workbook1 in 10 different
columns of workbook 2 without having to use the formula 10 different times
and modifying it each time. its like writing the function in one cell and all
the 10 cells get populated by itself in workbook 2 with the data from
workbook 1. I used the above function as there are dupluicates in the data
and vlookup dont work in that case.

View 11 Replies View Related

Capture Unique Values From 1 Column And Populate The Result Into Another Column

Aug 28, 2009

I have values in COlumn A, probably about 50K rows, The total unique values on the column A is only about 27. I need to capture all those unique values and paste them in column B. I didn't want to do "Advance filtering" since the workbook has many macros's on it that the user simply click on. Im thingking of creating a loop and compare values already pasted in Column b but then that will take too much time to complete the loop. Is there any easier or yet more efficient way to accomplish this?.

View 2 Replies View Related

Populate Name From One Worksheet To Another After Finding A Value?

Feb 14, 2014

I have my training file that is currently set up and working how I want it to, however I would like to go one step further if it's possible.

on the FIRE EXTINGUISHER TRAINING column there is one person out of date and 14 people that need the training, how can I populate all the name that need this training onto sheet 1 into the box that I have created. I'm wanting this to happen automatically so I don't have to retype the name onto this sheet.

View 14 Replies View Related

Populate List Box Different Worksheet

Jun 13, 2009

I am struggling to populate a listbox with data from a different worksheet.

If it is the current worksheet works fine.

The worksheet is called "Drawing Data" ..

View 2 Replies View Related

Automatically Populate A Summary Worksheet

Jul 31, 2007

Is it possible to automatically populate a summary worksheet, based on matches in other worksheets within the workbook which match a particular date?

I have a workbook with 15 worksheets--each sheet is setup like a database with 4 columns (fields). One column is for the date.

I would like to populate a summary sheet that serves as an executive summary of all "records" which match a particular date.

View 10 Replies View Related







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