Hours and minutes to days and minutes

Sambrowne

New Member
Joined
Sep 13, 2016
Messages
46
Office Version
  1. 365
Platform
  1. MacOS
Hopefully nice and straightforward although I've scoured the web and can't seem to find the answer I want. I have a spreadsheet with outstanding leave time in hours and minutes that I want to convert to days and hours/minutes where 8 hours is one day. So for D2 I'd like it to read 10 days 2 hours, D3 8 days 30 mins, D4 2 days 7 hours and so on (ignore the minus value in D5).

Screenshot 2021-01-04 at 22.13.59.png


Thanks in advance!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Cheers, for some reason it's not working for me but i think it could be to do with the number format in hours/minutes. So when I put your formula in:

=INT(LEFT(C2,2)/8)&" DAYS "&LEFT(C2,2)-(INT(LEFT(C2,2)/8)*8)&" HRS "&RIGHT(C2,2)&" MINS"

I get this:

Screenshot 2021-01-05 at 09.30.22.png


When I click in C2 I get this in the formula bar:

Screenshot 2021-01-05 at 09.32.00.png


Checking the formatting shows that the hours are:

Screenshot 2021-01-05 at 09.33.45.png


I'm guessing I would need to change the formatting to get your formula to work? Thanks again.
 
Upvote 0
Upvote 0
Solution

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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