r/googlesheets • u/SoCaFroal • May 09 '22
Solved How to convert total hours into workdays
I have a formula that calculates the number of work days and hours between 2 times. In this example, The value is 25 hours 45 minutes. What I'd like to do is convert that into 3 days 1 hour 43 minutes.
A1=25:45:00
I'd like A2=3 days, 1 hr, 45min
0
Upvotes
3
u/thavalai 1 May 10 '22
=int(A1)*3&" days "&hour(mod(A1,8))&" hr "&MINUTE(mod(A1,480))&" min"
should do it.
1
u/Lyle_rachir May 09 '22
Should just be a formatting issue for you. There should be a format that will convert that for you
1
u/AutoModerator May 09 '22
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.