Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Looking up a variable in one worksheet and copying information from another column to another worksheet??

HELP!!

My poor wife has two excel files and thinks she has about 24 hours of work
on her hands so I'm hoping someone here can help. What she has to do is
use the item number from a column in file A, and looking for the same item
number in file B. Then she needs to take a number from the same row but
another column and move it to a new column in file A. Any idea on how I
can do that? She has 200 pages worth to go through and I would hate for
her to have to look up each one individualy.

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Looking up a variable in one worksheet and copying information from another column to another worksheet??

Okay, we need to know what we're working with.

What column in Workbook A needs to be looked at to find the number.

What column in workbook B matches this number?

Are we looking at duplicate values?

Is it one worksheet in each workbook, or is there multiple sheets in
each book.

Post a sample of the data and describe exactly what you need to have
happen.

Cheers,
Jason Lepack
Brad Torken wrote:
HELP!!

My poor wife has two excel files and thinks she has about 24 hours of work
on her hands so I'm hoping someone here can help. What she has to do is
use the item number from a column in file A, and looking for the same item
number in file B. Then she needs to take a number from the same row but
another column and move it to a new column in file A. Any idea on how I
can do that? She has 200 pages worth to go through and I would hate for
her to have to look up each one individualy.

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Looking up a variable in one worksheet and copying information fro

Assuming the item number is in cell A1 and you want to return data from
column B of Book2 and the item numbers for Book2 are in column A, you should
be able to use either

=VLOOKUP(A1, [Book2]Sheet1!$A$1:$B$10, 2, 0)
=INDEX([Book2]Sheet1!$B$1:$B$10,MATCH(A1,[Book2]Sheet1!$A$1:$A$10,0))

to bring the data from Book2 into the desired cell in Book1. Then copy/fill
the formula down as far as needed. If the data to be returned is to the left
of the item number in book2, you cannot use VLookup. You can then break the
link to Book2 and hardcode the data by selecting the column w/the Vlookup (or
Index/Match formula) and copy, then Edit/Paste Special - values.

It is usually easiest to use the mouse to select the external ranges when
you're typing in the formula (ie type =VLOOKUP(A1, then use the mouse to
select cells A1:B10 on Book2 - that way excel will put in the necessary
brackets, apostrophes, etc. that are needed for the reference to book2).



"Brad Torken" wrote:

HELP!!

My poor wife has two excel files and thinks she has about 24 hours of work
on her hands so I'm hoping someone here can help. What she has to do is
use the item number from a column in file A, and looking for the same item
number in file B. Then she needs to take a number from the same row but
another column and move it to a new column in file A. Any idea on how I
can do that? She has 200 pages worth to go through and I would hate for
her to have to look up each one individualy.

Thanks!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I combine spreadsheets and documents in one file? Trish Excel Discussion (Misc queries) 3 November 9th 06 09:17 PM
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
copying formulas from worksheet to worksheet yesbob Excel Discussion (Misc queries) 1 February 7th 05 02:25 AM
when copying a worksheet to a new one, some of the information do. AZ Excel Discussion (Misc queries) 2 February 4th 05 01:01 AM


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"