isblank and istext both return false

MadameExcel

New Member
Joined
Sep 30, 2019
Messages
4
Dear All!

I've encountered a curiousity. A SAP download contains description within cells J to O. Both formulas, isblank and istext return "false". My goal would be to detect empty cells for deletion. All cells are formated manually as text and no value is shown when entering the cell individually by mouse.
Does anyone have an explanation for this miracle?

Cheers!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
It sounds like you have special characters, probably a non-breaking space
Use the formula on a "blank" cell, what does it return?
=CODE(A1)
 
Upvote 0
hey Fluff!

It works in any cell as long as I only select one, but screws, when determening for a range of cells. :p
 
Upvote 0
If you point that formula at a single "blank" cell what does it return?
 
Upvote 0
MadameExcel,
=CODE(A1)
with the A1 changed to your cell reference will return a #Value error if the cell is blank or a number if it is not, it will not return TRUE.
 
Last edited:
Upvote 0
SAP reports seem to have this problem
To "clean" the range of cells, try doing this

Use the Find and Replace box. Click in the Find box, hold Alt key and type 0160 on the number keypad then release Alt; leave the Replace box blank, and hit Replace All.
 
Upvote 0

Forum statistics

Threads
1,213,482
Messages
6,113,908
Members
448,532
Latest member
9Kimo3

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