Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Greg
 
Posts: n/a
Default Display rows of data - vlookup?

I'm looking for a method to display rows of data from sht1 onto sht2. Sht2
cell a1 is my match. If column A on sht1 finds a match or matches, then
display the entire row on sht2 starting at a2.
I tried vlookup but only get the first row. Any suggestions would be
appreciated. Thanks in advance, Greg.
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Your formula on sheet1, A2 should be (change the $J$500 to match the bottom
right corner of your data on sht2):

=VLOOKUP($A1,sht2!$A$1:$J$500,column(),false)

Copy it over to the right as far as needed



"Greg" wrote:

I'm looking for a method to display rows of data from sht1 onto sht2. Sht2
cell a1 is my match. If column A on sht1 finds a match or matches, then
display the entire row on sht2 starting at a2.
I tried vlookup but only get the first row. Any suggestions would be
appreciated. Thanks in advance, Greg.

  #3   Report Post  
Greg
 
Posts: n/a
Default

I'd like to try to explain a little better:
sht1
A B C
1 apple grn 21
2 pear yel 22
3 orange or 23
4 apple red 24

sht2
A B C
1 apple
2 apple grn 21
3 apple red 24

Sht2 a1 (apple) is what I'm looking for. Sht1 has two rows (1,4) with a
match, therefore the rows are displayed on sht 2, row 2 and 3.
Hope this helps. Thanks, Greg

"Duke Carey" wrote:

Your formula on sheet1, A2 should be (change the $J$500 to match the bottom
right corner of your data on sht2):

=VLOOKUP($A1,sht2!$A$1:$J$500,column(),false)

Copy it over to the right as far as needed



"Greg" wrote:

I'm looking for a method to display rows of data from sht1 onto sht2. Sht2
cell a1 is my match. If column A on sht1 finds a match or matches, then
display the entire row on sht2 starting at a2.
I tried vlookup but only get the first row. Any suggestions would be
appreciated. Thanks in advance, Greg.

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
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM
Insert rows Mr. G. Excel Worksheet Functions 3 March 31st 05 03:49 AM
How do I import data into Excel that exceeds 70000 rows? Claudia Phelps Excel Discussion (Misc queries) 2 March 25th 05 11:33 PM
Need Formula to display pivot table source data Don S Excel Worksheet Functions 3 February 23rd 05 10:13 PM
Controlling odd even rows when pasting data [email protected] Excel Discussion (Misc queries) 1 February 23rd 05 07:11 PM


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