The tutorial explains different ways to calculate times in Excel and demonstrates several methods of adding times and calculating time difference. You will learn a few useful formulas to sum times and add hours, minutes or seconds to a given time. Continue reading
Comments page 8. Total comments: 1023
How to convert 2 days 19:30:18.530787 into total hours and minutes.
Hello!
To convert text to date and time, use the formula
=LEFT(A2,SEARCH(" ",A2)-1)+TIMEVALUE(MID(A2,SEARCH(" ",A2,6)+1,8))
Then set a custom time format [h]:mm to show times over 24 hours as described in this tutorial.
Hi I'm trying to calculate -minus break times, without the break time being displayed. So for example
if total hours is greater than 4:30-0:15=04:15
if total hours is greater than 6:00-0:20=05:40
If total hours is greater than 8:00-0:30=07:30
But all in the same Formula if that makes sense. Is this possible?
Hello!
If I understand your task correctly, use formula with nested IF function:
=IF(A2 > =TIME(8,0,0),A2-TIME(0,30,0),IF(A2 > =TIME(6,0,0),A2-TIME(0,20,0),IF(A2 > =TIME(4,30,0),A2-TIME(0,15,0),A2)))
I'm calculating time difference with dates using the formula:
=TIME(HOUR(A2), MINUTE(A2), SECOND(A2)) - TIME(HOUR(B2), MINUTE(B2), SECOND(B2))
The issue occurs when attempting to calculate the time elapsed in H:MM:SS for when it rolls into the next day, ie 12/01/2021 19:37 to 12/02/2021 03:40 .
Is there a better formula to use when for the example above or a way to convert the data of the 12/02/2021 03:40 and use the same formula?
Thank you
Hi!
This issue has already been discussed many times in our blog. For example, read this comment.
How to convert 13451 into Hours and minutes?
Hi!
You have not explained what your number means. I guess it's minutes. I recommend checking out this guide:
How to convert numbers to time format
To convert minutes to time format, divide by 60 and 24. Set the time format you need in the cell.
=A1/60/24
Hi, I am looking for what I believe is a simple solution, but, I think that I am just not "asking" google the right question LOL
Anyways, I have my time total figured out.
3:20 pm - 3:20 am - 12hours.
Now, I would like to take that 12 hours (say it is in cell u7) and have it show 8 hours in d7 (regular time), anything over 8 hours (up to 3 hours) to show in e7 (overtime). Then, anything over that 3 hours, to show in i7 (double time).
Thank you.
Hello!
If I understand your task correctly, the following formulas should work for you:
=IF(U7>TIME(8,0,0),TIME(8,0,0),U7)
=IF(U7>D7,IF(U7-D7>TIME(3,0,0),TIME(3,0,0),U7-D7),"")
Hope this is what you need.
I want remove 01/01/1900 12:52:52 AM
Please guide
Hi there! Thank you so much for this post!
I have a question. I've set up a sheet with the formula shown here =TEXT(D2-C2, "h:mm") where I calculate the amount of minutes/hours worked on specific tasks. I then wanted to add all of these together, but not sure how to go about it, as =SUM() of all of those =TEXT() doesn't work at all...
Could you point me in the right direction please?
Thank you!
Hi!
Subtract the original time data with something like this:
=SUM(D2:D9-C2:C9)
I hope it’ll be helpful.
It really works. Thank you very much
Hi,
How do you create a formula to add a time from a specific hour onwards. For example start time should be 7PM. data is 6:21PM, formula should start counting at 7PM onwards.
Hi!
The information you provided is not enough to understand your case and give you any advice, sorry. How much time do you want to add and what result do you want to get?
I am trying to use a simple formula that will auto sum total hours worked. Everything works fine as long as the cells that are being added include an increment of at least one hour. However, all of the fields that have an amount between :01 and :59 are being 'skipped over' in the formula. Please see my example below:
Day 1 Day 2 Day 3 Day 4 Day 5 Total Hours Worked
1:00 1:00 1:00 1:00 :05 4:00
As you can see, Day 5 was not included in the sum of the cell 'Total Hours Worked', and I can't see to figure out how to manipulate excel to include it.
Hello!
Only numerical values can be added.
:05 is text, not a number. Write down the time in the correct format and you will be fine.
Hi Team,
My start time is - 12:12:00 AM 23-Nov-21
My End time is - 10:46:00 PM 22-Nov-21
Query : how do i subtract this ( Start time - end time)?
Hi!
Please re-read the article above. It is impossible to find the difference. The start time must be less than the End time.
Hi , I need to substract the time log in time, log out time, lunch hours & if their is any kind other break downs for the machine. so i need total working hours.
Hello,
I am not sure what formula I have to use to create 3 cells. One which shows date and time now. 2nd is where I would enter employees time worked (for example 32 hours). 3rd cell would have to show the next date and time period the person goes on call.
Example: today is 10/8/2021 13:00. Employee has called and I see they worked 29 hours and 35 mins. I would need the 3rd cell to tell me the date and time that's going to be when I add 29:35.
Thanks in advance!
Hi!
In the third cell, just find the sum of the first two. Read about how to add time in different ways in the article above.
How do I get excel to choose from four cells, the one with the time in it, and then find the difference between it and a finish time
Hi. I am preparing attendance sheet in excel but daily basis I am adding labor intime (as one day present) and want total attendance days in the total of each employee.
Please guide how to do so?
Hello!
To calculate the sum of days for each employee, I recommend using the SUMIFS function.
Hi!
Time in Excel is written as a number. If you tell me what is written in the other three cells and how these three cells differ from the fourth, I will try to help you. Give an example.
I am wondering how to calculate the time of 23:09:54 of 7/9/2021 to 0:32:32 of 8/9/2021. How do I calculate the time difference/ time worked? What do I write in the excel sheet ? Do i need to add the dates ? Does it only work for 12- hour clock? What formula should I use?
Hi!
If your data is recorded as date and time, use subtraction. If the time is recorded separately and if the end time is longer than the start time, then you need to add 1 day to their difference
=IF(A1 > A2,A2-A1+1,A2-A1)
Hi, i have 10 employees who rotate day and night shift, i want to setup a formula that i dont have to manually calculate their times clocked in all the different areas - example:
EmployeeA clocks in on night shift at 18h00 at the main gate then clocks at 19h30 in at the offices, again clocks in at Lamproom at 20h00 he clocks out at Lamproom at 23h00 at office 24h45 and out at main gate at 02h00am (next morning). i need to calculate what his total shift was ie. 8hrs, shift underground (lamproom in and out), the differences between main gate and office 1h30 and office to lamproom - is there a way i can do this on excel? i tried Pivot but the pivot doesnt calculate the time worked it only sums/counts
Hello!
If the end time is longer than the start time, then you need to add 1 day to their difference
=IF(A1 > A2,A2-A1+1,A2-A1)
Calculate the amount of time differences.
=IF(A1 > A2,A2-A1+1,A2-A1)+IF(A3 > A4,A4-A3+1,A4-A3)+IF(A5 > A6,A6-A5+1,A6-A5)
Hi thank you for sharing this, I have a problem with my formula with hours that formulated using =MOD and the formate number is [h:mm]. Now the problem was whenever I multiplied the hours into $ pay rate, it is showing a wrong result. :(
Hi!
What formula are you using? Explain with your data.
Hi,
1)I have applied a mid function as =MID(H2,11,8) which is 08:11:08 and also add 4 hrs which is TIME(4,0,0).
But when I add the time the result becomes 12:12PM Because I am applying on the above formula.
How I ll get the result as 12:12:18 without showing AM/PM?
2) how can I convert 08.11.08 to 08:11:08?
Please help.
Hello!
Here is the article that may be helpful to you: How to change Excel date format and create custom formatting
The MID function is used to work with text, not dates.
Ok, I ll try with text.
What will be the formula for 2nd one? Please help
Hi!
To replace characters in text, use the SUBSTITUTE function:
=SUBSTITUTE(A1,".",":")
Is there a way to make the end result a decimal number? Here is what I am trying to do:
Time In Time Out Total Hours
8:30 AM 4:00 PM 7.5
When I follow the formula in the example above I just get 7 for the total hours.
Thank you.
Hi!
There are many formulas in this article. Which one are you using?
Formula 2. Calculating time difference with the TEXT function
I want to calculate the median and mean. Say I have column of 500k rows, which have the time difference between 2 timestamps written as "0 days, 0 hours, 27 minutes and 53 seconds". How do I calculate the median and mean of these?
Hi!
Your timestamp is recorded as text. Therefore, no mathematical operations with it are possible.
Is there a way to calculate the differences in time values between two columns easily?
As an example if I am trying to calculate quickly the difference in time values between:
column A : 16hrs30min (16.30) value
column B: 16hours40min (16.40) value
Column C (shows difference): -0.10min
I cannot seem to find a formula that will do this. I need to show a positive difference or a negative difference (e.g. -0.10, +0.10, +1.30,etc)
Do you know a formula I can use?
Thank you
Hello,
I need to substract the breaks from the gross working hours. I can't find the right formula.
Example : if working hours 3.5 to below 6 hours (3.5 hours to 5.9 hours) substract 30 min break time, if hours 6 to overs, substract 60 minutes.
Could you please hepl me for solve this?
Thank you
Hi!
See the answer in this comment.
Hi! Sorry to bother you. For your info, I've tried this formula many times, but it's not working with my time. If you could please do my formula again with my time, I will be grateful to you.
Thank you.
Hello,
How to create formula that calculate time in a single cell? For example Cell A1 (4:30pm - 7:30pm) Cell A2 ( 3 hours). Please advice.
Thanks
Hello!
Please check the formula below, it should work for you:
=(MID(A1,SEARCH("–",A1,1)+2,LEN(A1)-SEARCH("–",A1,1)-3)&" "&RIGHT(A1,2))-(LEFT(A1,SEARCH("–",A1,1)-4)&" "&MID(A1,SEARCH("–",A1,1)-3,2))
dear alex,
thanks for the formula, but i still couldn't get it. possible to assist me in more detail for the formula above?
Thanks.
Hi!
Use the General format in a cell with a formula to see all digits in a number. Use the time format to see 03:00:00 instead of 0.125
with the formula you given, the answer i get at cell A2 was 0.13 instead of 3.
Hello,
I need to substract the breaks from the gross working hours. I just can't find the right formula even after reading so many comments.
The conditions are: if working hours >=9 substract 30 min break time, if hours are between 9 and 10, substract 45 min break time, if hours over 10, substract 60 minutes.
Could you please give me advice for this?
Thank you
Hello!
The formula below will do the trick for you
=IF(HOUR(A1)>=10,A1-60/1440,IF(HOUR(A1)>=9,A1-45/1440, A1-30/1440))
01-Jul-21 22:00 02-Jul-21 06:00
how we can get working hours in this condition
I am a swim coach and am trying to do an excel sheet where I take a swimmer's best time when they arrive and find the difference when they are done (did they drop time). I have an excel sheet pretty much done and it works well when the time is within the same minute (1:57.56 to 1:55.46 = -:2.10) I use #":"##"."00 as my cell formula. The issue come when I have a time in 2 different minutes (2:01.91 to 1:57.41) this should equal -:4.50 but I get -:44.50. Do you have guidance for me? Thank you in advance
Hello!
I used the format mm:ss.00 and got the result 00:04.50
I could not use your format.
Thank you. My formula lets me put in the times without having to type the punctuations and it lets the time read correctly no matter if it is 10 minutes or 30 seconds. If you do that (type just numbers) you should get the formula to work.
mm:ss.00 does get the correct number but it does not show a negative (I've played with how but can not make it happen) and it does not format well at least not aesthetically.
Any other advice?
Hi!
You will not be able to subtract minutes, since there are 60 seconds in 1 minute. In your case, 1 minute is 100 seconds.
I have an issue with a simple greater than calculation involving time (24hr) and can't seem to find a solution to show that:
=IF(F1>J1,0,100)
"23:00" is NOT greater than "0:00" but excel decides this is false.
How could I determine this when the time rolls over?
Hello!
Why do you think 23:00 is no more than 0:00? What result do you want to get? Please describe your problem in more detail.
Hi Alex,
The problem is to figure out If a shipment was sent late, or on time, and then sum up the late ones...
So with a simple formula, you can see results are not desirable when that midnight time rolls over.
IF SUM(A1-B1) >0, Then Count it
LEFT DUE DIFF
18:30 20:00 -1:30
20:45 23:00 -2:15
19:50 21:00 -1:10
20:45 22:00 -1:15
22:10 0:00 22:10 <----Not really late
23:48 1:00 22:48 <----Not really late
22:40 23:30 -0:50
Moving forward, we can add the date and that makes it accurate, but the issue is that I've got old entries to tally up and changing the time field to a date just makes it "1/1/1904" for every day.
Hope that describes it better?
Hi!
Time 00:00 is less than 23:00 since 00:00 is the beginning of the next day. You can calculate the time difference correctly only within a day. If the start and end times are different days, then you need to use the date and time.
You have not explained how to determine if the package was sent at the wrong time.
Thank you for this, it was a true help. :)
Hello
I am trying the method of B2-A2 (Updated date/time - Created date/time) and then formatting the results cell with d "days," h "hours," m "minutes and" s "seconds" and all seems well until I get to a certain value and then it is not displaying results correctly. I worked around this by using =INT(B2-A2) & " days, " & HOUR(B2-A2) & " hours, " & MINUTE(B2-A2) & " minutes and " & SECOND(B2-A2) & " seconds" but now I'm trying to average the results of the original B2-A2 values and am getting a value of 61.26262 which when formatting the cell with d "days," h "hours," m "minutes and" s "seconds" I should get 61 days... but am getting 1 days, 6 hours, 18 minutes and 10 seconds. How can I format the cell values to return the correct 61 days? Is it as simple as changing the formatted value of 1 days, 6 hours, 18 minutes and 10 seconds to 61 days, 6 hours, 18 minutes and 10 seconds?
Hello!
Please check out this article to learn how to get date difference in days, months and years.
Hope you’ll find this information helpful.
Hello sir ,
this formula is too good. And I want that same formula in Power BI . Can you please tell me what would be the formula for same purpose in Power BI ?
Hi
When I'm trying to sum the total time in HH:mm
Getting the total wrong I have applied the formula =sum(b2:b5) but still getting the wrong total
Hello!
You have not described your problem, but I hope this article will be useful to you: How to sum time in Excel
I hope my advice will help you solve your task.
Hello,
what if i need to calculate daily working hours (8) hrs if exceed 8 hrs to calculat the over time for the three shifts and the timing concidering timing from 19:00 to 07:00 as 1.5 rate and other hours will be in 1.25 rate
means
Example
Exmp1-08:00 to 20:00 8 hrs duty 4 hrs Over time ( 3hrs @1.25 & 1hr @1.5)
Exmp2-20:00 to 05:00 8 hrs duty 1 hr Over time (@1.5) (till 07:00 the rate will be 1.5)after 07:00 rate will be 1.25
Please advise
Looking to calculate the time difference excluding weekends and business hours for the time a user submits a support request. Weekends are sat/sun and business hours are 8-5.
Example time of the support request:
Submitted at 7:00am on Friday 5/7/21.
Request completed at 10:30am on Monday 5/10/21.
The answer when calculated manually would be 10.5 hours to complete the request.
What would the formula be for this?
Hello!
If I understand your task correctly, the following formula should work for you:
=IF(NETWORKDAYS.INTL(A2,B2,1)=1,MIN(TIME(HOUR(B2),MINUTE(B2),0),TIME($C$1,0,0))-MAX(TIME(HOUR(A2),MINUTE(A2),0),TIME($B$1,0,0)),(NETWORKDAYS.INTL(A2,B2,1)-1)*($C$1-$B$1)+MAX(0,MIN(TIME(HOUR(B2),MINUTE(B2),0),TIME($C$1,0,0))-TIME(8,0,0))+TIME(18,0,0)-MAX(TIME(HOUR(A2),MINUTE(A2),0),TIME($B$1,0,0)))-IF(TIME(8,0,0)-(A2-INT(A2))>0,TIME(8,0,0)-(A2-INT(A2)),0)
A2 - start time
B2 - end time
B1 -start workday (8)
C1 - end workday (17)
The answer calculated 9+2.5=11.5 hours
I hope I answered your question. If something is still unclear, please feel free to ask.
Hi Alex,
You formula helps a lot for me. thank you so much for that. pls guide me to exclude weekends (Saturday & Sunday) from the below formula.
=INT(N374-H374) & " days, "&HOUR(N374-H374) & " hrs, " & MINUTE(N374-H374) & " mns"
Output is 20 days, 2 hrs, 44 mns.
Hi!
Count the number of holidays with the NETWORKDAYS.INTL function
=(INT(N374-H374)-NETWORKDAYS.INTL(H374,N374,"1111100")) & " days, "&HOUR(N374-H374) & " hrs, " & MINUTE(N374-H374) & " mns"
This should solve your task.
Alex,
This is brilliant. It's working. Thank you so much :-)
What if not considering Start workday and end workday and instead just considering 8 hrs a day
Hi!
You can calculate the number of working days using the NETWORKDAYS.INTL function and multiply that result by 8.
Sorry, 11.5.
How to calculate difference of below time stamp
Respone Time (Before Entry) Respone Time (After Entry)
2021-04-20-17.05.26.661101 2021-04-20-17.05.27.149143
2021-04-20-17.05.56.336787 2021-04-20-17.05.56.507989
2021-04-20-17.05.57.052277 2021-04-20-17.05.57.129936
2021-04-20-17.06.58.825463 2021-04-20-17.06.58.913969
Hi,
Reread the article above. It describes in detail how to calculate the time difference.
To convert your text to date and time, I recommend reading the manual "How to convert text to date and number to date in Excel" and this commentary to it.
This should solve your task.
I have a question here. How to get the hour after minus from 73:50 - 70:91?
my results show #value
Hope to hear from you soon.
Thanks.
Hello!
Time cannot be written as 70:91. There cannot be more than 60 minutes in an hour. If instead of 70:91 you write 71:31, then you will succeed.
Thank you for the 'time in 1904 format' tip.
In a Mac it's under Excel preferences, Calculation then tick 'use 1904 date system'
Hello,
how to write coming late formula for 3 shifts (24 H).
1- 00:00 AM to 08:00 AM
2- 08:00 AM to 04:00 PM
3- 04:00 PM to 00:00 AM
In normal excel sheet I am try to calculate manpower efficiency which need time starts and time end. What is the formula for time starts if the person starts work by pressing "Y" in beside column. I tried with now() formula but it's keep on changing. I need once the activity start time should not be changed when the activity is closed and centering the closing time. I need in if programme
Hello!
To prevent your date from automatically changing, you can use several methods. Read this comment.
Hi Svetlana, you are obviously very skilled at using Excel. Your page on Excel time calculations came up in a search. I am hoping you can assist me in resolving a couple of issues within an existing Excel sheet i have made for home video logs of old videotapes.
I have many home videos of my kids growing up and I am entering the date, location, person, place, etc. information of each video into an Excel sheet.
I tried to copy and paste a sample of the heading of my sheet but the website would not allow me to do so. Let me know if there is a way to send you the sheet. If not here are the column headings:
DVD # Tape# Source Type Date of Event Time Start Time End Length (HR:MN:SC) Subject Names Event Name Location Notes
If you already have a sheet for my needs that would be great!
I would like your expertise on two matters. The first involves time calculations.
I found where I can format cells for Time/37:30:55 to help me calculate the time durations by entering the data in the Time Start and Time End columns to determine the duration in the Length column (this is calculated across a row. I also entered a formula to calculate the total duration in the Length column (going down) to determine the total length of the entire video tape or the total of all of the events.
Since the rows could be multiple because of the number of persons and descriptions of one event, I have to enter these formulas manually. Is there a way to put a formula into the Length (duration) column so when I enter the date in Time Start and Time End it will automatically subtract the Start from the End. For instance, one Length could be cell G3 and G5 and may skip to G9. Of course the end point to total the event durations in the Length column for the entire videotape would vary also since I do not know what row will be the last one.
The second request is hopefully more simple. I want to make sure that I am able to filter the logs if want to find all of the video clips in one video tape say of John or Disneyland or birthday. For instance in a cell naming characters within one event or row as I described above should I put a space or comma or colon between each word I want to search later? Before I start all of this data entry I want to make sure i have it formatted correctly. This will be important if I combine all of the individual video logs into one massive excel sheet to possible search for all of John's birthdays through the years to do a highlight movie.
Sorry for the lengthy request but I am a novice to Excel and making requests on forums.
Thank you in advance for your assistance and I look forward to your response.
Tony
Thank you very much
Very nice
Hi,
I have a problem working with the excel formula to calculate the End Date & Time from Start Date & Time for given Duration.
Its a 24/7 work but there is a chance for festival and natural disaster holidays so will maintain the holiday list separately. We have 2 shifts a day. each shift has below details
--------------------------------------------------------------------------------------------------------------------------------------------------------
Example :1 ( Day Shift )
----------------------------------
Start Time Stamp || Project Hours || Daily Shift Start || Break1 Start || Break1 End ||
1/7/2021 11:45 AM 12 10:00 AM 11:15 AM 11:30 AM
Lunch Start || Lunch End || Break2 Start || Break2 End || Daily Shift End || Dead Line
1:00 PM 1:30 PM 3:00 PM 3:15 PM 6:00 PM ????
--------------------------------------------------------------------------------------------------------------------------------------------------------
Example :2 (Night Shift)
----------------------------------
Start Time Stamp || Project Hours || Daily Shift Start || Break1 Start || Break1 End ||
1/7/2021 11:45 AM 28 6:30 PM 8:15 PM 8:30 PM
Lunch Start || Lunch End || Break2 Start || Break2 End || Daily Shift End || Dead Line
9:30 PM 10:00 PM 1:30 AM 1:15 AM 2:30 AM ????
--------------------------------------------------------------------------------------------------------------------------------------------------------
Conditions
=======================
Dead Line with Date & Time
Excludes the Holidays List
Calculate only the working hours
Exclude the Break & Lunch hours
hello dears i need help in my formula to give and get time from above or bellow if current cell have less value from G Cell
i am using the Formula in E"=IF(F14-G14>0, F14-G14, TEXT(ABS(F14-G14),"-h:mm"))" it's show me how many hours it has less from 8 hours
but now i want if
E2 is less then G2 then get the hours/Minutes from above E1 if E1 has +value
i am sorry i am not able to explain good it's because i don't know english much
___________________________________________
| A B C D E F G
|1 Sat 05 9:25 20:25 3:00 11:00 8:00
|2 Sun 06 9:25 16:00 -1:25 6:35 8:00
|3 Mon 07 9:25 20:25 3:00 11:00 8:00
|4 Tue 08 9:25 17:00 -0:25 7:35 8:00
Hello!
I’m sorry but your task is not entirely clear to me. Could you please describe it in more detail? What result do you want to get? Give an example of the expected result.
Explain the phrase in detail "E2 is less then G2 then get the hours/Minutes from above E1 if E1 has +value".
It’ll help me understand it better and find a solution for you.
One Hour 1000/- 1.30 hours How Many Amount Formals
Hello!
I am using =INT(K2-J2) to calculate the dates elapsed on for cells showing mm/dd/yyyy hh:mm:ss. In the cell the time is shown in military time, once I click into the cell the bar at the top shows the time in AM/PM. I am saying this because I think I have a data/formatting issue I can't resolve. I am also using =TEXT(K3-J3-INT(K3-J3),"HH:MM:SS"). These work okay although ideally I would like to not have to use two different cells to show the difference in days and times and have them combined in one cell... but I am picking my battles.
The main issue that I am having is that I can't sum or average (i am really just trying to average here) the hour time lapse using =TEXT(K2-J2-INT(K2-J2),"HH:MM:SS"). I either get a div/0 error message or a 0. I have changed the formatting in these cells to various times, date and customs formats and nothing works.
Additionally, I have another column with h:mm:ss formatting with values only and no calculation and I am able to average the data no problem. I am at a loss because I have copied the data and pasted in another cell so that no calculations were present in that column but still nothing...Im at a loss. Any help would be appreciated.
Hello!
Unfortunately, without seeing your data it is difficult to give you any advice. Please provide me with an example of the source data and the expected result. It’ll help me understand it better and find a solution for you.
Hello,
I'm trying to create automatic production schedule. Work hours are from 7:00 to 23:00. I have current date and time. Work that requires 19 hours to complete.
Need a formula that would pull up current date/time, add 19 hours and show end date/time but in respect to work hours. So if current time is 15:00 it should report end time to be next day at 18:00
Any help?
Thanks!
Hello!
If I got you right, the formula below will help you with your task:
=IF((HOUR(A2)+B2)>23,A2+TIME(B2,0,0)+TIME(8,0,0),A2+TIME(B2,0,0))
A2 - current date/time, B2=19
I hope my advice will help you solve your task.
I need to get hours worked from a start time and end time. Then from that I need a new cell to add them up over a week and get total hours worked that week. Then I’m a new cell I need total hours for the week and hour pay
I need to add data with how long it takes for an agent to complete a workflow. For example, an agent may take 3 mins and 51 seconds for 1 workflow. When I use the time format in Excel, even when I create custom ones in Excel, I'm having a hard time with it showing as 3:51, where 3 is the mins and 51 is the # of seconds. It always ends up showing as hours and mins or the time of day with AM/PM. How can I just get it to just show as 3:51, 3 mins, and 51 seconds. I need to add a lot of data and calculate the averages.
Hello!
The time must be entered as 0:3:51. I assume you are not entering zero.
login- 17:30
Log out time - 3:00
how to find the difference between these 2 timings
Hi!
The answer to your question is already on the blog.
Hello, I need to calculate the working time from a start time to an ending time and the report I run gives me the info like this. Do you know a formula that will help me ? fOLL
Start End
151517 152053
152053 163714
163714 165332
165332 171444
171444 173023
173023 175441
175441 180136
180136 185950
185950 193039
193039 193636
193636 201025
201025 205052
205052 212317
212317 214440
214440 220058
220058 220152
220152 222429
222429 234425
Hi!
I'm looking a formula to find the time difference between 2 dates, but i don't want to use Cell A1-B1.
Is there a formula which I can input date and time, and substract both in a single cell?
So the 2 dates are:
Commenced - 08/09 0330hrs
Completed - 11/09 1510hrs
I should get 3D 11H 40M, but i don't want to utilize 3 different cells to get the answer.
Appreciate your help!
hello. help needed,,, if possible pleasei have a run out time but what i need is
if time is 3:30 (fixed ) computer clock say 2:45 (live) when clock reaches 3:30
and though out the day 5:30, 6:14 etc;
i would like for rows to totally turn red (as in late) and if i tick a box at end of row i would like it to turn green.
(a2- a10)
any help please
Hi,
Your task is not completely clear to me.
Could you please describe it in more detail? What result do you want to get?
Describe exactly the conditions that you want to use in conditional formatting. Give an example of the input and the desired result.
Here is the article that may be helpful to you — Excel conditional formatting for dates & time.
if somebody has to report in for work at i.e. 05:15 and they do not report in I want the excel row to auto highlight (red) when they report in and I tick a box at end of row hightlight to turn green,
A1 (fixed number 05:15) , H1 now() so when now() passes A1 fixed time colour change (hightlight) also need to work out formula for this and when i tick the I1 it changes colour
hopefully you can help!
Hello!
Use a conditional formatting formula:
=AND(MOD($H1,1)>$A1,$N1<>"Yes")
I hope my advice will help you solve your task.
=IF(B2<A2,B2+1,B2)-A2 I AM USING THIS FORMULA TO FIND TOTAL WORKING HOURS OF AN EMPLOYEE.
IF ONE EMPLOYEE ABSENT MEANS I ENTER ZERO VALUES IN TIME IN AND TIME OUT CELL .BUT ITS NOT WORK.
MY DOUBT IS IF ONE EMPLOYEE ABSENT MEANS HOW TO AND VALUE ENTER IN TIME IN AND TIE OUT CELL.
Hello!
Sorry, I do not fully understand the task. If A2 and B2 are 0, the formula returns 0. Please describe your problem in more detail.
Explain exactly what the problem is. Give an example when the error appears. It’ll help me understand the problem you faced better and help you.