lookup

paldersley

New Member
Joined
Sep 13, 2006
Messages
1
simple lookups are limited to either rows or columns, i want to find a particular value which may be anywhere within a defined range

i have tried offset and match, but i always need to know where the target is for these to work

eg where is 3

a b c e
1 0 0 0 0
2 1 0 3 1
3 0 1 2 0
4 5 0 0 0

i need formula to give me C2 which i can then use in a GO TO command, or anything that does the same thing
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi,

Try:

=INDEX(B1:E1,MATCH(G3,INDEX(B2:E5,MIN(IF(B2:E5=G3,ROW(B2:E5)-ROW(B1))),0),0))&INDEX(A2:A5,MIN(IF(B2:E5=G3,ROW(B2:E5)-ROW(B1))))

confirmed with Ctrl + Shift + Enter.
Book1
ABCDEFGH
1abce
210000
3210313c2
430120
545000
6
Sheet3
 
Upvote 0

Forum statistics

Threads
1,215,217
Messages
6,123,675
Members
449,116
Latest member
HypnoFant

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