Hide zero in Accounting format cell

SaraWitch

Active Member
Joined
Sep 29, 2015
Messages
322
Office Version
  1. 365
Platform
  1. Windows
Hi peeps,

To hide zeros, I normally put ;; at the end in the Format Cells Custom section. However, this doesn't seem to work for the Accounting choice (have to use Currency) and was just wondering if anyone knew a workaround? I also thought about conditionally formatting the relevant column, but it's in a table with different coloured rows...

Ta muchly! :giggle:
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Thank you, @ISY, but that gives me the Currency format and I would like the Accounting format, if possible (I'm using GBP (£)), but can't find a way to make it work that way... :unsure:
 
Upvote 0
With accounting format you should not get zeros, it should be -
 
Upvote 0
Apologies, I do get "-", but I wanted to hide this if there is no text in a previous cell and it won't accept ;; in the Format Cell Custom - I'm presuming it can't be done...?

I have a formula in the cell I want to format as Accounting but hide result if there is nothing in A1
Excel Formula:
=IF(A1="0",0,(A1/7)*B1)
.
 
Upvote 0
How about _-£* #,##0.00_-;-£* #,##0.00_-;;_-@_-
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,679
Messages
6,126,180
Members
449,296
Latest member
tinneytwin

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