ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   want blank - not #N/A (https://www.excelbanter.com/excel-worksheet-functions/34462-want-blank-not-n.html)

sunflower

want blank - not #N/A
 
Newbie needs Help Please

I have the following formula
=MATCH(D12,'Holiday Date'!$A$1:$A$8,0)

which works if there is a match,
When there is not a match, I get #N/A
I would like the cell to be blank when no match is found

any help much appreciated


RagDyeR

Try this:

=IF(ISNA(MATCH(D12,'Holiday Date'!$A$1:$A$8,0)),"",MATCH(D12,'Holiday
Date'!$A$1:$A$8,0))
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"sunflower" wrote in message
...
Newbie needs Help Please

I have the following formula
=MATCH(D12,'Holiday Date'!$A$1:$A$8,0)

which works if there is a match,
When there is not a match, I get #N/A
I would like the cell to be blank when no match is found

any help much appreciated



Anne Troy

=IF(ISNA(MATCH(D12,'Holiday Date'!$A$1:$A$8,0),"",MATCH(D12,'Holiday
Date'!$A$1:$A$8,0))
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"sunflower" wrote in message
...
Newbie needs Help Please

I have the following formula
=MATCH(D12,'Holiday Date'!$A$1:$A$8,0)

which works if there is a match,
When there is not a match, I get #N/A
I would like the cell to be blank when no match is found

any help much appreciated




sunflower

THANK YOU
Works like a charm!



Anne Troy wrote:

=IF(ISNA(MATCH(D12,'Holiday Date'!$A$1:$A$8,0),"",MATCH(D12,'Holiday
Date'!$A$1:$A$8,0))
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"sunflower" wrote in message
...

Newbie needs Help Please

I have the following formula
=MATCH(D12,'Holiday Date'!$A$1:$A$8,0)

which works if there is a match,
When there is not a match, I get #N/A
I would like the cell to be blank when no match is found

any help much appreciated







All times are GMT +1. The time now is 06:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com