Match Array Formula

brkkrkmz112

New Member
Joined
Oct 24, 2016
Messages
43
Hi everybody,


Today I noticed that something and I really wondered the reason of it.

Normally when I use Match formula for the match type generally I am just selecting exact match from the popup and never seen any problem. Today I was trying to find first blank cell in a range so wrote this array formula " {=+MATCH(TRUE;ISBLANK(Q6:AC6))} "


It is not working when ı just select exact match from pop up and ctrl+shift enter. But when I manually put zero to match type its working.

Could you explain the reason of it.Thanks in advance.
 

Some videos you may like

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,350
This seems to work

=MATCH(1,IF(LEN(A1:F1)=0,A1:F1))
Array formula, use Ctrl-Shift-Enter
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,249
Office Version
  1. 365
Platform
  1. Windows
You are trying to find the exact match of TRUE within a array of TRUE/FALSE results based on the ISBLANK test so you need the exact match.
 

brkkrkmz112

New Member
Joined
Oct 24, 2016
Messages
43
Yes but what I could not understand is that what is the difference between manually putting zero and selecting zero from pop up window. Why one of them is working, other is not.
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,249
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Cant say as i understand what you mean. Your formula above doesnt include a zero so defaults to 1 so produces an incorrect result.
 

XOR LX

Well-known Member
Joined
Jul 2, 2012
Messages
4,517
You have to double-click your choice of parameter from the pop-up. Single-clicking won't suffice.

Regards
 

brkkrkmz112

New Member
Joined
Oct 24, 2016
Messages
43
What I understand is when you click the cell 0 should be seen in the formula bar. Otherwise, it is not working properly. As you said when you clicked once, 0 is not seen in the formula but it is working for non-array formulas. In my understanding it is happining by chance.

Thank you for your kind assistance.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,539
Messages
5,596,754
Members
414,097
Latest member
FaeFen

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
Top