Subtracting Dates :: Percentage Of The Days Worked
Dec 1, 2008
I have a minor assignment at work. The manager has given me a sheet that lists each employee's start date, and he wants to know what percentage of them have worked here for more than 30 days, 60 days, 90 days, etc. I know a long way to do it, but there's several hundred names, and there must be a quicker way. Is an array formula the answer? I need a non-VBA answer, but I'm not opposed to learning a VBA method (no pun intended).
View 9 Replies
ADVERTISEMENT
Sep 19, 2007
I wish to subtract the date 11/18/1877 from 11/16/1968 to get a result showing the number of intervening days but excel does not want to do it.
When I take 11/18/1900 from 11/18/1968 and format the result to get a number with no decimals the result is 24835 as it should be; but it does not seem to work for dates earlier than 1/1/1900.
View 9 Replies
View Related
May 21, 2009
This is probably a very simple problem that has me going around in circles. I am attempting to set up a time roster, where I simply want to check:
If "end-time" minus "start-time" is greater than 4:00 (hrs), then deduct 00:30 (minutes) and place that result in another cell.
If it is not greater than 4:00 (hrs) then leave unchanged. I have read thru countless examples on the Forum - but I think that such great learning is driving me mad. Although I do believe that I have the correct format [h].mm - but attempts with IF's have got me confused. This is one of those "Looking down the tunnel towards the flickering light" moments.
View 5 Replies
View Related
Sep 1, 2007
I'm basically looking for a forumla that will count each employees total scheduled work days for the month inserted and then depening upon the day it is will show how many days the employee has left to work for the month.
View 9 Replies
View Related
Feb 13, 2013
I wanted to determine the number of days between two dates. Specifically, if the initial date is in one month, and the second is in a different month and an output would result a number of days in each month until the final date. BUT I have a large amount of data to do this for in a list view, way to put a formula in excel and just drag down the entire list to get the required information. see below for an example.
The result I'm looking for is the separate the months and only show the relevant months between the two dates in one cell or the adjacent. Something similar to the table outlined below.
Input Data
Result
Start Date
[Code]....
View 3 Replies
View Related
Apr 25, 2012
I'm have problems workdays in a month. I have highlighted errors in red.
Sheet1
ABCDEF1JoinedPosition EndJan-12Feb-12Mar-12Apr-12213/06/1101/01/1222212221331/01/1122/03/1322212221419 ...
View 3 Replies
View Related
Oct 8, 2008
I need to create a formula that calculates the number of days a person has worked within a quarter, if they have also left the organisation within the same quarter.
For example, I have someone who left on 26/08/08. I need to establish how many working days this person actually worked within the quarter (01/07/08 - 30/09/08). I need to do this for a large number of staff, so would appreciate it if anybody can let me know whether there is a formula that would calculate this.
View 9 Replies
View Related
Aug 11, 2009
I need to be able to calculate the actual number of days worked for an employee over a specific date range. I have a data sheet containing employee, transactions, and date of transaction (date only, does not include time). The actual number of days worked may fluctuate due to time off or holidays, so I need to be able to calculate this individually by employee. For example, with columns Employee, Transaction, & Transaction Date:
123 ABC 07/01/2009
123 ABC 07/02/2009
123 DEF 07/02/2009
123 GHI 07/02/2009
123 ABC 07/03/2009
123 ABC 07/07/2009
123 DEF 07/07/2009
123 ABC 07/08/2009
123 ABC 07/09/2009
etc....
Should return 4 work days for employee 123 over the date range 07/01/2009-07/07/2009
View 9 Replies
View Related
May 24, 2009
A B
1 4/1/09 12:15
2 4/2/09 10:00
3 4/4/09 8:10
4 4/6/09 9:00
5 4/8/09 5:00
6 4/11/09 7:00
I need to add up hours worked of last 3 days including current day. The date column does not contain everyday's date. How do I formulate a cell for date entry and another cell will show the sum of last 3 days including date not shown and date entered? E.g. If I enter date 4/6/09, result should be 17:10 hrs; 4/11/09, result should be 7:00.
View 9 Replies
View Related
Oct 16, 2009
I am trying to calculate the number of days since an employee worked. Column A has the date and columns B,C, and D show the name of the 3 employees who worked that day. Each row shows the next day in column A with the three employees who worked that day in columns B,C, and D. I need the format of the excel sheet to remain the same. I'm looking for a formula that will calculate the number of days since each employee has worked...there are 10 different employees and only 3 work each day.
View 19 Replies
View Related
Mar 27, 2009
What would the formula be for subtracting two dates to get the numbers of years, months? I cannot get my formula to work.
Also, can Excel take a telephone number such as (555)-555-5555 can place the phone number in another field such as 555-555-5555?
View 9 Replies
View Related
Feb 22, 2010
On my worksheet I have a date of birth formated yyyy-mm-dd. On my form, I want to be able to identify anyone younger than 16. I tried subtracting from today's date on the worksheet, but that didn't work too well for me.
View 2 Replies
View Related
May 30, 2007
I have a weekending date. I would like to subtract X amount of weeks from this date and end up with the weekending date less the weeks I subtracted.
View 10 Replies
View Related
Apr 17, 2012
I am trying to subtract 45min from the time 00:05, but the result i am getting is 0:40 which is wrong.
I am using below formula.
=TEXT(ABS(B3-$A$3),"-h:mm")
Actual timeTime minusResults00:0500:45-0:40
View 1 Replies
View Related
Mar 10, 2008
1) To be able to get the current date in the format of 3/10/2008
2) To be able to take dates from 2 cells and get an integer value for the number of days between the two dates
View 9 Replies
View Related
Apr 20, 2009
I attached an excel file for an example. Basically I am calculating on time shipping, but I want don't want Saturday and Sunday to coun't against us.I need G5 to equal 3 days. Right now when I subtract E2 from F2 I get 5 days. But we only work M-F, and Saturday and Sunday shouldn't count against us. How would I subract the days automattically, so it takes out Saturday and Sunday?
View 10 Replies
View Related
Sep 27, 2006
Does anyone know why I get a type mismatch on the following? I am trying to subtract one time from the other to get the total hours worked.
Sub WorkedHours()
Dim vStart, vEnd As Date
Dim vHours As Integer
vStart = "11/09/06 22:00"
vEnd = "11/09/06 23:30"
vHours = (vEnd - vStart) * 24
End Sub
View 3 Replies
View Related
Jul 11, 2009
How can I change the ....
View 14 Replies
View Related
Feb 23, 2014
Here is my set up:
A2 to BF2 is a range of dates
A3 to BF3 are sales. Days without sales are 0.00
I want to pick a range of dates and find the number of days without sales between those dates. So, a formula that will look to a start date in A1 and an end date in B2, and then count the number of days that did not have sales between. Index/Match/Countif/Dateif I can't seem to make anything work.
View 3 Replies
View Related
Jan 15, 2009
Today I am having a very annoying problem that really has me stumped – I need to work out the lag between a Due Date and Delivered Date
But as people sometimes manage to deliver on the Due Date it needs to show a zero (as in they got it in on time) but using the formula below the result is a 1 and I want a zero
Can anyone help me please? I have tried putting assorted -1s in to the formula and it looks like it might work until I copy down and find that if a person delivered one day early the result shows -3 for example!
View 7 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
Feb 21, 2013
Is there a way to conver a persons time spent (given in weeks) to adjust/convert to show per month. Attached is the sheet. Do note that week 2/25 - 3/1 is a combination of Jan and Feb so hours should be logically divided into jan and feb...
Name 2/18 - 2/22 2/25 - 3/1 3/4 - 3/8 3/11 - 3/15 Feb mar
Tom 40 10 0 20 ?? ??
name
2/18-2/22
2/25 - 3/1
3/4 - 3/8
3/11-3/15
Feb
Mar
tom
40
10
0
20
??
??
View 3 Replies
View Related
Jun 16, 2008
I have been using: =DATEDIF(A1,B1,"md") & " days" to calculate the difference, in days, between two dates in a speadsheet, however, the number of formulae in the spreadsheet now is cumbersome so I'm trying to put it together in VB.
View 2 Replies
View Related
Feb 11, 2014
I have an excel spread sheet with columns of dates I am trying to get an average formula that counts dates less than a year old as 1 and blank cells and dates greater than a year old as 0 and then gives me a percentage. For example I have a column with 10 dates all less than 1 year old I would get 100% but if I had a column with 8 dates less than a year old and 1 dates older than a year, and 1 blank cell, I would get 80%
Is this possible at all, or do I have to calculate the percentage for each column individually.
View 9 Replies
View Related
Jun 4, 2014
So, it is for a hotel, I need to know to know between a Check-in and a check-out date, each day (monday, saturday) there is. In depending it is for one night or 12.. I will try to be clear: Depending on the channel of booking and the day of week we have a % of commission different. so I want to put the price in one cell and it is calculate for each date in order at the end I have the right net profit (because the right commission has been applied). Of course to complicate the commissions do not apply in the same order depending the channel and there are fixed costs which are count one time or repeat by the amount of nights. For the these things what i did seems work.
After, my boss would like to link the dates with another excel file which say for each date which "level of price" (price point) is applied and function of this Price Point we have the price applied per room type and offer
But for now, I didn't find anything what can say to me between 2 dates what dates are between...
View 2 Replies
View Related
Jun 18, 2014
How to find the difference between 2 dates in days ,eg,12/10/14 and 14/10/14 = 2 days on a spreadsheet.
View 4 Replies
View Related
Oct 9, 2007
a count formula.
Right, Column A on my sheet is the date that the work was completed. First thing is I need to be able to count how much work was completed per month. (I dont know why we have it all in one big sheet rather than monthly sheets but thats too logical!)
Secondly, column I is the number of days that piece of work took to complete. I need to be able to have a formula that looks at the month the work was completed, then total up the number of days that the work took.
(Example, if I have three bit of work completed in October, 1 took a total of 20 days, 1 took 15 and 1 took 10 it would = 45 days)
I know that this should be possible as I've had Excel doing more complex formulas than this.
View 14 Replies
View Related
May 24, 2007
I have a start date (say 01/04/07) and I need to add a number of days to it to get the start of the next financial period. Unfortunately, I need to ignore a small list of dates (bank holidays, etc).
View 9 Replies
View Related
Nov 10, 2008
I am trying to set up a function to derive a number of days between 2 dates.
Within the table I have an on hire date, and off hire date, and an optional suspend hire date range in 2 other columns - ie. there are 4 columns with dates in.
On hire is in column B; offhire in C; suspend hire in G and recommence hire in H. The optional suspend hire date range will always fall within the main hire date range.
Column I calculates the number of days for the suspend hire period.
My key cut off date is in cell C4.
There are 3 different scenarios I need the function to cover.
1 - if the cut-off date (in C4) is later than recommence hire, calculate the number of days from hire start to cut-off date, less suspend hire period days.
2 - if the cut-off date (in C4) falls within the suspend hire period, calculate the number of days from the hire start to the begining of the suspend hire period.
3 - if the cut-off date (in C4) falls before the suspend hire period, calculate the number of days from the hire start to the cut-off date.
This is the fuction I have written:-
=IF($C$4>H10*($C$4-B10-I10),
IF(AND($C$4>G10,$C$4
View 9 Replies
View Related
Apr 8, 2009
I have a formula in column E: =NOW() for the date.
I need a Formula in Column H from H11:H300 such that:
i) when a date is entered in G11 the number in Cell H11 should be a difference between G11 and D11 as in rows 11, 13, &14 and
ii) Until a date is entered in cell G11 the difference should be between E11 and D11 as in ROW 12
Below is an example of what I want.
D E F G H8 Date Days9DateStatus as of Expected ActualTOTAL10out of order8-Aprin orderin order114-Mar8-Apr14-Mar101210-Mar8-Apr29134-Mar8-Apr6-Apr33141-Mar8-Apr31-Mar30
View 9 Replies
View Related