# Turn a decimal into month and day

#### Kraner

##### New Member
I have 9.17 (and a few other numbers) that would like to turn it into Sep. 5th (and their equivalents) automatically. I have a formula to get it to Sep, but not the day. Thanks!

### Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How does 17 = 5th?

Can you please explain the logic 9.17 being Sep 5th?

Pretty simple. .17*30 days in September = 5.1 ~ 5th.

I got 9.17 from the intersection of the two lines on my graph, trying to figure out when I will be finished with the 2100 miles I'm riding to raise money for cancer research.

Try

=DATE(YEAR(TODAY()),INT(A1),INT(MOD(A1,1)*30.5))

Sweet! Thanks Jonmo1!

You're welcome.

The 30.5 is just a rough average of the number of days in a month.
30.4375 might be closer, based on =(365*4+1)/4/12

And come to think of it, the INT parts aren't really needed.
=DATE(YEAR(TODAY()),A1,MOD(A1,1)*30.4375)

Replies
2
Views
174
Replies
8
Views
544
Replies
3
Views
86
Replies
2
Views
102
Replies
12
Views
512

1,203,137
Messages
6,053,711
Members
444,681
Latest member

### 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.

### Which adblocker are you using?

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

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