Sign in to join the conversation:
I am having my team track their time. I have a column for a start time and end time. Right now I am using military time )0 to 24 but I would like to know if there is a way to use normal time so my team can use 1pm to 3pm.
Hi Rick,
Yes, it is!
I'll get back to you when I find the post.
Look here: https://community.smartsheet.com/discussion/calculate-time-between-two-dates-days-hours-and-minutes
Hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
Is there a possibility of overlapping midnight such as 8pm - 4am? Will you need to track multiple days such as 1/1/19 (time) - 2/2/19 (time)?
The single task of converting 12 hour to 24 hour is actually pretty straight forward.
You would pull the hours portion of the time using this:
=VALUE(LEFT([Time Column]@row, FIND(":", [Time Column]@row) - 1))
and use a basic IF statement to add 12 to the hours if it find a "p" in the time something along the lines of:
=IF(FIND("p", LOWER([Time Column]@row)) > 0, 12, 0) + VALUE(LEFT([Time Column]@row, FIND(":", [Time Column]@row) - 1))
.
Now that you have converted the hours to a 24 hour clock, you can use that times 60 to convert it into minutes and add the minutes from the [Time Column].
Do this to both the Start Time and Finish Time. Once you subtract Start from Finish, you'll have the total minutes that the task took.
You can then use something along the lines of this to determine how many hours that was:
=[Difference in Minutes]@row / 60
This will give you the result of (for example) 6.5 for six and a half hours. If you would rather six and a half hours displayed as 6:30, it will take just a couple of different/extra steps.
=INT([Difference in Minutes]@row / 60)
gives you the hours.
=[Difference in Minutes]@ row - (INT([Difference in Minutes]@row / 60) * 60)
will give you the minutes.
=INT([Difference in Minutes]@row / 60) + ":" + [Difference in Minutes]@ row - (INT([Difference in Minutes]@row / 60) * 60)
would give you the result of hh:mm
Hello- There's been a few question/discussions on this topic, but they are a but they are older posts. I'm trying to record the email/name and date when travel requests are approved. I'm capturing the approved date with a Record Date Automation, so that it easy, but the approved by field is getting messy. I'm currently…
Hello Smartsheet Community, Our company recently went through a domain/email change, and since then one of our team members has been unable to access her Smartsheet account because the previous email tied to the account is no longer accessible. We have attempted several times to update the account to the new email address,…
BLUF: Is there an end user-friendly way to pull a table with questions listed in the first column (static) into Smartsheet for collaboration? Business need: each product must be evaluated against a checklist to ensure compliance criteria are met across multiple categories. internal team completes the evaluation checklist…