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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
=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,224,748
Messages
6,180,721
Members
452,995
Latest member
isldboy

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