If Match Function

vishan

New Member
Joined
Mar 11, 2011
Messages
14
Hi,


I want a formula smiler below.

=IF(MATCH(B2,D2:D20,0),"MATCH","NOT MATCHED"

But when i use it, it gives false value with '#n/a' . pls help in this.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Try:
Code:
=IF(ISNUMBER(MATCH(B2,D2:D20,0)),"MATCH","NOT MATCHED")
 
Upvote 0
Great it's working, thanks,
can you pls tell me difference between ISERROR or ISNUMBER

bcoz when i use ISERROR, formula give reverse ans. as first Flase value then True value??
 
Upvote 0
ISERROR tests if the function results in an output that is an error or is not, e.g. ISERROR(1/0) is TRUE because you cannot divide a number by 0.

ISNUMBER tests the output of a function is numerical (or not) e.g. ISNUMBER(1+1) = TRUE because the answer to 1 + 1 is a numberical value.

MATCH always gives an output of a numerical value, IF it finds a valid match for the item you are searching.
 
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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