Leave a CELL blank

AXILLIAN

New Member
Joined
Oct 5, 2022
Messages
4
Office Version
  1. 365
Hi all.
OK, so I will try and explain this:

I have a spread sheet for auto working out, Percentage, Then PASS & FAIL. I would like the PASS and FAIL cell to stay blank if nothing is put into the SCORE cell. (Score cell is a drop-down option)

So, when from the SCORE drop down is entered, It auto fills the percentage cell, which then auto enters the PASS or FAIL cell.

This is what I have been advised to use: =IF([@SCORE]>25,"PASS",IF([@SCORE]<25,"FAIL",IFBLANK([@SCORE],””)))

But this does not leave the Pass or Fail cell empty if nothing has been selected in the Score cell!!!

Does this make sense to anyone?

Any help would be greatly apricated. :)
 

Attachments

  • Screenshot 2022-10-05 131823.png
    Screenshot 2022-10-05 131823.png
    44.2 KB · Views: 9
@AXILLIAN: Welcome to the board!

The post you sent and marked as the solution is a version of the previously provided two functions at post #2 and #3, except it is failing for the score 25 value as explained above. Therefore, to help future readers, I marked post #2 as the solution post since it covers all scenarios and could be easily adapted by using >= operator if the score value 25 is also considered as a PASS.
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,214,585
Messages
6,120,391
Members
448,957
Latest member
Hat4Life

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