# Formula To Show Time In Hours Going Minus Instead Of Negative

Nov 4, 2012
I have devised a simple formula when a member of staff enters a date and time into a cell it starts deducting from todays date and time. ie:

Cell A1 - Date and time is entered by staff

Cell B1 - Is the above cell +24hrs

Cell C1 - NOW()

Cell D1 - B1-C1 Formatted in hours ( [h] :mm:ss (Like a count down clock)

The problem i have is that i cannot get Cell D1 to show minus ours it just goes to negative and shows continous #####. Is there any way i can get Cell D1 to show the hours it has gone minus by.

View 6 Replies
ADVERTISEMENT
Apr 27, 2014

Formula to calculate time allotted minus time used and show the difference in hour and minute.

View 1 Replies
View Related
Jun 24, 2013

I have a time calculated and I want to know, Out of that time how much is above or below 8 hours.

Ex. 1: 7:30 - 8 = [result] "-:30" mins

Ex. 2: 11:00 - 8 = [result] "3:00" hours

OR

How can I convert 7:30 into 7.5 [decimal] and then subtract that from "8" to get the difference?

I know this is an easy one, I have done it many times before. It's crunch time and I am drawing a blank.

View 1 Replies
View Related
Jun 15, 2014

basically I am trying to make a time calculator for work, I want it to automatically add the hours up but then also minus break times and then give me a whole paid total hours worked that week.

CALCULATOR.xlsx

View 1 Replies
View Related
Sep 11, 2011

I have a data of complaints where I need to present it to the Management in such a way that the SLA period of 8 hours does not pass. Our office working hours are 7 AM till 7 PM. The complaint received should be escalated to concern section within 8 Hours of SLA time. I have the list of dates with received time. The complaint which could not be escalated today would be escalated next day. In this case is should deduct 12 Hours (7 PM to 7 AM, Non-working hours) from the time. How can I insert escalation date so as that it would deduct non working hours from it.

View 5 Replies
View Related
Jun 6, 2012

I have a requirement of calculating time spent on ticket, basically a difference between the time a ticket was logged and when it was resolved.

First, working days are Saturday through Wednesday, i.e weekends are Thursday & Friday.

Second, there are different resolver groups or teams which work on a ticket. These teams have different working hours, some work from 07:30 to 15:30 on weekdays, and others work 24/7. Each ticket will be assigned only to one resolver group.I also need to consider holidays.

So, my requirement is to check the resolver group for each ticket, and decide the working hours based on it. After this check has to be done for holidays, and then difference between logged time and resolved time needs to caluculated in minutes.

Tickets can be logged at any time of the day / week, it may not always be logged during working hours only. in such cases calculate should consider next business day / hour as the start time.

Raw data for tickets is available in =Sheet1!$A$1:$E$21

Ticket NoResolver GroupLogged DateResolved DateTime Spent123456

Team A5/21/2012 1:56:28 PM5/29/2012 2:10:53 PM343543Team B5/21/2012 9:31:02 PM5/27/2012 3:41:22 PM853732

Team C5/22/2012 2:28:06 PM5/26/2012 2:34:31 PM

[Code].....

View 4 Replies
View Related
Jan 12, 2009

If a person does a full day I want the formula to calculate how many hours minus 30 mins for lunch i.e. 7:30 - 4:00 = 8 hours. I have done this and it works fine, the problem comes when a person does a half day i.e. 7:30 - 11:30, this will read 4.5 hours. If this is the case I don't want the 30mins deducted so it should be 4.0 hours worked.

I have high lighted a column in the work sheet (yellow) whereby the user puts an 'x' in the appropriate cell if they are working a half day.

The probem is I cannot incorperate the two formulas in one cell (the Actual hours cell) I have the one formula in the actual hours cell and the other bolted on the end thus giving two different readings.

View 14 Replies
View Related
May 31, 2014

I have attached here an excel sheet with some data. I need to show the minus value in D5 as a plus sign, is there any conditional formula to work this out??

View 4 Replies
View Related
Dec 15, 2013

I'm attempting to make a simple time sheet for a handful of employees. I'd like to enter the clock in time and clock out time for each day. The end cell should be the running total for the week. The tricky part for me is having the formula subtract an hour for each day that is over 5 hours.

View 3 Replies
View Related
Aug 1, 2008

i have =TIME(LEFT(F17,FIND("h",F17)-1),RIGHT(F17,2),0). which gives a time in the format 9:30PM, or 10:30AM etc. How would i change the formula to give me a time minus 15 mins. Eg, if the above formula gave me 8:45PM, i would want it to show 8:30PM

View 4 Replies
View Related
Jul 6, 2007

is there a way in VB to make it fast, and tidy, clear the contents of all unlocked cells on one sheet ?

View 2 Replies
View Related
Oct 13, 2007

How can I work out the following in hours an minutes: -

Cell A1 = 12th May 2007 20:00

Cell B1 - 14th May 2007 14:30

or should I put the dates and times in seperate cells? I would like the answer to show 42 hours 30 minutes

View 3 Replies
View Related
Oct 12, 2008

fix my (if formula) so it includes data from sheet 2. Sunday and monday values change but every other remains the same. I was given this formula and cant seem to add to it. Also is there a way to show only what i need instead of negative and 0 balances?

View 2 Replies
View Related
Feb 20, 2009

I am using time based on the 1904 calendar, this is so time can be shown as a minus figure when to cells are taken away and the result is say -17:25. What I want to do via conditional formatting is show any minus hours as red. Tried various options but I have had no luck so far. or can this be done via VBA?

View 6 Replies
View Related
Feb 14, 2013

I have a column of numbers which have the - sign at the back end of the number instead of the front. What would be the easiest way to turn that into a negative number without manually keying each one?

View 4 Replies
View Related
Dec 22, 2009

I can't use 1904. I have a formula that almost works.

I am doing everything in Military time. This is the finial peice of the puzzle.

Our shift begins at 18:00 and ends up until 7:00 (am) or so depending onwork

A1 I have a time (Projected-Estimate of when all work should be done)

A2 I have a time (Actual- Time the work was actually complete.)

A3 Will be show the difference in either a Negative or Positive time.

Three Examples: (The first two work as is and are perfect) ....

View 6 Replies
View Related
Nov 11, 2009

to calculate how long a ticket is open in our system before being resolved. I don't want to count weekends, and if the ticket is 'suspended', I don't want to count that either. There is also the factor that the ticket 'un-suspend' date may be later than the ticket 'closed' date. Which is the bit that's throwing me.

So, I have the following fields

Ticket Open, Ticket Closed, Ticket Suspended Date, Ticket Unsuspended Date

A sample ticket might be (using above fields)

02/11/09 09/11/09 04/11/09 30/11/09

That 'should' equal two days (16 hours) as the Unsuspend date falls after the close date so it was suspended from the 4th until closure.

Now I want to know, in hours (8 hour day) how long that ticket took to resolve (i.e close), remembering you can't count the time it was suspended, or any time that fell over a weekend. Also not all tickets are suspended.

View 13 Replies
View Related
Dec 22, 2009

(First please don't send me a link on how to subtract time or show Negative time. I know about 1904 ect.. I can't use that. I need a variation on the formula I am using if possible)

A1 I have a time

A2 I have a time

A3 I have a formula subtracting A2 from A1

The times will vary in A1 & A2. Sometimes A1 will be earlier or later thus giving me negative or positive times. I have a formula that will give me a correct answer but will always show either Positive or Neg depending on what I put in the last part of the formula "-H:MM or H::MM" =TEXT(MAX($A$1:$A$2)-MIN($A$1:$A$2),"-H::MM") in A3. I want it to do the subtraction but say if A1 is > than A2 then "-H::mm", If A1 is < A2 then "h::mm". I don't know if that is possibly or how to incorporate that into what I have.

View 3 Replies
View Related
Aug 9, 2009

the Times work fine 22:00pm to 5:30am or 6:00am to 5:30am

Formulas

J4

=IF(ISNUMBER(D4),(D4>E4)*MEDIAN(0,E4-N$4,O$4-N$4)+MAX(0,MIN(O$4,E4+(D4>E4))-MAX(N$4,D4))-F4-L4,0)

K4

=IF(ISNUMBER(D4),MAX(0,MOD(E4-D4,1)-J4-L4-M4-I4-F4),0)

L4

=IF(ISNUMBER(D4),IF(MOD(E4-D4,1)-F4>P$4,(MOD(D4+P$4,1)>E4)*MEDIAN(0,E4-N$4,O$4-N$4)+MAX(0,MIN(O$4,E4+(MOD(D4+P$4,1)>E4))-MAX(N$4,MOD(D4+P$4,1))),0),0)

M4

=IF(ISNUMBER(D4),MAX(MOD(E4-D4,1)-F4-I4-L4-P$4,0),0)

but if I try 22:00pm to 6:00am or later

The following is displayed

Negative Time in J4 and the wrong result in K4

this is not what I need

It should be showing the following

J4 2:00 K4 5:00 L4 00:00 M4 00:00

View 9 Replies
View Related
Oct 10, 2009

When I am converting a time from Hours/Minutes to Hours/Tenths, Excel is not converting it consitantely. EXAMPLE: 1:15 = 1.25. When I format the cell to present only one place past the decimal point, sometimes the cell will round up to 1.3, and other times it will round down to 1.2. What am I missing?

View 3 Replies
View Related
Jul 8, 2009

I need to show the size of a project in a cell based on it's number of hours, e.g.

Between 5-80 hours = SMALL

Between 80-200 hours = MEDIUM

Over 200 hours = LARGE

How can I do this? I can't get the IF function to work like this (unless I'm doing something wrong) and I thought about using a pivot table but think there must be an easy formula to use?

View 3 Replies
View Related
Nov 19, 2008

I need a formula that that will show £0.00 if the amount is under zero, i have a formula k15/o15 that gives me a amount but if this is under zero i need this to show as zero not -£70 for example.

View 3 Replies
View Related
Jun 30, 2014

How to get the Hours of two different time

A1

27/06/2014 11:30

B1

30/06/2014 18:14

C1

Ans: Hours of these 2 dates with time.

i just need to get their Hours.

View 3 Replies
View Related
Feb 1, 2010

I've got a worksheet that deals with dates and time. Similar to a checkbook, I need to take the balance and subtract what's taken from that. But the writer copied this from another software program and it's in this format. How do I convert it to a time format? Or is that what I really need? Right now the taken and balance are both in a general format.

I just need to know on any of the given days what the balance of this person's time was in hours and minutes.

View 2 Replies
View Related
Oct 22, 2008

I need to enter a formula that calculates the time a report is received from the time it was recorded in our database. therefore, it needs to exclude non working hours. here are the fields:

A1 2008/10/10 16:30

B1 2008/10/11 09:30

C1 8:00

D1 17:00

A1 = report received

B1 = reported recorded in db

C1 = work day start time

D1 work day end time

Where the answer should = 2 hours.

I am not an experienced excel user and so far the only formula I have now is: =TEXT(B1-A1, "d:hh:mm")

And how do I account for weekends?

View 9 Replies
View Related
Jan 23, 2014

I have been trying to work out a formula for capturing the number of patients in the hospital at half hour time intervals. There are a lot of formulas for capturing this information within a 24 hour period however not a lot of information when the Length of Stay or episode time is +24 hours.

As you can see in my example spreadsheet below, some of the patients stay for 244 hours (row 9).

The outcome that I am looking for is that a 1 is placed in all of the time slots when the patient is there. For example if they arrive on Jan 1st at 2.15 and leave on Jan 3rd at 10.30 all of the time slots in between would have a 1 placed in them.

I have been playing around a lot and think it is probably only possible if you set it up as I have in the example i.e. by having the date running down and the time running across.

How this could work? I have tried SUMIFs and SUMPRODUCT formulas which generally work for Jan 1st but then go wrong for any date after that.

View 4 Replies
View Related
Oct 6, 2009

I have a sheet in which in Coloum A I have manager names, then in Colum B I have list of Employees reporting to that manager, then in Column C, I have total login time of each employee which should be => 8 hours. In a new sheet, I want to get the count of employees next to the each manager's name who login time is less then 8 hours.

View 3 Replies
View Related
Oct 14, 2009

Im trying to figure out the formula to comput hours:minutes between time on different dates a couple of days apart.

B12 = Date

B15 = Time (on date in B12)

Previous date and time are in AA9. I have been trying to us =SUM(B12+B15)-(AA9).

View 5 Replies
View Related
Jan 29, 2010

Format Time Cell For Greater Than 24 Hours: Hours & Minutes Only .....

View 9 Replies
View Related
Apr 4, 2013

find a formula that will calculate the hours between the two below values but only take in to consideration the business hours (from 9 to 17) and exclude any weekends?

08/03/2013 13:32:00

02/04/2013 09:32:50

View 4 Replies
View Related