Vlookup

Bobby80

New Member
Joined
Mar 14, 2011
Messages
4
Hi,

I have two different worksheet. Suppose sheet A and Sheet B. Sheet A have all the data (Suppose 100 records). sheet B have the data (10 records for vlookup) which I need to put the vlookup on Sheet A. Sheet A have colums from A to Z. I have done the vlookup on sheet B as =VLOOKUP($A1,SheetA!$A:$Z,2,FALSE). I am getting the value for one column corresponding to sheet A data.

My question is that, When I have done the vlookup, I want all the rows from SheetA:Z corresponding to the vlookup value cell.

e.g. Sheet A

a 32 43 54 65 76 87 897 34 23 56 87 87 23 67 87 and soon upto Column Z
b 5 54 54 43 34 65 78 98 90 65 54 6 0 56 45 78 56 .......

Sheet B : lookk up on sheetA, a
i am getting 'a' from vlookup.

but I need the answer like

a 32 43 54 65 76 87 897 34 23 56 87 87 23 67 87 which return me the rows values connect to value a.

please let me know how do i do the vlookup in simpler way to get the values.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
<TABLE class=tborder id=post2691551 cellSpacing=0 cellPadding=6 width="100%" align=center border=0><TBODY><TR vAlign=top><TD class=alt1 id=td_post_2691551 style="BORDER-RIGHT: #ffffff 1px solid">Hi,

I have two different worksheet. Suppose sheet A and Sheet B. Sheet A have all the data (Suppose 100 records). sheet B have the data (10 records for vlookup) which I need to put the vlookup on Sheet A. Sheet A have colums from A to Z. I have done the vlookup on sheet B as =VLOOKUP($A1,SheetA!$A:$Z,2,FALSE). I am getting the value for one column corresponding to sheet A data.

My question is that, When I have done the vlookup, I want all the rows from SheetA:Z corresponding to the vlookup value cell.

e.g. Sheet A

a 32 43 54 65 76 87 897 34 23 56 87 87 23 67 87 and soon upto Column Z
b 5 54 54 43 34 65 78 98 90 65 54 6 0 56 45 78 56 .......

Sheet B : lookk up on sheetA, a
i am getting 'a' from vlookup.

but I need the answer like

a 32 43 54 65 76 87 897 34 23 56 87 87 23 67 87 which return me the rows values connect to value a.

please let me know how do i do the vlookup in simpler way to get the values.
<!-- / message --></TD></TR><TR><TD class=alt2 style="BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 0px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-BOTTOM: #ffffff 1px solid">
user_online.gif
</TD><TD class=alt1 style="BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 0px solid; BORDER-LEFT: #ffffff 0px solid; BORDER-BOTTOM: #ffffff 1px solid" align=right><!-- controls -->
progress.gif
</TD></TR></TBODY></TABLE>
 
Upvote 0
Hi,

I have two different worksheet. Suppose sheet A and Sheet B. Sheet A have all the data (Suppose 100 records). sheet B have the data (10 records for vlookup) which I need to put the vlookup on Sheet A. Sheet A have colums from A to Z. I have done the vlookup on sheet B as =VLOOKUP($A1,SheetA!$A:$Z,2,FALSE). I am getting the value for one column corresponding to sheet A data.

My question is that, When I have done the vlookup, I want all the rows from SheetA:Z corresponding to the vlookup value cell.

e.g. Sheet A

a 32 43 54 65 76 87 897 34 23 56 87 87 23 67 87 and soon upto Column Z
b 5 54 54 43 34 65 78 98 90 65 54 6 0 56 45 78 56 .......

Sheet B : lookk up on sheetA, a
i am getting 'a' from vlookup.

but I need the answer like

a 32 43 54 65 76 87 897 34 23 56 87 87 23 67 87 which return me the rows values connect to value a.

please let me know how do i do the vlookup in simpler way to get the values.
SheetB

A1: a (which is a look up value)

B1, copy down:

=MATCH(A1,SheetA!$A$1:$A$100,0)

C1, copy across as far as needed and then down:

=IF(ISNUMBER($B1),INDEX(SheetA!B$1:B$100,$B1),"")
 
Upvote 0
Thanks Aladin but I am not getting the values I need.

I think I didnt explained properly,

Sheet A
a pet dog cat etc.......upto column Z
b fruits apple grapes etc .........upto coumn Z
c
d
e
f
g
.
.
.

so on upto column 100

-------------------------------------------
Sheet B -- Vlookup on value b:

Once I have done the vlookup, I want my answer in below way:

I got the value as b:

which function I need to place to get the remaining connected values of b: I need my answer in below way:

b fruits apple grapes etc .........upto coumn Z
 
Upvote 0
Thanks Aladin but I am not getting the values I need.

I think I didnt explained properly,

Sheet A
a pet dog cat etc.......upto column Z
b fruits apple grapes etc .........upto coumn Z
c
d
e
f
g
.
.
.

so on upto column 100

-------------------------------------------
Sheet B -- Vlookup on value b:

Once I have done the vlookup, I want my answer in below way:

I got the value as b:

which function I need to place to get the remaining connected values of b: I need my answer in below way:

b fruits apple grapes etc .........upto coumn Z
I'd like to urge to try the suggestion I made. Is there anything about it that needs explanation? By the way, Index/Match does the same as Vlookup, here in a better way.
 
Upvote 0

Forum statistics

Threads
1,224,545
Messages
6,179,432
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top