Forum Discussion
mkissel1
Jan 07, 2023Copper Contributor
How to associate a word with 0 hours
I am trying to make a work schedule. I am not good with Excel. I am using an excel sheet that allows me to calculate the total hours worked for each person for that week. The only issue I am having i...
Patrick2788
Jan 07, 2023Silver Contributor
One possible solution is to enter 0 in the cell and then use custom cell formatting to show it as "OFF". If the value is not 0 (or is text) it will be shown as normal. Custom formatting is 'window dressing' so even though the cell may display "OFF", calculations will see the 0.
Custom cell formatting code: [=0]"OFF";[<>0]General
For example,