Determine cell contents

Bidwin

New Member
Joined
Apr 21, 2002
Messages
49
The following function works for non-blank cells and for some (apparently) blank cells, but not for other (apparently) blank cells:
=IF(ISBLANK(B2),B1,B2).

In the latter cases it returns a 0 (zero). How can I determine the binary or hex contents of a cell to see what's really there? I'm stumped.

Thanks,
Bidwin
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Use the CODE function. Also, I find the LEN function useful as the first step in the diagnostics.
 
Upvote 0
An easy way to determine the characters in a cell is to use Chip Pearson’s “Cell View” add-in. The add-in allows you to see the exact characters in a cell (including non-printable characters), as well as hex codes.
http://www.cpearson.com/excel/CellView.htm

After you install the add-in, it will add an item called "View Cell Contents" to your View menu. Select a cell then click the menu item to display a dialog box that shows the cell’s contents, together with the character codes.

Regards,

Mike
 
Upvote 0
ISBLANK returns TRUE for empty cells only. If your cells contain the null text string, "", and you want to treat it as blank consider using COUNTBLANK. See my example below...
Book1
ABCDE
1 FALSETRUE
2TRUETRUE
3
4
5
6
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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