# Number Of Days Between 2 Dates

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
ADVERTISEMENT
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
Mar 22, 2014

How to create a spreadsheet with what I think will be a very simple formula?

If date in B2 - date in A2 is 1 or less days, put a 1 in cell C2.

If date in B2 - date in A2 is 7 or less days but more than 1, put a 2 in cell C2.

If date in B2 - date in A2 is 30 or less days but more than 7, put a 3 in cell C2.

If date in B2 - date in A2 is 90 or less days but more than 30, put a 4 in cell C2.

If date in B2 - date in A2 is 91 days or more, put a 5 in cell C2.

OR

Another, maybe simpler, way of saying it is:

If date in B2 - date in A2 is 1 or less days, put a 1 in cell C2.

If date in B2 - date in A2 is 2-7 days, put a 2 in cell C2.

If date in B2 - date in A2 is 8-30 days, put a 3 in cell C2.

If date in B2 - date in A2 is 31-90 days, put a 4 in cell C2.

If date in B2 - date in A2 is 91 days or more, put a 5 in cell C2.

View 9 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
Jul 3, 2007

I couldn't find a solution to my problem in the forum: Is there are formula that will allow me to calculate number of days between two dates? The date format is eg. 07/06/07

View 3 Replies
View Related
Jul 29, 2014

I am trying to calculate the number of days between two dates where the arrival date is in b5 and the departure date is in c5 for each month. I have been using the following formula =IF($C5="","",MAX(0,MIN(L$1,$C5)-MAX(K$1,$B5))) but when the stay is a full year it is giving me 365 in a single column. I think maybe I need to add in the number of days in the month but not sure how to do it.

View 2 Replies
View Related
Apr 17, 2014

I have attached a workbook for example, the dates im looking to find difference between is marked in yellow...Need result in column E, would be nice with a formula you can just drag down...

Tried doing this myself, but the dates have weird formatting in these documents, so not sure how to deal with it.

View 9 Replies
View Related
Oct 10, 2007

I'm currently working on a file that has employee holidays/sickness etc. What I want to do is be able to see is a DATE FROM and DATE TO and next to it the total amount of working days between and including those dates. On top of the since employee's sometimes like to take half days I need it so that it can determine half days as well.

So for example I have an employee going to be off work from 29/10/2007 until 09/11/2007 12pm which is 10.5 days in total, but that includes weekends when I don't want it to.

Also it comes out as 11 days at the moment because I can't figure out how to get it to determine is it is half a day.

What formula should I use or if someone could create an example that would be really usefull :D

View 12 Replies
View Related
Mar 17, 2009

I have a question, does anyone now how to count between dates, for exemple :

01-02-2009

15-02-2009

22-02-2009

25-02-2009

03-03-2009

11-03-2009

And i wont only to count between 01-02-2009 / 28-02-2009, the result it will be 4.

View 14 Replies
View Related
Aug 5, 2008

I need a formula that will allow me to put a date in cell a2, and in cell a3 put the the number of days between 2 dates. Example.. For example (A2) shows 08/06/08, a3 to show the number of days from 08/06/08 to 08/14/2008--(a3 )14 and (a4) to shows the number of days from 08/06/08-10/05/2008 ---(a4) 60 days.

View 5 Replies
View Related
Mar 28, 2014

Need a formula (E1) to determine the number of days that have passed between two given dates (C1 & D1) ONLY when the Status of a given report (B1) is "Late"

B1 = Status (Pending; On Hold; Late; Completed) (i.e "LATE")

C1 = Status Date (i.e. 28 Mar 14)

D1 = Deadline (date) (i.e. 25 Mar 14)

E1 = Total Days Late (= ?)

Note: I'm using Office for Mac 2011

View 1 Replies
View Related
Jan 5, 2007

I have a range of dates. i would like to count the number of days that are earlier than the date =TODAY().

Do i use the COUNTIF function?

View 9 Replies
View Related
Jul 28, 2009

I have a start date formatted as dd/mm/yyyy in cell A5

I have an end date formatted as dd/mm/yyyy in cell E5

In cell F5 I would like the result of the number of days between E5-A5 (Excluding weekends)

In cell G5 I would like the total number of days in the range F5:F25

In cell H5 I would like the total number of working days from A5 to Today

I am using the following formula to get the result in F5 etc

=SUM(INT((WEEKDAY(A5-{2,3,4,5,6})+E5-A5)/7))

I have copied this down and in the blank cells I get #NUM!

In cell F? were there is no date entered in cell E? I get a minus number (which I can hide using conditional formatting), but the minus number obviously has an affect on the result in G5, as cell G5 gives me #NUM! instead of the result for the current numbers in row F

View 9 Replies
View Related
Feb 7, 2007

is there a way to calculate the number of days between two dates using the excel cells

example.....how do i put in formulas so excel will calulate the number of days between May 3rd and september 19?

i want to enter may 3 in say a1 then sept 19 in a2 a3 should says days between em

View 3 Replies
View Related
Apr 18, 2007

I need to work out the number of working days between 2 dates, where the working week is Monday to Thursday, ignoring all bank holidays etc.

View 2 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
May 6, 2014

I'm working on building a workbook to track sales progress, and I'd like to perform an analysis on some of the data with regards to sales efficiency.

To simplify:

Column A = Initial Contact Date (mm/dd/yyyy)

Column B = Close Date (mm/dd/yyyy)

As an example, I would like to calculate the average number of days between the Initial Contact Date and the Close Date to calculate the average number of days in the prospecting cycle. Basically, the formula should function as AVERAGE((B1-A1)+(B2-A2)+(B3-A3)...) and so on for the entire column.

I know one solution would be to insert a new column that performs the subtraction between the two dates, and then I could AVERAGE this new column. However, I want to perform similar calculations to analyze the time period between other key milestones in the prospecting cycle - rather than have a lot of extra columns in my sheet, I was wondering if there's some type of array formula that will calculate what I need.

View 2 Replies
View Related
Dec 11, 2013

I'm looking for the formula to calculate the number of winter days between two dates.

Say, that I'm having:

- Winter season start date (say Dec 1st)

- Winter season end date (say, March 1st)

=> All the days which are between these two are considered winter days for any given year.

- Two different dates defining the beginning and the end of my PERIOD. The total length of the period may be more than one year.

HOW do I calculate total number of winter days for the PERIOD?

View 13 Replies
View Related
Jan 23, 2014

I need to count the actual number of days between 2 dates but excluding Sunday...

For example,

Start Date-----End Date-------# of Days

01/Jan/14-----23/Jan/14-------20 days (excluding Sunday)

In some cases, Holiday also to be removed i.e. 01-Jan-2014 is holiday, then the # of days should be 19 days.

If I use Networkdays formula, then system results excluding both Saturday and Sunday. But I want to remove only Sunday.

View 5 Replies
View Related
Jun 4, 2009

I'm new here. I've searched these forums in the past for help, but never had to post, i've always been able to find something by searching. However, this time I couldn't find anything that addressed my specific need so I figured it'd be worth a shot.

Alright, I have two sets of dates, and i'm trying to set up a formular that calculates the numbers of days from the first date range that overlap/fall within the second date range.

For example:

In A3 type "1/1/2006"

In B3 type "1/1/2007"

In C1 type "6/30/2005"

In C2 type "6/30/2006"

Now, in C3 i'd like to insert a forumla that tells me how many days in the date range of 1/1/2006-1/1/2007 fall in the date range of 6/30/2005-6/30/2006. Basically for this is should be half the year, however many days that is.

Is this possible with a formula?

View 10 Replies
View Related
Nov 12, 2008

I need to figure out how to tell Excel to count the number of invoices on a worksheet older than 30 days and display that number in my Summary worksheet. Here's a quick example:

Worksheet '1234' has 10 invoices, 6 of which are more than 30 days old (invoice dates are in column B). Worksheet 'Summary' needs to display the total number of invoices and the number older than 30 days.

View 2 Replies
View Related
Sep 28, 2011

Any example of counting the # weeks/days between two dates?

View 1 Replies
View Related
Oct 31, 2013

We want to count the numbers of days between two dates however of 2nd date is null...count till todays date

If ActivityType is "E" and DDate is null Count number of days from EDate till Today().

If ActivityType is "D", Count number of days between EDate and DDate.

Column F is the desired result, Number are asuming todays date is 10/31/2013

[Code]....

View 5 Replies
View Related
Dec 31, 2013

Calculating Number of Business Days Between Two Dates?

View 9 Replies
View Related
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
Apr 19, 2006

I have a spreadsheet where I have an intial date of issue of a warrant. Once this warrant has been executed, then a further column is populated with the date. The data I need to work out (Preferably without using macros if possible) is, if there is no execution date the length of time from issue to todays date, but if there is an execution date then length of time from issue to execution. I can do either on their own, but i would like to have only one column showing this info and if possible to update each time the sheet is opened

View 6 Replies
View Related
May 16, 2008

As I searched I see that JD "Julian Day" started from '4713/01/01' BC, counted 1 noon at noon. and suppose we are now in '2008/05/16', what is the algorithm of finding the days from '4713/01/01' BC through '2008/05/16'?

View 4 Replies
View Related
Feb 3, 2014

I have been using Excel to display, sort and present data in a professional way. I have created a pivot table with two columns below. Column C indicates the start date. Column D indicates the completion date. Blank cells show live data. I need to determine the number of days. 1) That have been - completed - a) That were < 2 Days, b) >2 but less than a week, c) > than a week (all). I have used the following formulas. a) countif(D4:D61, "<3"), b) countifs(D4:D61, ">2", D4:D61, "<=8"). Easy for completed data. My problem is, how do I determine the number of days, live data that following the same queries as above. I have figured out I can use countif to count the number of blanks by - countif(D4:D61, "(blank)") but how to put it all together and what formula should I use. I am trying to use countifs or if statements but am totally lost.

Column C Column D

---------- ----------

06/01/2014(blank)

25/11/2013(blank)

13/12/201314/01/2014

27/12/201317/01/2014

27/12/201310/01/2014

View 2 Replies
View Related
Mar 19, 2014

I have two date columns, a start date and end date. Another columns tells me the number of days between these two columns. It may return 45 days which actually straddle 3 different months.

My aim is to identify between this date range how many days in Apr 14. Then in the next column howmany days in May 14 etc

So on the spreadsheet Id have 12 columns for each month of the year. in Apr 14 for each row between the given date range I want it to tell me how many days are actually in April. Id then copy that formula into the May 14 column.

View 1 Replies
View Related
Nov 26, 2009

I was calculating the number of days between two dates using the Days360 function. However, now it is not accurate enough for me... Is there a function that is more accurate? based on 365 days and includes leap years... that I could use as I need this calculation to be exact? For example, number of days between April 1st, 2010 and August 31, 2012 is 884, but the days360 function returns 870.

View 4 Replies
View Related