Transposing V Lookup Results

Vmeista

New Member
Joined
Jul 29, 2007
Messages
2
Hi Guys.

How do i display Vlook up results horizontally?

It has to be a vlook up and not a Hlook up. I can copy and transpose the data but this is time consuming.

E.G 5,8,7,5

A B
Index Data
1 5
2 8
3 7
4 5


Ive tried this to no avail: =VLOOKUP(A2,A1:B6,2,FALSE) Also
=VLOOKUP($A2,A1:B6,2,FALSE)

The required result would read

C1 C2 C3 C4
5 8 7 5
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
With your datarange from A1 to B4, put this formula into C1 and copy to the right...=VLOOKUP(INDIRECT("A"&COLUMN()-2),$A$1:$B$4,2,0)
 
Upvote 0
Hi vmeista:

Welcome to MrExcel Board!

In addition to the contribution from Indiatrix, you may also use the following array formula for cells D1:G1

=TRANSPOSE(VLOOKUP(A1:A4,A1:B4,2))

as in the following illustration ...
Book1
ABCDEFG
1155875
228
337
445
Sheet2
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,831
Members
449,051
Latest member
excelquestion515

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