Excel Custom Decimal Number Format Trailing Dot [closed]
When I set custom number format #0.#### , it works fine with whole numbers 123 & 123.23 , but it is not working with decimal numbers like 123.00 , as it is displaying this as 123. How can one set a correct number format so as not to display the . at the end? You can use conditional formatting to do this, in Excel 2007 and later, I believe. Format the cells with your custom format of #0.#### as you've already done. Then add custom formatting to use the General Format if the cell value has no decimal portion. In the Condtional Formatting dialog add a formula-based format. In the "Format values