Coversion for Months within a year

carabale

Board Regular
Joined
Apr 29, 2004
Messages
133
I need to create a conversion chart for Months within a year. Example: User type in cell A2 ".1" and cell B2 displays "1 mo, 7 days." Any suggestions?

I tried dateif but for that I need two actual dates to compare. In the example above the user enter a decimal number.

Thanks in advance.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

carabale

Board Regular
Joined
Apr 29, 2004
Messages
133
This almost works. The problem is the rounding particularly the months. Example: .30 should be equal to 3 mo 20 days, but because of the rounding, I get 4 mo 20 days. Any ideas?
 

carabale

Board Regular
Joined
Apr 29, 2004
Messages
133
I used ROUNDDOWN on the first portion of the formula and got what I wanted. Thanks a lot ken2step.
 

Forum statistics

Threads
1,181,993
Messages
5,933,151
Members
436,881
Latest member
CMScons

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
Top