shortcut for the accounting format

Jadegirl

Board Regular
Joined
Apr 20, 2011
Messages
65
Does anyone know the shortcut for the accounting number less the dollar sign and decimal placings? The only one ctrl+shift+4 will put $1033.00, but i would like to have 1,033 in accounting format with the comma placing. The reason is that when I have a zero, a - will be inserted instead of a 0. It looks cleaner. Also when I use link cells to another page, it will display a - if nothing is in the cell. This can be when I link a cell w/ words.

Appreciate any input!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Look at recording a MACRO to set the format and you can then apply your own shortcut key.

The following code sample is a recorded macro to apply the format to any cell. I seelcted a cell before recording, then used Ctrl + 1 to get to Format Cells then selected Number and no Decimals. Then stopped recroding.

Sub Macro1()
'Recorded macro and used Ctrl + Shift + E as capital letter
'
Selection.NumberFormat = "#,##0_ ;[Red]-#,##0 "
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,834
Members
452,947
Latest member
Gerry_F

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