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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,215,071
Messages
6,122,963
Members
449,094
Latest member
Anshu121

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