I'm trying to figure out how to format a group of cells where comma style is applied, but if the number is whole it has zero decimal places. I don't understand the excel code very well I don't know how to do this off the top of my head. I'm sure it's very easy, but any help is greatly appreciated!
Sorry if this seems like a silly question but todya is my first every macro experience!
I am tryimg to create a macro that coverts a string of numbers into a sum:
I.e. I want to turn
£7,296.25, £2,245.00, £1,122.50, £561.25
into
=7296.25+2,245.00+1122.50+561.25
So far I have added in thre...
HI
I would like to change the default format for when I push the comma style button on the ribbon. At the moment, it does two decimal places and negative numbers beginning with a dash.
I would like to reformat this so it does not give decimal places and the negative numbers appear in...
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.