Excel duration graphing in minutes and seconds only - excel

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)

Related

How to add 1 hour, 1/2 hour , 20 mins in 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

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).

Calculating Cost Based On 15 Minute Increments In Excel

This one's confusing, I have a user who has requested an excel sheet that allows them to enter a time in minutes into cell A1 that will calculate a value to charge another company in cell C1. However the charging criteria is as follows:
£355.68 for the first hour,
£88.92 for every 15 minutes after that
AND if during one of those 15 minute increments the time goes over 7 minutes, it gets rounded up to a full 15 minutes or down if it's under 7 minutes. I have literally no idea where to even begin on this one.
Assuming the value in A1 is simply a number of minutes and the charge is £355.68 for any time between 1 and 60 minutes, I think the following should work:
=355.68+IF(A1>60,88.92*(FLOOR((A1-60)/15,1)+IF(A1-60-15*FLOOR((A1-60)/15,1)>7,1,0)),0)
Explanation:
We start with the base cost of £355.68. The use of FLOOR((A1-60)/15,1) gives us the number of completed 15 minute intervals we have after the first hour. We initially multiply this by £88.92, and then we check how many minutes are left over once we take into account the first hour and any completed 15 minute period - A1-60-15*FLOOR((A1-60)/15,1). If this is greater than 7, we add an extra £88.92 for the "partial completion".
To round to the "closest" 15 minute interval, where the "split" occurs at 7 minutes, and you are entering your time as "Excel Minutes" (e.g. the difference between a starting and ending time in minutes, or entered as, for example 00:42, just add a bit less than 30 seconds to the time (e.g. 29 seconds), and then round to the nearest 15 minutes.
e.g: (one of the below)
=MROUND(A1+TIME(0,0,29),TIME(0,15,0))
=MROUND(A1+29/86400,15/1440)
or, using ROUND
=ROUND((A1+TIME(0,0,29))/TIME(0,15,0),0)*TIME(0,15,0)
=ROUND((A1+29/86400)/15*1440,0)*15/1440
You should be able to work out the rest. If you can't, post what you have tried and where you are running into problems.

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))

Resources