Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default If formulas with #N/A

I need an if formula or similar which will look at the values in columns A
and B and bring back the results as shown. I can't seem to cover all
scenarios.

Thanks,

Esther
A B Result

1 X Y Check
2 X X X
3 #N/A #N/A Check
4 #N/A X X
5 Y #N/A Y

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default If formulas with #N/A

=IF(AND(ISNA(A1),ISNA(B1)),"Check",IF(ISNA(A1),B1, IF(ISNA(B1),A1,IF(A1=B1,A1
,"Check"))))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"EstherJ" wrote in message
...
I need an if formula or similar which will look at the values in columns A
and B and bring back the results as shown. I can't seem to cover all
scenarios.

Thanks,

Esther
A B Result

1 X Y Check
2 X X X
3 #N/A #N/A Check
4 #N/A X X
5 Y #N/A Y



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change column letters to correct ones in many formulas automatically? Dmitry Kopnichev Links and Linking in Excel 7 October 13th 05 09:52 PM
how can i get formulas in excel to copy and paste? bman Excel Worksheet Functions 1 October 3rd 05 04:15 PM
How to make Excel run limited number of formulas on a given worksh John Excel Discussion (Misc queries) 0 January 12th 05 04:29 PM
Way to make Excel only run certain formulas on a worksheet? jrusso Excel Discussion (Misc queries) 0 January 12th 05 04:23 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 03:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"