Blank cells evaluates to greater than a number

dreid1011

Well-known Member
Joined
Jun 4, 2015
Messages
3,614
Office Version
  1. 365
Platform
  1. Windows
Good morning,

This is an odd one, and I am not putting it in the right words to find elsewhere.

I am working on a sheet with numerous Index/Match and Nested IFs. All of these return "" with no manual data entered. The problem is that some of the formulas are comparing the values in some cells to see if they are greater than a specific number, and while blank "", the comparison is returning TRUE.

Ex:

J5 contains some nested Index/Match's in an IF, and by default, returns "".

J4 has an IF with the comparison J5>100. This is returning TRUE while J5 is "".

=ISNUMBER(J5) returns false.

What am I missing here?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Numbers are considered "smaller" than text.
Try this example:
• Put the series 48 through 90 in cell A1:A43 on a blank sheet
• Put this formula in B1 and copy it down:
=CHAR(A1)

Number are "less than" text.

If you want your test to work properly, you might try something like this:'
=N(J5)>100

The N() function will convert the text-blank to a zero.

Is that something you can work with?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,594
Members
452,655
Latest member
goranzoric

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