How to lookup both Vertical and Horizontal

bencyp

New Member
Joined
Jul 9, 2005
Messages
19
Hi Guys,

I have few data which consists of Vertical and horizontal headings with values. These vertical and horizontal headings may vary its position but I need the correct value from the main sheet.

State Not So Good General Good
Mumbai 51 36 74
Dehi 33 27 46
Kerala 35 24 73
AP 34 27 46
Karnataka 56 24 78
Chennai 23 26 54
Kolkata 48 36 76
Gujarat 64 42 43

The above details will be the main sheet which may vary the horizontal and vertical headings.
IN the next sheet I will have some fixed headings which should pull the data from main.

Any help would be appreciated.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Do you mean something like this?
Excel Workbook
ABCD
1StateNot So GoodGeneralGood
2Mumbai513674
3Dehi332746
4Kerala352473
5AP342746
6Karnataka562478
7Chennai232654
8Kolkata483676
9Gujarat644243
Main
Excel 2007
Excel Workbook
AB
1General
2Kerala24
Sheet2
Excel 2007
Cell Formulas
RangeFormula
B2=INDEX(Main!$B$2:$D$9,MATCH(Sheet2!A2,Main!$A$2:$A$9,0),MATCH(Sheet2!B1,Main!$B$1:$D$1,0))
 
Upvote 0
Thanks Jim for your reply.

Your example shows what I am looking for.

I am unable to get the desire results from the formula you have given. Can you please help Jim?

Regards,
Bency
 
Last edited:
Upvote 0
Sorry Jim,

Its working now. You are a Gem Jim.

Thank you very much. Will be needing your help more in future. :)

Regards,
Bency
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,488
Members
452,917
Latest member
MrsMSalt

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