How do I find a number on a chart?

Brodie

New Member
Joined
Jan 15, 2018
Messages
3
I have a ton of data that represents a chart we use. I would like to find a predetermined number on the left axis, then within that row find another number, and return a value at the top axis. Like find the 4 below, then the 99, and lastly the .21

.19 .2 .21 .22

1 24 25 26 27
2 63 64 65 66
3 78 79 80 81
4 97 98 99 100
5 8 9 10 11

Thanks in advance

Brodie
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Assuming the data is in the top left of a sheet, with cell A1 blank, you can build up the formula bit by bit.

To find the value 4 in the first column:
MATCH(4,A2:A6) returns 4

To find 99 in the corresponding row:
MATCH(99,B5:E5)
MATCH(99,OFFSET(B2:E2,4))
MATCH(99,OFFSET(B2:E2,MATCH(4,A2:A6))) returns 3

To find the value in the top row:
INDEX(A2:A6,3)
INDEX(A2:A6,MATCH(99,OFFSET(B2:E2,MATCH(4,A2:A6)))) returns 0.21
 
Upvote 0
Thanks for your help. I have always used vlookups but I need more versatility to solve this one. I couldn't the "INDEX(A2:A6,MATCH(99,OFFSET(B2:E2,MATCH(4,A2:A6))))" command to work. There are too few arguments for the OFFSET portion. I also tried setting up the same chart as I gave in the example using the command "=INDEX(A2:A6,MATCH(99,OFFSET(B2:E2,MATCH(4,A2:A6),0)))" and that returns a value of 4. Any ideas as to ehy this is happening?
 
Upvote 0
I got it to work. Thanks. The command is below.

"=INDEX(B1:E1,MATCH(99,OFFSET(B2:E2,(MATCH(A10,A2:A6)-1),)))"
 
Upvote 0

Forum statistics

Threads
1,214,422
Messages
6,119,396
Members
448,891
Latest member
tpierce

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