Can the LOOKUP_VALUE in a MATCH function be CONCATENATED?

artikyulashun

New Member
Joined
Aug 21, 2012
Messages
41
Can the lookup_value within a MATCH function use the Concatenated value of two cells to identify the COLUMN number of a spreadsheet?

MATCH(lookup_value, lookup_array, [match_type])

Something like this is what I'm attempting : MATCH(CONCAT(A1,"-"B1),Sheet2!$3:$3,0)

Airic
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
CONCAT is incredibly useful for concatenating a large number of strings.

For just two cells and a hyphen, I'd use the ampersand instead.

Code:
=MATCH(A1&"-"&B1,Sheet2!$3:$3,0)
 
Upvote 0
Thank you kweaver + Oaktree.

I landed on the following formula, but will give the ampersand an attempt as well :
[TABLE="width: 101"]
<tbody>[TR]
[TD="class: xl64, width: 101"]=INDEX($D$8:$H$9,MATCH($D$13,$C$8:$C$9,0),MATCH(CONCATENATE($D$14,"-",$C$15),$D$8:$H$8,0))

[/TD]
[/TR]
</tbody>[/TABLE]
I was beginning to doubt this would work, but I believe it had more to do with the lookup_arrays I was using than the actual CONCAT.

Thank you once again!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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