Cells appears blank but aren't ???

rhombus4

Well-known Member
Joined
May 26, 2010
Messages
586
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Have some cells which both appear to be blank

When I do the following formulas I get different results
=ISBLANK(B12) True, =ISTEXT(B12), FALSE, =ISNUMBER(B12), FALSE
=ISBLANK(B13) FALSE, =ISTEXT(B13), True, =ISNUMBER(B13), FALSE

Also When I did a Replace and Find, (didn't enter anything in the Find field) it found both cells


I only found it when I did a pivot table and I got an empty space in the Row Labels field
PS the 11 below is actually in the Count Box and not in Row Labels as it apears

Row Labels
Count
11
Yes
250
No
83
Maybe
3
(blank)
20
Grand Total
367
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
try =CODE(B13)
you should see #VALUE!
if not there is any non-printable character probably
 
Upvote 0
ISBLANK FALSE seems to imply that it is NOT blank, right?

I like to use LEN, which checks the length of the entry in a cell.
Anything with a length greater than zero is not empty.

Then, you can use the ASCII table to find out exactly what it is, i.e. if the entry in cell A1 is length 1, then use this formula to return its ASCII code:
=CODE(A1)
and look it up on an ASCII table (Google ASCII table)
 
Upvote 0
tried LEN and everything is 0, all =Code returns value
Also when I highlight the cells the first 4 where isblankis False the COUNT at the bottom goes up by1 whereas when it highlights the other 4 it stays at 4

Another Thing Initially they were sorted in Date Order, When I first sorted them by Name A-Z this is the order, and when I sorted by Z-A by name it stays as same order

Date
Name
ISBLANK
ISNUMBER
ISTEXT
CODE
LEN
01/03/2019
FALSE
FALSE
TRUE
#VALUE!
0
07/03/2019
FALSE
FALSE
TRUE
#VALUE!
0
13/03/2019
FALSE
FALSE
TRUE
#VALUE!
0
19/03/2019
FALSE
FALSE
TRUE
#VALUE!
0
04/03/2019
TRUE
FALSE
FALSE
#VALUE!
0
10/03/2019
TRUE
FALSE
FALSE
#VALUE!
0
16/03/2019
TRUE
FALSE
FALSE
#VALUE!
0
22/03/2019
TRUE
FALSE
FALSE
#VALUE!
0

 
Upvote 0
this is the pivot table for above
Row Labels
Count of Date
4
(blank)
4
Grand Total
8


 
Upvote 0
If you run this, do all the ISBLANK formulae return false?
VBA Code:
Sub rhombus()
   With Range("B2:B" & Range("A" & Rows.Count).End(xlUp).Row)
      .Value = .Value
   End With
End Sub
 
Upvote 0
maybe there is an empty string, =""
code = #value
len = 0
isblank = false
---
ribbon - home - (editing) Clear - clear all
 
Upvote 0
No, All ISBLANK are True, All ISNUMBER and ISTEXT are False
 
Upvote 0
maybe there is an empty string, =""
code = #value
len = 0
isblank = false
---
ribbon - home - (editing) Clear - clear all
definitely something there as when I deleted all the values or cleared all the values all isblank was True
 
Upvote 0
Oops, got it the wrong way round, ISBLANK should return TRUE for all.
It sounds as though you copy/pasted a range as values & some of the cells had a formula that returned ""
 
Upvote 0

Forum statistics

Threads
1,215,331
Messages
6,124,312
Members
449,152
Latest member
PressEscape

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