Using Match on multiple columns

mambonumber5

New Member
Joined
Sep 17, 2015
Messages
11
I'm trying to locate a number within an array of several columns and then look up a cell to the left of the array on the same row where the value has been located. For example:

ABCD
1
doctor3.2816.73
2nurse14.716.73
3purse1.0920.3

<tbody>
</tbody>
I want to look up D1 in B1:C3 and trace it so that it will return "nurse". I'm trying to use:

Index(A1:A3,Match(16.73, B1:C3, 0))

I would like to do this with a formula rather than by the creation of a separate table to analyze all the columns one by one. Ideas?

Much appreciated, thanks
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi - stumbled upon this while researching for a resolution to my issue
Is there way to do a partial search for the below? say instead of looking the exact value of 16.73 in G1, say G1 was 16.1, and it return "nurse" (since C2=16.73, which is "close to my 16.1 specified value). Side note, my values will be text and not numerical values, which is the need for looking for "partial string match".

Thank you dreid, it may be just it.

In that case, this is another solution.

In H1:

=IF(COUNTIF($B$1:$E$5,G1),INDEX(A:A,MAX(INDEX(($B$1:$E$5=G1)*ROW($B$1:$E$5),))),"Not found")

Copy down



ABCDEFGHI
1doctor3.2827.6424.41 16.73nurse
2nurse14.716.7319.9624.2 23.68moon
3purse1.0920.320.7226.06 29.86ant
4ant29.8619.625.6623.18 1.23Not found
5moon24.1124.0822.9423.68
6
[Book1]Sheet4

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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