How to add 1 hour, 1/2 hour , 20 mins in excel - excel

How to add custom values like time which is entered in hour and mins in excel.
Please refer the image.
For example,
1 hour
20 mins
30 mins
Total-1 hour 50 mins

Related

Excel duration graphing in minutes and seconds only

I am trying to graph time duration data in Excel using only minutes and seconds but some of my data is over 60 minutes, i.e. 71 minutes and 32 seconds, but Excel formats this data point to 1 hour 11 minutes and 32 seconds. I want to keep it in the format of 71 minutes and 32 seconds. Does anyone know how to do this?
Try setting your Number Formatting to [mm]:ss;#? (Or to [m]" minutes and "s" seconds";# if you want the full text blurb)

Deduct from total pool of hours and minutes in Excel

I am trying to have a cell which has a given number of hours and minutes allocated and then add events which deduct from that time and show the total hours and minutes left. For example if I had 240 hours & 40 minutes and took 40 minute appointment and another 36 minute appointment I should be left with 239 hours and 24 minutes. But I am doing something wrong with my excel formula, is there another better way of doing this?
Try something like this
=E3-SUM(E4:E11)
You also need to list your times as hh:mm:ss
E4 should be 00:40:00, E5 should be 00:36:00. They way you have them, it looks
like 40 seconds and 36 seconds (depending on formatting)
Also note that working with days you must multiply by 24 and hours multiply by 60

Excel: Converting a duration (hours, minutes, seconds) to increments of 6 minutes

I have a spreadsheet column with durations of hours, minutes, and seconds. For example, 0:01:00 is 1 minute. 1:06:28 is 1 hour, 6 minutes, and 28 seconds.
I'm trying to convert this data into increments of 10% of an hour (6 minutes). So, 0:00:01 (a second) would be converted to 0.1. 0:06:00 (6 minutes) would also be 0.1. 1:12:01 (1 hour, 12 minutes and 1 second) would be 1.3.
Any ideas on how to handle this in Excel (or Google Sheets)? Thanks very much.
The formula is:
=ROUNDUP(A1*24, 1)
Intervals (time) in Excel are stored as fractions of a 24 hour day, so converting the day fraction to an hour fraction just means multiplying by 24.
=ROUNDUP(A1*24, 1) won't work in OpenOffice Calc nor in some configurations of Google Sheets and Excel, but
=ROUNDUP(A1*24;1)
will (in OpenOffice Calc and some configurations of Google Sheets and Excel).

Subtract time from duration only if above specified amount

Working on a timesheet (duplicate of sheet 1 in link).
The current function to handle the calculations is:
B4=6:00am
C4=6:00pm
X4=0:30:00
=IF(OR(B4="",C4=""),"",IFERROR(C4-B4-X4,""))
The thing is we don't subtract 30 minutes for lunch unless an employee works longer than 6 hours and 15 minutes.
How can I fix my function to only subtract 30 mins for lunch if the total time for that day is over 6 hours and 15 mins?
Provided there is no risk of times spanning midnight, please try:
=IF(OR(B4="",C4=""),"",IF(C4-B4>6.25/24,C4-B4-X4,C4-B4))

Cron job syntax debian

33 */27 * * * python /root/get_top.py
Would the above snippet run every 27 hours and 33 minutes, or every 27 hours starting at 33 minutes past the hour?
If this doesn't make it run every 27 hours and 33 minutes, what is the proper syntax for that?
It doesn't run, because cron supports these ranges:
minutes: 0-59
hours: 0-23
days of month: 1-31
months: 1-12 or Jan-Dec
days of week: 0-6 or Sun-Sat
27 for hours is not supported. Anyhow it doesn't exist the 27th hour in a 24-hours day.
The first field is minutes, so would run at 33 minutes past the hour.
But the next field is the hour field and it is set to run every 27th hour of the day, or in other words, never.
you misunderstand the /, it would mean when the number is dividable by that number, for example */2 would mean every 2 mins because every 2 mins the number is even and is able to be divided by 2.
When you want to create something specific you need to add it manually comma separated, like for example
33 27,54 * * * python /root/get_top.py

Resources