Isblank function erroneous results

Trevarrick

New Member
Joined
Sep 1, 2009
Messages
10
Using data of unknown origin in Excel I found Isblank was giving a FALSE result on some apparently blank cells while giving a TRUE result on others.

Even if I used TRIM and CLEAN functions on the offending data and pasted the resulting values back the the original locations, the Isblank result was still FALSE. Also, the font colour was not set to white or transparent.

However, if I selected the cell with the 'invisible' data, clicked in the Formula Bar and pressed Enter without entering any new data, the problem disappeared for that cell. The problem also disappeared if I selected the problem 'blank' cell and pressed delete.

Can anyone explain this 'invisible data' and tell me how I can detect it using a function or formula?
 
Has this data been copied from another source/system outside of Excel? I've seen this from time to time where I've copied/pasted from somewhere else. Can't actually explain why it occurs though :confused:
 
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Based on your result from CODE and LEN I'd have to say the cell is empty.

What format is the original data in?
Could it have been created with some other version of Excel?

Could you post the file? Or a section of it?
Thanks, Special-K99. I don't have the original data, just the Excel file as given to me. I'm not sure how to post the data but I will when I can!
 
Upvote 0
Seti, I checked your Ozgrid link and I think you're right. I think it's a null string, perhaps from Access. When I use the Excel 'Type' function on the 'blank' cell it returns '2' - a text string. This seems the most likely explanation. You'd think Excel would be able to flag up these problematic cells in some way, especially when they're probably coming from another Microsoft application!

Thanks for your help!
 
Upvote 0
Seti, I checked your Ozgrid link and I think you're right. I think it's a null string, perhaps from Access. When I use the Excel 'Type' function on the 'blank' cell it returns '2' - a text string. This seems the most likely explanation. You'd think Excel would be able to flag up these problematic cells in some way, especially when they're probably coming from another Microsoft application!

Thanks for your help!
Correction,

Thanks to Special-K99 for the Ozgrid link re. null strings from Access.
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

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