Nested IF with COUNTBLANK

Duckface49

New Member
Joined
Jun 26, 2018
Messages
9
=IF(COUNTBLANK(D4:G4=0),(IF(COUNTBLANK(H4:K4=0),(IF(COUNTBLANK(L4:O4=0),"Distinction","Merit","Pass","Not Passed")))))

If certain cells aren't blank then the formula should check if the next set aren't blank and then finally check the last set. If all 3 aren't blank then return Distinction, if not then Merit and so on

Obviously I've messed up, but am struggling to see where

Please help!

Thanks
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I don't quite sure your logic, but your formula should be like this:
Code:
=IF(COUNTBLANK(D4:G40)=0,IF(COUNTBLANK(H4:K4)=0,IF(COUNTBLANK(L4:O4)=0,"Merit","Distinction"),"Pass"),"Not Passed")

Change the sequence of Merit, distinction, pass, not passed as appropriate.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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