Is it Possible to write a Match Formula with a Defined Name Range?

squeakums

Well-known Member
Joined
May 15, 2007
Messages
823
Office Version
  1. 365
Was trying to write a match formula with a defined name range.
=MATCH("Satisfactory",Yellow, 0)

This gives an N/A error. Is it possible?

Thanks.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi,

Your match formula is correct ...

Just make sure ... your named range ' Yellow ' does include Satisfactory ...
and make sure the spelling of Satisfactory is identical to the one located within ' Yellow '

Hope this will help
 
Upvote 0
Yes, the "#N/A" error usually means it is not finding any matches.
Note that it needs to match exactly. Something as simple as an extra space on the end of "Satisfactory " will cause it NOT to match.
 
Upvote 0
Your named range needs to be a contiguous range, otherwise it won't work.
 
Upvote 0
I was trying to write it to find any that match to give the count. Some of the fields I my defined search are not satisfactory. So, it gives an #na error.
 
Upvote 0
Match does not give a count, it simply finds the first match.
 
Upvote 0
If you want a count, try:
Code:
[COLOR=#333333]=COUNTIF(Yellow,"Satisfactory")[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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