Formula To Return Percentage Of Duration Elapsed Between Two Dates A Third Date Represents?
Feb 20, 2014
I need a formula that will calculate the percentage of the total duration between two dates (in dd.mm.yyyy hh:mm format) that a third, intervening date represents.
As an example:
a) 10th Jan 2014 09:00
b) 20th Jan 2014 09:00
c) 30th Jan 2014 09:00
In this case the answer sould be 50% because 'b' represents exactly half of the time elapsed between 'a' and 'c'.
Note: the formula needs to work effectively across the boundary between two consecutive years.
View 1 Replies
ADVERTISEMENT
Jan 20, 2014
Accoding to How to use dates and times in Excel: "the number 32331.06 represents the date and time 7/7/1988 1:26:24 a.m"
I then think, the integer part, 32331, represents the total days between 1/1/1900 and 7/7/1988.
However, in VBA, I tried
Debug.Print DateDiff("d", "1/1/1900", "7/7/1988")
and got result 32329
View 3 Replies
View Related
Feb 16, 2010
I have been asked to make some ammendements to a workbook currently in use.
I have to calculate elapsed time, and my formula is giving me odd results. I have a start time (cell B5), and an end time (cell F5). The formula being used was =IF(F5>0,((F5-B5)*24)) which gave the correct result. The cell is formatted as general. It didn't alot for the situation where the end time has not happened yet.
I changed the formula to =IF(F5>0,((F5-B5)*24),(K5-B5)*24) where cell K5 is the current time. The results are coming out with 6 - 9 decimal places. It makes no sense as I've tried setting the times to be exactly 24 or 48 hours to the minute. I've also tried replacing K5 in the formula to now(),
View 12 Replies
View Related
Jul 1, 2008
I need to compare three cells of random dates shown in Column E, F,& G with Row's H5:AK5, H7:AK7, H9:AK7 (the Dates to these rows is Static on row H3:AK3.) EX: ROW 5 has Start Date, End Date (1) and End Date (2). Compare Cell H3 between Start Date & End Date (1). If H3 falls between or equal to Start and End Date(1) then highlight cell H5. Proceed till AK3 (higlighting only the cells H5:AK5). Then compare cell H3 between or equal to End Date (1) and End Date (2) (higlighting only the cells H5:AK5). Then do the same for ROW 7 and ROW 9.
To make things a bit more difficult I need to have " WK#" in Row 14 (these WK# is on another tab called "Task" of the workbook) needs to be displayed in Row's H4:AK4, H6:AK6, & H8:AK8. EX: Compare Date in D15 between or equal to Start Date & End Date (1) then display Wk# in D14 in H4. Continue till all dates in
D15:Z15 are compared to Start Date & End Date (1) and WK#'s in Row D14:Z14 are inputted if applicable in Row H4:AK4, H6:AK6, H8:AK8. I hope this is not confusing. I can't seem to use the upload option so here is alink to download a jpg of the sheet
View 2 Replies
View Related
Apr 3, 2014
I have been trying to get excel to calculate elapsed time between two dates using mostly what I've read from other elapsed time posts. But I am clearly missing a step. I'm trying to streamline my process for taxes.
I want to take a time in the format of " yy/mm/dd hhmm " example: 1
3/04/24 2245 ( note its a 24hr clock) 13/04/24 2245 would represent 2013 April the 24th at 10:45PM.
------- A --------------- B -------------------- C
13/04/24 2245 ------13/05/24 0900 ---------[display hrs elapsed] <-- currently get #name?
I have custom formatted A and B to yy/mm/dd hhmm and formatted c to [h]:mm
When you enter b-a in column c you get #name?
If its easier to have the date and time into separate columns I can give that a shot, I was just trying to make it as streamlined as possible for copy past.
View 11 Replies
View Related
Dec 13, 2013
test.xlsx
I need to calculate the time elapsed between start and finish dates. I've figured the TODAY function, as explained here but I'm referring solely to dates in cells. How to?
View 1 Replies
View Related
Mar 5, 2009
Dataset is 220K rows. A small subset follows.
Using an array calc with criterions Day = 1 and Hour = 1 summed on Elapsed Time returns 81 with an average of 11.57 for 7 events of which there are 5 distinct dates.
The function =SUM(IF(D2:D14<>"",1/COUNTIF(D2:D14,D2:D14))) returns the number of distinct dates in the dataset ie 7.
Is it possible to combine these two methods to create an average of elapsed time by day and hour using a denominator of distinct dates for only that combination of dimensions?
I have attempted to calculate an item in a pivot table using a different denominator without success.
day Hour Date Elapsed Time
1 0 5/03/2009 25
1 0 5/03/2009 24
1 1 5/03/2009 23
1 1 7/03/2009 11
1 0 7/03/2009 5
1 1 8/03/2009 2
1 1 8/03/2009 8
1 1 9/03/2009 4
1 1 9/03/2009 17
1 0 9/03/2009 22
1 1 10/03/2009 16
1 2 13/03/2009 12
2 1 14/03/2009 15
View 4 Replies
View Related
Oct 26, 2008
Date problem.
I need to find the duration of time based on 4 columns:
column A : Start date DD/MM/YYYY
Column B : Start time HH:MM:SS [24 hour clock]
column C : End Date DD/MM/YYYY
Column D : End time HH:MM:SS [24 hour clock]
Column E: The duration result in : in Days and Hours
I have several thousand rows and need to complete before tomorrow
View 9 Replies
View Related
Jun 18, 2009
I must produce a report that details elapsed time between two dates and times.
The duration can span a number of days, I need to report just the elapsed working time, I can calculate the days with "NETWORKDAYS" but how can I calculate only the elapsed working time 08:00 to 17:00?
View 9 Replies
View Related
May 21, 2012
I am working with an amortization table and need to work out the elapsed time to amortize the loan.
Currently the worksheet is working fine and calculates the end date of the loan but the length of the column varies depending on the scenario.
I need a formula to calculate the time that elapses between the first date and last date.
The data starts in cell b13 and the last date could appear in pretty much any cell below that, so the formula will need to look for the last valid entry.
I am using excel 2003.
View 5 Replies
View Related
Oct 1, 2013
I need to formula to covert duration between start date and end date to units below.
Start Date
End Date
Number of Month
Number of Years
Number of Days
6/1/13
8/31/13
[Code] .........
View 6 Replies
View Related
Feb 16, 2010
I have the below Date & time in cell a1 and another date and time in cell a3
8/2/2010 08:45:00
8/2/2010 10:15:00
I need to be able to show duration (in hours) between the 2 times, in this instance its the same date, but this wont always be the case. To add a level of complexity in addition to the gross duration in hours, I will also need to know how long (in hours or mins) of the duration fits into "in hours" ( 9 -5 mon- fri) then the duration thats fits "out of hours" (after 5pm weekdays or all day Sat & Sun)
View 9 Replies
View Related
May 30, 2014
What I want to do is return the oldest date to another sheet, but I only want to return the oldest date if the backlog value is higher than 0. So example below has oldest date with 0 as backlog value, I don't want to return that date, but go to the oldest one with an actual backlog value.
So I have the following raw data in Sheet1
[Code] .....
Now I want to put this raw data in Sheet 2
I use this formula to pull the data =SMALL(Sheet1!C3:C5,1)) but this returns the B4 value to me, which I don't want as A4 is 0.
I've been thinking about somehow using VLOOKUP or IF to sort this out but I am stuck.
View 3 Replies
View Related
Jul 6, 2007
I have been trying to search for either a function or VBA that will perform the following:
If I enter I want all months >=1/1/07 and <=3/31/07 it would tell me that the months in between are January, February and March and so on with all dates.
View 3 Replies
View Related
Mar 12, 2014
What is the formula for calculating duration in min/hrs between start time and end time without mentioning any date, and if the end time stretches to next day i.e beyond 12.00 midnight. And what is the logic used in the formula.
View 1 Replies
View Related
Dec 19, 2006
how I can save the elapsed time between when a cell is clicked on? Example: Click on cell A1 to enter a number – three days later click on cell A1 to enter another number. The results would be 72 hours lets say in cell F3.
View 9 Replies
View Related
Mar 4, 2007
I have an assignment to audit the time it takes convert a printing press from one job to the next. I've been using a watch to take the readings in hours, minutes, and seconds.
I recorded them in my spreadsheet, as h:mm:ss, but it showed a date also. I think I finally got that resolved, but now, when I try to subtract one time from another time, I get an incorrect answer. I think I need to convert all of these times into decimals, as in 13.23.44, as oppossed to 13:23:44.
One post on page 1 of my search said to multiple A1*24, but I don't fully understand. I tried that, but 11:30 became 11.50?
I need to extract the set up time, or job to job changover time in a decimal format if possible. There are other tasks being done with those numbers later in the spreadsheet that are more conducive to decimals, than the time format.......
View 3 Replies
View Related
Feb 22, 2008
I am trying to determine the amount of off duty time from the last stop time to the next start time. The object is to reset another column of hours (not shown here) to 60 hours only if there has been 34 hours of off duty time prior to the next start time.. I have posted this problem previously but did not explain very well I need to accomplish. The start and end times ( E & F) are formatted as hh:mm AM/PM and the Work time and the other columns are formatted as [hh]:mm. Where my formula fall short is when there are blank days indicating weekends or days off ...
View 9 Replies
View Related
Jan 4, 2013
I have a Training Matrix with "Main", "Leavers" and "Reports" sheets. (can email it but can't upload it here; it's 534kb and I can't make it smaller)
In the "Reports" sheet I need to fill "Site Procedural Training" - "Number of people trained in period".
The periods are :
25/12/11 - 31/03/12
01/04/12 - 30/06/12
01/07/12 - 29/09/12
30/09/12 - 29/12/12
The source of data will be the "Main" and "Leavers". The data are dates in these sheets; each date = 1
The formula needs to look in to "Main" and "Leavers" and if it finds a date which fits in the required period in "Reports" then return it as 1. If it finds 300 dates then returns 300.
View 9 Replies
View Related
Jan 13, 2014
I have a workbook with two sheets. The first has a list of job positions open, columns designated to stages in the employment process and in these columns, my staff enter the dates that they completed a particular stage.
"Position | Date Opened | Stage 1 | Stage 2 | Stage 3 | Stage 4"
Pos 1 | 01/01/2014 |02/01/14|03/01/14|07/01/14|09/01/14
This has a great number of entries and they are increasing and decreasing every day depening on the amount of jobs available.
On the second sheet, I am trying to set up a table which shows the average working days it is taking to complete each stage, divided into the months in which the job position was opened (i.e. for positions opened in january, the average completion working days for stage 1 was X amount of days etc...)
I have tried using =IF(AND(Logical, Logical),TRUE,FALSE) but this doesn't return any info as the logicals will always be false. I tried the OR function, but that requires only one of the criteria to be true to return a value. What I need is for the formula to return a number of days between two dates, ONLY if the opened date falls in one month.
View 1 Replies
View Related
May 27, 2014
1. Calculate the time that has elapsed between 2 times in both hours:min (hhmm) and total mins (mm)
2. Compute the day of the week (mon-fri) a particular date fell on. I really only need to know if the date fell on a weekday or weekend.
table { }td { padding: 0px; color: windowtext; font-size: 10pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: Arial; vertical-align: bottom; border: medium none; white-space: nowrap; }.xl63 { font-size: 12pt; } 1= M-F
2=S-S
3. How to write an If statement that assign a value to time based off this chart:
table { }td { padding: 0px; color: windowtext; font-size: 10pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: Arial; vertical-align: bottom; border: medium none; white-space: nowrap; }.xl63 { font-size: 12pt; } 1= AM (7-1459)
2=PM (15-2259)
3= MN (23-659)
View 9 Replies
View Related
Jun 25, 2014
formula to input to excel to get the dates rolling down in A cell i want it to go A1(1/1/2014) A2(1/1/2014) then a3(2/1/2014) a4(2/1/2014) a5(3/1/2014) a6(3/1/2014) i have a lot of these dates to put into excel
View 5 Replies
View Related
Jul 20, 2006
I have a spreadsheet that shows when individuals completed different events. The events are on top and the names are down the side. There are dates in the middle. I would like to know if it's possible to show a percentage of dates that are current- so take the number of fields with current dates and divide them by total number of fields. I would also like to find a percentag of events complete by each individual.
View 5 Replies
View Related
Jan 21, 2014
I have a table where I assigned Months (Jan-Dec), Current Month YTD (e.g. Nov YTD) and Dec YTD in the column field. Company Name and Year in rows.
For a particular company for example, Co.AAA. The Start Date is Oct 1, 2009 and the contract will end on Sep 30, 2014.
If my current reporting month is Nov 2013, From the table, I need to get the sum up the data that correspond from this dates inclusive in start and end date of Co.AAA.
Inclusive Dates are:
Dec YTD 2013
Dec YTD 2012
Dec YTD 2011
Dec YTD 2010
Dec 2009
Nov 2009
Oct 2009
If this is not possible, what other solution I can use to get the correct number?
View 9 Replies
View Related
Jan 13, 2009
Hi, i need a formula that will return date for Wednesday each week, but if Wednesday is public holiday then return date for next business day
View 9 Replies
View Related
Feb 10, 2014
Report I generate once a month that checks to see if tasks are done on or before their due date. Sometimes it works, and others it doesn't...
The basic formula is: [Code] .....
If they closed their task by or before the due date, the condition should be true and it should output "Compliant" beside their task. Otherwise their "Over Due".
The forumla works except when they close their task ON the due date. No matter how I tweak the forumla, it thinks the condition is false as if it cannot tell when the two dates match.
View 1 Replies
View Related
Jan 28, 2009
I'm trying to make a formula to calculate the difference in a date between two dates. For exaple, in my business we have a due day for something. So the due date could be Feb 10, we need to know if it was done on time, late, or early. So I've gotten it to display late by doing this: =IF(B2>A2, "Late", (A2-B2)) But then I can't figure out how to incorporate this: =IF(B2=A2, "On Time") or =IF(B2<A2, "Early").
I would like to displaly this all in one cell. So if the due date is Feb 10 and it's turned in Feb 8 it's early, turned in Feb 10 it says on time, turned in Feb 11 it's late. I also tried this but it didn't work: =OR(IF(B2>A2,"Late")*IF(B2=A2,"On Time")*IF(B2<A2,"Early"))
View 3 Replies
View Related
Aug 19, 2012
How to create the formula for dates formatted with periods.
Dates are as follows:
01.07.12 - should return as 1-Jul
01.08.12 - should return as 1-Aug
02.08.12 - should return as 2-Aug
View 4 Replies
View Related
Apr 15, 2013
I have 3 columns (Name, Pass Date, Fail Date) Each name will only have 1 date in either column B or C.
I want a formula that will say "if there is a date in the pass column (B) then this name is a pass, if there is a date in the Fail column (C) then this name is a Fail"
View 3 Replies
View Related
Aug 4, 2008
I have been using a formula to count the number of days between 2 dates and if the date was older than 12 months it would work fine.
The data that i was using has been changed and they have decided to change the format of the dates and dropped the year reference no all i have to work with is dates like 27-07 this represents 27th July i can format this date to work fine unless the date falls before 1 jan this year all i get is lots of numbers and it stuffs up the whole calculation.
The formula i am using to compare the dates is
=DATEDIF(N31,$D$1,"d")
View 9 Replies
View Related