Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chris
 
Posts: n/a
Default populate one worksheet from another

I have a reference number on one worksheet. I then want to search another
worksheet (Shet1) in the ssme workbook for that reference number. When found
I want to copy all the info from the other columns (B, C) into similar
columns on the new work sheet (Sheet2)
Eg
sheet 1 has the data and ColA is the ref number
ColA ColB ColC
123 date amount
Sheet2. I enter ColA data and want to then get data from Sheet1, Cols B C
ColA
123

regards Chris
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Chris

you can use the VLOOKUP function for this, in cell B1 of Sheet 2 type
=VLOOKUP(A1,Sheet1!$A$1:$C$100,2,0)
which says, lookup the value in A1, in the range A1:A100 on sheet 1 and
return the associated value from the column adjacent to it where there is an
exact match.
for C1 of sheet 2 the formula will be
=VLOOKUP(A1,Sheet1!$A$1:$C$100,3,0)

Regards
JulieD

"Chris" wrote in message
...
I have a reference number on one worksheet. I then want to search another
worksheet (Shet1) in the ssme workbook for that reference number. When
found
I want to copy all the info from the other columns (B, C) into similar
columns on the new work sheet (Sheet2)
Eg
sheet 1 has the data and ColA is the ref number
ColA ColB ColC
123 date amount
Sheet2. I enter ColA data and want to then get data from Sheet1, Cols B C
ColA
123

regards Chris



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
copyright and worksheet protection dow Excel Discussion (Misc queries) 2 January 3rd 05 03:07 PM
Executing macro for all worksheet from a different worksheet Biti New Users to Excel 3 December 8th 04 10:05 AM
Reference Data in Moved Worksheet tommcbrny Setting up and Configuration of Excel 1 December 1st 04 06:49 PM
Linking items GREATER THAN O on another worksheet in the same Work Eddie Shapiro Excel Discussion (Misc queries) 4 December 1st 04 02:55 PM
Worksheet name and Backward compatibility Rich Excel Discussion (Misc queries) 3 November 30th 04 06:10 PM


All times are GMT +1. The time now is 01:31 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"