# Number Of Working Days Between 2 Dates

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

## Number Of Working Days Between Dates

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.

## Formula For Working Out Number Of Days Between Dates Excluding Weekends?

Aug 6, 2012

I want to create a formula that works out the number of days between two dates but excludes weekends?

## Count Working Days Between 2 Dates, But Return A Zero If The 2 Dates Are The Same Day

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!

## Pull Forward The Dates By 3 Or 5 Working Days

Apr 15, 2009

I have a spreadsheet stating a date that my company will deliver a product by but due to a set of certain circumstances we need to pull forward the dates by 3 or 5 working days. Basically it needs to show the dates below but minus 3 days unless this includes non-working days (i.e. weekends)

01/01/10
02/01/10
03/01/10
04/01/10
05/01/10
06/01/10
07/01/10
08/01/10
09/01/10
10/01/10

## Pick Range Of Dates And Find Number Of Days Without Sales Between Those Dates

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.

## Working Out The Number Of Days A Job Has Taken.

Jan 28, 2009

I have a table with 2 date columns, and I need to subtract one date from another to give me the number of days the job has taken, but this also needs to exclude the weekends. There is no hours involved.

I.e.
Start Date Finish Date Days Taken
22/Jan/2009 27/Jan/2009 4

Is there a formula that i can use to work out the days taken.
there is multiple rows of information, the above is an example.

## Count Number Of Working Days

Nov 26, 2013

Create a formula to count number of days an employee work (in 25 working days and 5 Friday as rest day month):

Example:

If employee works 25 days during weekdays he will get counted as = 30 days
If employee works only 22 days during weekdays with 3 absences during weekdays he will get counted as = 27 days.
If employee works from 1st to 24th and 25th to 30th absence he will get counted as = 24 days.

Other examples and output desired I attached here: Sample.xlsx

## Conditional Formatting For The Number Of Working Days

Jan 7, 2009

I am trying to do a conditional formatting for the number of working days. What I am trying to do is:

Example:

As in the row D7 I give the actual workdays required to finish the task the Gantt Chart gets a specific formatting on the right appears for the number of working days.

Problem:

I want to avoid the formatting if there are any weekend (Saturday or sunday)

Suppose I give number of working days as 20 then there would be 6 weekend days so it shall add to the overall actual working days but again sinnce we are adding 6 additional days one more weekend day would come in between so the formatting shall take care of this.

## Calculate Number Of Days Between 2 Dates And Then Assign Number Based On Answer

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.

## Add Number Of Days To Dates

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).

## 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

## Number Of Days Between Two Dates

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

## Dynamic Dropdown List And Calculation Number Of Working Days / Weeks Remaining

Oct 30, 2013

I'm currently trying to set up a sheet ...

When setting up a Direct Debit There are 3 options, the 7th, 17th and 27th. I've put these into a drop down list. I need this list to be slightly dynamic. I must allow 10 working days from the date of the arrangment before I can apply the DD.

To explain further. If someone were to want to set up a DD and spoke to me today. If they then requested the DD be taken on the 7th, I wouldn't be able to set it up until the 7th of December as 10 working days are required. I'd like the list to reflect this. I can do it in OO with a simple if / switch but excel is a strange creature and I'm not sure how to approach the problem.

From that I think I also need to calculate the number of weeks remaining in the current financial year. I think I should be able to do this by using the Today() function and some maths.

## Calculate Number Of Days Between Two Dates?

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.

## Find Number Of Days Between Two Dates

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.

## Count Number Of Days Between 2 Dates

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.

## Calculating The Number Of Days Between Dates

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.

## Count Number Of Days Between Two Dates

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

## In Dates Count The Number Of Days

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?

## Calculate Number Of Days Between 2 Dates

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

## Calculating Number Of Days Between Dates

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

## Days Between Two Dates Separated Into Days Per Month For Multiple Dates - Excel

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]....

## Difference Between Dates And Times In Days , Hours Mins ( Working Hours )

Mar 2, 2010

The below formulae allows me to see the difference between two dates and only returns the difference in working hours ie :
Difference between
02/02/2010 08:00 & 03/02/2010 08:00 is 16 Hours 0 Minutes

=(INT(A3)-INT(C6))+MAX(MOD(A3,1)-MAX(MOD(C6,1)))

The following displays it in the Hrs and Mins format

=TEXT(B15,"[h]")&" Hour"&IF(OR(TEXT(B15,"[h]")+0=0,TEXT(B15,"[h]")+0>1),"s "," ")&MINUTE(B15)&" Minute"&IF(MINUTE(B15)1,"s ",""))

## Average Number Of Days Between Array Of Dates?

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.

## Calculate Number Of Winter Days Between Two Dates

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?

## Count The Actual Number Of Days Between 2 Dates?

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.

## Calculate Number Of Days Using 2 Sets Of Dates

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?

## Count Number Of Dates Older Than 30 Days

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.

## Calculate Number Of Week And Days Between Two Dates?

Sep 28, 2011

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