Technology Get the latest on technology, electronics and software…

Excel Help

Thread Tools
 
Old Feb 3, 2010 | 11:02 AM
  #1  
GIBSON6594's Avatar
Thread Starter
My Garage
 
Joined: Nov 2004
Posts: 13,386
Likes: 11
From: NY
Excel Help

Hey guys,

I have 2 excel charts. Need to populate info from one them into another. 1 column is common between the two charts, consisting of a ID code (xxxx-xxxx) for each row. Do you know of any easy to populate chart 2 with the info contained in chart 1 using the ID codes?

does that make sense?
Reply
Old Feb 3, 2010 | 11:29 AM
  #2  
Pure Adrenaline's Avatar
Dragging knees in
iTrader: (2)
 
Joined: Dec 2002
Posts: 12,434
Likes: 33
From: Seattle Area
I'm pretty sure you are talking about vlookup.

1. Put the two charts into the same file but in different sheets. If they are in different files, this formula won't work.

2. Go to chart 1. Create a new column. Type in the following formula in a cell.

=vlookup(select the ID code column in this sheet, click on the other sheet, click on the ID code column and drag the cursor to include the column that includes the information you want to import, number of columns you just selected, false)

The commas separate the commands. So each bold face explanation I wrote above is separated by a comma. As you follow the instructions, hit the comma on your keyboard and Excel will automatically recognize it. In fact, as soon as you put in =vlookup, it will bring up the formula for you.

3. Populate column by double clicking on the bottom right corner of the cell.

This is probably confusing. If it doesn't make sense, then look up (no pun intended) help for vlookup in Excel.

Last edited by Pure Adrenaline; Feb 3, 2010 at 11:32 AM.
Reply
Old Feb 3, 2010 | 12:17 PM
  #3  
chill_dog's Avatar
Oderint dum metuant.
 
Joined: Mar 2005
Posts: 12,496
Likes: 534
From: Lake Wylie
Rough example of what PA said:

=VLOOKUP(A1,Chart2!A$1:C$200,3,FALSE)
Reply
Old Feb 3, 2010 | 12:30 PM
  #4  
Whiskers's Avatar
Go Giants
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Aug 2004
Posts: 70,003
Likes: 1,260
From: PA
4?
Reply
Old Feb 3, 2010 | 01:10 PM
  #5  
swoosh's Avatar
takin care of Business in
iTrader: (5)
 
Joined: Jan 2008
Posts: 30,994
Likes: 4,733
From: Kansas City, MO
ok so you have 2 ways of doing it....

1> PRO way: use vlookup as mentioned above....

2> NAIVE way: sort the sheet 1 using the ID-code....sort the sheet 2 using the same.....copy them together....make sure all the id's match.....delete 1 duplicate id column....

now if you have 2000 id's in sheet 1 and 1000 in sheet 2....do not use the naive way....u will spend couple days doing it, so use the vlookup.....but if you have 2000 in sheet1 and 1990 in sheet 2....u can use the naive way and check every 200th row for a match !!!
Reply
Old Feb 3, 2010 | 07:14 PM
  #6  
The Dougler's Avatar
Unofficial Goat
iTrader: (1)
 
Joined: Jul 2006
Posts: 15,744
Likes: 112
From: Toronto
vlookup is the tool you need
Reply
Old Feb 3, 2010 | 07:30 PM
  #7  
GIBSON6594's Avatar
Thread Starter
My Garage
 
Joined: Nov 2004
Posts: 13,386
Likes: 11
From: NY
Thanks guys. The project got sidetracked, but I appreciate the help.
Reply
Old Feb 3, 2010 | 08:28 PM
  #8  
The Dougler's Avatar
Unofficial Goat
iTrader: (1)
 
Joined: Jul 2006
Posts: 15,744
Likes: 112
From: Toronto
just make sure after you vlookup that you copy then paste special, values that you inserted because if you change anything later it can mess up your lookup. Plus you won't get that annoying pop up about updating data when you open the file.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Yumcha
Automotive News
70
Dec 7, 2020 05:39 PM
Yumcha
Automotive News
4
Aug 15, 2019 12:58 PM
08_UA7_Gr33k
Member Cars for Sale
13
Feb 11, 2016 02:17 PM
InFaMouSLink
Car Parts for Sale
6
Oct 27, 2015 06:52 PM
08_UA7_Gr33k
Member Cars for Sale
1
Sep 27, 2015 01:56 PM




All times are GMT -5. The time now is 08:42 PM.