As duration of a task, suppose that we have a column with cells formatted as MM:SS
that would like to convert to seconds. Mathematically speaking, the solution is simple. We just need to compute MM * 60 SS
converting it to seconds. Additionally, we followed
CodePudding user response:
All values are stored as days. 1 is one day. So the direct way to get seconds is just multiply by 24 hours/day, 60 minutes/hour and 60 seconds/minute. For eg, for 1 minute:
="0:1:0"*24*60*60
The underlying format is always HH:MM:SS
. For MM:SS
, reduce the factor by 60:
="01:01"*24*60
Note: This works because 1 hour in minutes is equal to 1 minute in seconds. But 01:01
by default, is considered 1 hour and 1 minutes by Google.