hide $ sign when formula is zero

bobalee01

New Member
Joined
Nov 19, 2022
Messages
3
Office Version
  1. 2016
Platform
  1. MacOS
Hi! I'm using Mac OS 16.16.
I'm working on a spread sheet with formulas and when the fields the formula link to are blank I want the formula field to be empty, No Dollar signs shown. Not every line will have values in them. If their is a zero in the field I would like those not to show a dollar sign too but I can not find a way to hide zero either. Any help is greatly appreciated.
thanks
Screen Shot 2022-11-19 at 3.28.01 PM.png
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Welcome to the forum.

Use a custom number format. This is the appropriate code: $#,##0_);$(#,##0);""

The first section is for the positive number format, then a semi-colon to separate the sections, then the negative number format; then a semi-colon, then the zero number format. For you the zero number format will be left blank after the semi-colon or can be two quotes, meaning null-format.

Here is an interesting website where you can tinker with all the formats without having to drive around in that little dialog box in Excel.
 
Upvote 0
I'm not sure about a Mac, but the following Custom Number Format in a Windows/365 environment does work. Worth a try?

$* #,##0.00;$* (#,##0.00);""

Book1
ABC
1$ 100.00$ 59.00$ 41.00
2 
3 
4 $ 3.00$ (3.00)
5 
6  
Sheet1
Cell Formulas
RangeFormula
A2:A6A2=1-1
C6C6=5-5
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,617
Members
449,039
Latest member
Mbone Mathonsi

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