Ignoring blank cells in a formula

nathp

New Member
Joined
Apr 25, 2023
Messages
20
Office Version
  1. 365
Platform
  1. Windows
Hi All

I have 2 columns in excel with percentage values in each. I have this formula used to return the specified text if either cell is greater than 85%.

=IF(OR(K47>85%,L47>85%),"Urgent (S2)","")

It is working correctly for cells with values in.

My problem is that if the cell is blank it appears to return the text.

Is there a way for this formula to ignore the blank cells?

This one column / formula is part of many others in the sheet so hoping the change can be made in this one formula.

Many thanks
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
How about
Excel Formula:
=IF(OR(AND(K47<>"",L47<>""),K47>85%,L47>85%),"Urgent (S2)","")
 
Upvote 1
How about
Excel Formula:
=IF(OR(AND(K47<>"",L47<>""),K47>85%,L47>85%),"Urgent (S2)","")
Still seems to return the text. Not sure if it makes a difference but cells K and L47 (and those entire columns) are a result of another referenced cell.
 
Upvote 0
Maybe this?
Excel Formula:
=IF(AND(ISNUMBER(K47),ISNUMBER(L47),OR(B1>85%,C1>85%)),"Urgent (S2)","")
 
Upvote 1
Solution
So do you want a blank cell if either are blank?
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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