IF statement returns a result if cells are blank. How can I remove that?

mcintoshmc

Active Member
Joined
Aug 10, 2007
Messages
277
This formula works, but if all cells are blank, it will show as completed because they are indeed equal to each other. How can I return a blank result, if all cells are blank?

=IF((AND($T17=$U17,$V17=$W17,$X17=$Y17)),"Completed","Not Yet")
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
okay, I came up with this, but still not quite working

IF(ISBLANK($L17),"",IF((AND($T17=$U17,$V17=$W17,$X17=$Y17)),"Completed","Not Yet"))
 
Upvote 0
Maybe
=IF($T17&$U17&$V17&$W17&$X17&$Y17="","",IF(AND($T17=$U17,$V17=$W17,$X17=$Y17),"Completed","Not Yet"))
 
Upvote 0

Forum statistics

Threads
1,225,750
Messages
6,186,805
Members
453,373
Latest member
Ereha

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