ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Lookup by row and column (https://www.excelbanter.com/excel-discussion-misc-queries/133923-lookup-row-column.html)

Amanda

Lookup by row and column
 
Hi,

I have 5000 lines and 68 columns in a 2 page spreadsheet. The lines and
columns are the same, although in a different order on the 2 pages. how do I
lookup the data from sheet A and put it into sheet B against the same row and
column heading?

i.e
Sheet A
Customer West East South North
1000 10 10 10 10
2000 22 22 22 22
3000 30 30 30 30

Sheet B

Customer East North South West
3000
1000
2000


Thanks

Amanda

vezerid

Lookup by row and column
 
On Mar 8, 5:28 pm, Amanda wrote:
Hi,

I have 5000 lines and 68 columns in a 2 page spreadsheet. The lines and
columns are the same, although in a different order on the 2 pages. how do I
lookup the data from sheet A and put it into sheet B against the same row and
column heading?

i.e
Sheet A
Customer West East South North
1000 10 10 10 10
2000 22 22 22 22
3000 30 30 30 30

Sheet B

Customer East North South West
3000
1000
2000

Thanks

Amanda


=VLOOKUP($A2,'Sheet A'!$A$1:$BP$5000,MATCH(B$1,Sheet A'!$A$1:$BP
$1,0),FALSE)

HTH
Kostis Vezerides


pinmaster

Lookup by row and column
 
Hi,

What you need is an INDEX, MATCH function. For more info check the link below.

http://www.contextures.com/xlFunctio...tml#IndexMatch

HTH
Jean-Guy

"Amanda" wrote:

Hi,

I have 5000 lines and 68 columns in a 2 page spreadsheet. The lines and
columns are the same, although in a different order on the 2 pages. how do I
lookup the data from sheet A and put it into sheet B against the same row and
column heading?

i.e
Sheet A
Customer West East South North
1000 10 10 10 10
2000 22 22 22 22
3000 30 30 30 30

Sheet B

Customer East North South West
3000
1000
2000


Thanks

Amanda



All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com