custom format cells boolean

artoo

New Member
Joined
Jan 13, 2011
Messages
23
Hi,

How do you customize the display of a cell so

✓ -- is shown when the value is equal to 1
x -- is shown when the value is equal to 0
~ -- is shown when the cell is blank or anyother value is entered
 
Last edited:

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
=UNICHAR(10003) is the ✓.
=UNICHAR(10005) is an ✕ that works well in Calibri and Arial with the checkmark.
=UNICHAR(8764) is a tilde, ∼, that also seems to work well.

Custom number format: [=1]"✓";"∼";"✕";"∼"
 
  • Like
Reactions: shg
Upvote 0
This might be better: [=1]"✓";[=0]"✕";"∼";"∼"

I cannot eliminate the minus sign with negative numbers. They display as a negative tilde, '-∼'.
 
Upvote 0
A cell format can only format cell contents. It will never do anything for a blank cell.
 
Upvote 0
I can think of no way to make an empty, truly blank cell display a symbol. I assumed "blank" meant a cell containing an empty string.
 
Upvote 0

Forum statistics

Threads
1,216,747
Messages
6,132,483
Members
449,729
Latest member
davelevnt

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