Combining 2 ISNA formulas

MARKEGANDERSON

Active Member
Joined
Apr 7, 2007
Messages
267
Hello All - I am having issues combining the below:

=IF(ISNA(MATCH(H11,FIT,0)),"",IF(ISNA(MATCH(H7,PFT,0)),$W$1,""))

They work fine without the combination:

=IF(ISNA(MATCH(H7,PFT,0)),"",$W$1)

=IF(ISNA(MATCH(H11,FIT,0)),"",$W$1)

How can i combine both?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
How about
Excel Formula:
=IF(AND(ISNA(MATCH(H11,FIT,0)),ISNA(MATCH(H7,pft,0))),"",$W$1)
 
Upvote 0
Or try:

Excel Formula:
=IF(COUNT(MATCH(H11,FIT,0),MATCH(H7,PFT,0)),$W$1,"")
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
Just to clarify, Fluff is using AND logic and both need to be NA to return "". Phuoc's version is the equivalent of changing the AND in Fluff's to an OR so only one needs to be NA to return "" (it also treats having H7 & H11 both blank differently)
 
Upvote 0

Forum statistics

Threads
1,225,637
Messages
6,186,135
Members
453,340
Latest member
Stu61

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