Format ratios in order for colon to align in column. Whole numbers need a decimal followed by two zeroes to accomplish.

modernmind

New Member
Joined
Aug 28, 2020
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
Here is my formula: =IF(C45="","",(M45/M45)&":"&ROUND(AB45/M45, 2))
This will round the result to two decimal places but does not add a decimal and two zeroes which would allow
all ratios to line up in the column. Attached is an image of the column.
Tried formatting all sorts of ways but that was not successful. Appreciate help.
 

Attachments

  • Screen Shot 2020-08-28 at 2.11.37 PM.png
    Screen Shot 2020-08-28 at 2.11.37 PM.png
    26.8 KB · Views: 2

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Much obliged! Excel decided it wanted to move one of the parentheses and it works great.

=IF(C45="","",(M45/M45)&":"&TEXT(ROUND(AB45/M45,2),"00.00"))
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,314
Members
449,081
Latest member
tanurai

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