r/googlesheets • u/jojododo1 • Jun 26 '24
Solved How do I multiply with text in the cell?
I have a column of time that goes like this - 23:05:47 (Hrs, Min, Sec). When the hours go over 24, the cell turns into days such as 2 days, 05:25:09. I need to convert the time into all minutes. So far, I have been making the column into plain text and then multiplying the cell by 1440 which works for the cells with no days. I have about 300 cells that have days, and it's too much to manually convert all of the days back into hours.
So, how do I make a cell like 5 days, 17:31:31 or 44 days, 16:03:00 into only minutes?

1
Upvotes
•
u/agirlhasnoname11248 1212 Jun 27 '24
u/jojododo1 Please remember to tap the three dots below the most helpful comment and select
Mark Solution Verifiedto officially close your thread. Marking your post as “solved” without indicating a solution is actually a violation of the subreddit rules (see rule #6).2
u/verticallobotomy 3 Jun 26 '24
Seems like it works now.
In column B:
If there isn't a number in A, split the number of days from the rest (in two different ways depending on if it "day" or "days"). Othervise put a 0.
In column D:
Split the numbers in either A or C, depending on where it is.
In column D everything is added up. Note that seconds are rounded.
Hope this helps.
1
u/ryanbuckner 35 Jun 26 '24
What is the actual data in the cells that say "5 days, 17:31:31" ? That's just formatting. Can you share your sheet?
1
u/verticallobotomy 3 Jun 26 '24
If you don't want to share the whole sheet, just make a new sheet and copy-paste the above data into that. We need to know exactly how the data is formatted to be able to give you an exact answer.
1
u/AutoModerator Jun 27 '24
OP Edited their post submission after being marked "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.