Match function without a look up value

myespooir

Board Regular
Joined
Jul 24, 2015
Messages
52
Hi there,

I am trying to understand the formula here. The function of the formula is to look up unique values from a column. The match function here has no look up value. Could anyone explain it a little to me? Does there have sth to do with the fact that it is an array formula?

={IF($D$12="","",IF($D$12="Class",OFFSET('Sheet1'!$A$1,MATCH(,COUNTIF(C$16:C16,'Sheet1'!$K$7:$K$2000),),)&"",OFFSET('Sheet1'!$B$1,MATCH(,COUNTIF(C$16:C16,''Sheet1'!$L$7:$L$2000),),)&""))}

Thanks a lot!
Myespooir
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to Mr Excel

It's not a good practice omit arguments! When the argument is omitted Excel assumes as being equal to 0 (zero)

So,in fact, the formula is
...OFFSET('Sheet1'!$A$1,MATCH(0,COUNTIF(C$16:C16,'Sheet1'!$K$7:$K$2000),0),0)...


M.
 
Upvote 0
Hi M,

Thanks a lot for the reply. I would like to ask a follow up question.
In the formula, if the look up value is 0, does it mean that the match formula looks up for 0s in the data?

Thanks,
Myespooir
 
Upvote 0

Forum statistics

Threads
1,215,503
Messages
6,125,179
Members
449,212
Latest member
kenmaldonado

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