Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

miamialley

macrumors 68040
Original poster
The formula for cells in column M is =IF(LS>K2, "Noncompliant","Compliant")

This populates a "Compliant" in all cells in the column, if L2 is blank. If L2 is blank, I want the formula to not compute and I want the cell in column M to just be blank. Make sense? I have viewed countless videos and nothing works. How can I achieve this?
 

Attachments

  • Screen Shot 2020-04-23 at 8.24.58 AM.png
    Screen Shot 2020-04-23 at 8.24.58 AM.png
    190.5 KB · Views: 337
Last edited:
You just need a nestled IF/ELSE type construct:


=IF(ISBLANK(L2), "", IF(L2>K2, "Noncompliant","Compliant"))


Read as: If L2 is blank, then this cell is set to "" (empty), else if L2 > K2, then set it to "Noncompliant", else it to "Compliant"

🙂
 
You just need a nestled IF/ELSE type construct:


=IF(ISBLANK(L2), "", IF(L2>K2, "Noncompliant","Compliant"))


Read as: If L2 is blank, then this cell is set to "" (empty), else if L2 > K2, then set it to "Noncompliant", else it to "Compliant"

🙂

Wow. Do you know how many times I tried that...multiple IFS and the IF(ISBLANK)? I kept getting prompted that I had too many functions or something. I put it in the way you wrote it and it works perfectly! Thanks so much.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.