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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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,826
Messages
6,121,792
Members
449,048
Latest member
greyangel23

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