# Calculating Days In A Month Between 2 Date Ranges

Mar 14, 2013
I've managed to sort the first half of this issue, in that I can calculate the number of days within a given month which fall inside specified to and from date parameters..

The formula I've used is thus :

Code:

=IF(EOMONTH(A13,0)EOMONTH($I$9,0),0,IF(EOMONTH(A13,0)>$I$9,$I$9-(EOMONTH($I$9,-1)),EOMONTH(A13,0)-(EOMONTH(A13,-1))))))

This examines a date value (A13 in this case) and assess whether any days within that month are between the two date parameters specified in H9 and I9.

H9 = 01/01/2011

I9 = 15/05/2011

Jan-11

31

[Code]....

What I need to do now is specify a second set of date parameters in H10 and I10 and add those into the assessment. The dates will NOT overlap.

So, for example, if I were to set H10 as 01/07/2011 and I10 as 15/07/2011, the results would appear as below

Jan-11

31

Feb-11

28

[Code].....

View 3 Replies
ADVERTISEMENT
Jun 25, 2010

I am having difficulty calculating the number of total overlapping days between several date ranges (6 of them to be precise)

I am using Excel 2003 and my data looks like this:

Sent Out (A) - Received (B)

01/06/2010 13:00 - 30/06/2010 13:00

02/06/2010 13:00 - 16/06/2010 13:00

09/06/2010 13:00 - 10/06/2010 13:00

21/06/2010 13:00 - 25/06/2010 9:44

23/06/2010 13:00 - 25/06/2010 10:56

23/06/2010 13:00 - 29/06/2010 13:00

I really can't wrap my head around the idea of calculating overlap (in network days) between six date ranges and was wondering if any of you would have a solution to this problem.

View 10 Replies
View Related
Jul 8, 2014

I have a list of data that displays data by day, I want to select only the data for the for the current month and then the same day time frame for previous months in the data set.

E.g.

Today's date 08/07

Full days into month 7

Formula to sum data in columns B that only looks at dates 01/07-07/7

I will the adjust that formula for a January date that only pulls data for 01/01-01/07

Then repeat for Feb-June

View 3 Replies
View Related
Jan 6, 2014

I am having difficulty calculating the number of total overlapping days between several date ranges for each item in another sheet which has unique items

I am using Excel 2003 and my data looks like this:

Sheet-1 Sheet-2

Item - Sent Out (A) - Received (B) Unique Item Number of days excluding overlap days

1234 01/06/2010 - 30/06/2010 1234 -

4321 02/06/2010 - 16/06/2010 4321 -

1234 09/06/2010 - 10/06/2010

4321 21/06/2010 - 25/06/2010

1234 23/06/2010 - 25/06/2010

4321 23/06/2010 - 29/06/2010

I have used the below formula found from the earlier post but need to add a condition calculating the days for each item.

=SUM(IF(MMULT((NETWORKDAYS(ROW(INDIRECT(MIN(INT(A2:A7))&":"&MAX(INT(B2:B7)))),2)<6)

*(ROW(INDIRECT(MIN( INT(A2:A7))&":"&MAX(INT(B2:B7))))>=TRANSPOSE(INT(A2:A7)))

*(ROW(INDIRECT(MIN(INT(A2:A7))&":"&MAX(INT(B2:B7))))<=TRANSPOSE(B2:B7))+0,ROW(A2:A7)^0),1))

View 6 Replies
View Related
Aug 29, 2013

At the end of each month, my agency collects data about clients served in our programs. One of the many pieces of information they want is the number of "bed days" a client was residing within our programs for the given month.

For example:

Jon Doe entered the program on 7/16/13 and discharged on 8/15/13. I would like to know how to calculate the number of days in July that Mr. Doe was residing in the program. (The date of discharge is not included.)

I recently took over the responsibility of completing reports such as this one at my office. The previous person who completed the monthly reports would count the days by hand for each client, but I know there must be a better way.

View 6 Replies
View Related
Apr 11, 2014

I am trying to determine a formula that will tell me what the date will be 61 days and 90 days from a selected date. For example:

A1: 04/11/2014

A2: (Date 61 days from date in A1)

A3: (Date 90 days from date in A1)

Is this possible??

View 6 Replies
View Related
Mar 9, 2009

I am trying to calculate dates that will happen 16 days from date specified in column A (A23:A200), based off a certain entry in Column B (B23:B200), which is named in cell P5. I can get the date by doing the specified date + 16, e.g. =IF($B$23:$B$200=$P$5,$A23+16,"")

The trouble I am running into is not having the date populate until it has reached 16 days from the dates in column A, show blank if possible until 16 days from date in column A. The dates in column A will always be previous to todays date.

View 2 Replies
View Related
Apr 2, 2009

I have two columns of dates, leave start and end dates (when people start leave i.e. annual leave). Would need to introduce column(s) to calculate how many days fell within the month including the end date and excludes weekends.

For example, if the staff on leave from 31st March to 6 April, i need to show that the number of leave taken as 1 day in March and 4 days in April.

View 9 Replies
View Related
Apr 21, 2009

I have 5 columns: Employee Name, Start Date, Probation Time, Probation Ends, Benefits Start.

I want the Benefits Start column to populate the name of the month that follows the Probation Ends date.

For example Employee A starts on March 16. Probation time is 90 days. Probation Ends is 6/14/09. The Benefits start date is 7/1/09, however I want this column to just say July.

View 12 Replies
View Related
Oct 19, 2009

I run a small holiday cottage and I want to use excel to tell me which days of the year I get most enquiries for.

Every time I get an enquiry for a certain period in the cottage, I enter the dates into excel.

I have two columns - Start of holiday and End of holiday.

What I would like to do, is give each day of the year one point if someone enquires for it.

e.g. If someone asked for 3rd january to 5 january, I would give 1 point to the 3rd and 1 point to the 4th of january (but not the 5th as that is the day they would leave!)

At the moment I find it easier to count with pen and paper than use excel for this problem.

View 9 Replies
View Related
Apr 1, 2014

Need to calculate the number of days in December between two dates 11/20/2013 and 1/20/2014, how many days are in december? a formula that can calculate this?

View 9 Replies
View Related
Jul 4, 2008

is there a formula that will say how many days there are in a month ?

B9 contains the a refrence to the first day of the month eg 1/7/2008 I want the cell above it (B8) to return 31. If the date reference is 1/6/2008 I want (B8) to return 30.

I'm using it to pro rata by the number of days in a month.

View 9 Replies
View Related
Aug 31, 2007

i'm trying to find a way to distribute days per month between 2 dates. I have found a great exemple that should to de trick but there is still a problem left in it. it gives in the next year (this case '08) an +31 value and a negative value

View 4 Replies
View Related
Jul 5, 2012

Using Excel 2010.

I am trying to come up with a formula that will return a total average from two columns of dates with criteria. The range will need to cover an entire column as my data is continuously growing and the criteria would have to limit the start date to each month. I have tried

=AVERAGEIFS(DAYS360(A:A,B:B),A:A,">5/1/2012",A:A,"5/1/2012",A:A,"

View 2 Replies
View Related
Jan 23, 2012

I have a large spreadsheet which holds lots of data with date ranges that i need to performs different actions to. Any way to identify the number of days, per calender month, that falls in a date range.

sample data...

Start Date

End Date

Old Value

New Value

08/03/2010

18/06/2010

16758.2

16758.1

[Code] .......

I need to break down the total number of days per month

Jan

Feb

Mar

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

24

30

31

18

[Code] ......

As you can see this also laps into a new year, which poses my next problem, ill probably just add more columns on to the end of the table for that though...

I will later apply different calculations to these cells but in short need to get a calculation for the number of days per month first.

(in short spreading the new value out accross the year then multiplying it by the days... i also need to apply a further daily volume cal to it).

View 8 Replies
View Related
Aug 22, 2013

i have attached the spreadsheet

basically I am trying to total this spreadsheet up to work out a sum for the month by customer number. some customers made a payment in jan 2012 and paid again in jan 2013, some paid twice in one month.

what needs to happen is

it needs to have customer number going down and the month/year going across the top with a summary paid for that month

i have attached the spreadsheet.

View 13 Replies
View Related
Oct 30, 2013

I have a a set of date ranges. The start and stop date of the ranges are listed in seperate columns. I need to count how many of those date ranges include a specific month/year. Example data is below.

Start

Stop

Month/Year

[Code].....

View 4 Replies
View Related
Jul 31, 2009

I'm needing a formula that will determine the number of days that fall in a specific month based on a date range. For example, if I have a date range of 10/15/2009 to 01/13/2009, I need the formula to determine the number of days in each month within the range (October has 15 days in the date range; November has 30, December has 31, and January has 13.) I have a large spreadsheet that would be so much easier to manage with such a formula. Currently, my spreadsheet is setup as follows. I need the forumla automatically fill in the number of days under each month.

Stard Date End Date Oct-09 Nov-09 Jan-10 Feb-10

10/15/2009 01/13/2009

I'm using Excel 2007.

View 9 Replies
View Related
May 1, 2006

I would like to create a monthly inventory, based on workdays (Monday - Friday)Myrna Larson has a formula that I would like to use with the workday function, but I don't know how to combine them.

=IF(A1="",A1,IF(MONTH(A1+1)=MONTH(A1),A1+1,""))+ = workday

to fit on the page, I need the dates to be from the 1st to the 15th, and 16th to the 31st. I am not sure how to write this either.

View 11 Replies
View Related
Nov 22, 2013

I want to calculate the end date of my German courses. This is how it works:

A course consists of 60 LU*. The course can occur i. e. three times a week: Monday, Wednesday and Friday. In each day the course lasts 2 LU, which means 6 LU each week. There is no course on Tuesday, Thursday, Saturday, Sunday and on holidays. Therefore this type of course that begins on 18-Nov-2013 will end on 03-Feb-2014.

Another course which occurs Tuesday, Thursday and Saturday, and respectively has 2 LU on Tuesday, 2 LU on Thursday and 3 LU on Saturday and starts on 03-Dec-2013 will end on 06-Feb-2014.

Therefore I want to create a worksheet where I set the start date, choose the days and respectively the LU amount on those days. The end date shall be calculated according to these criteria.

The workday function on excel cannot do this and I do not have any programming skills to work with VBA.

Legend:

*LU = lesson units; 1 LU is 45 minutes

Holidays:

28-Nov-13

29-Nov-13

08-Dec-13

09-Dec-13

25-Dec-13

31-Dec-13

01-Jan-14

[Code] ...........

View 7 Replies
View Related
Oct 2, 2005

function in a spreadsheet that will list all of the days in

a given month automaticaly with the entry of the 1st of the month only.

Ex;

10/01/05 entered dated

10/02/05 auto fill

10/03/05 "

. "

. "

10/31/05 end of auto fill

I would like the function to stop filling dates at end of the month even for shorted months such as Feb.

View 10 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
Sep 15, 2008

What I would like to do is insert a formula into column E that would calculate the number of days from when the count is at 50 to when the next count is i.e. for part 6689841 the time between when the count was 50 and when it was at 20, so the difference between 21/01/2008 and 08/08/2008 in the above example. It does not matter what the count number is (it could be any number except 50), I'm only concerned with every time the count is at 50 how long it is until the next count and to show the result in days.

View 9 Replies
View Related
Apr 2, 2014

I know how to calculate the duration elapsed between start and finish time. But how can I display the total time if for eg it's ends up being 300hrs?

I need the hours spent in the building per day and then the grand total per month.

View 1 Replies
View Related
Dec 12, 2008

I have a spreadsheet where I record individual staff start time, end times and the length of their break. From this I caculate the hours they worked for the day.

E holds Start, F holds End and G holds Break length. Thus using the following forumula gives me the number of hours and minutes:

View 4 Replies
View Related
Mar 9, 2007

I am trying to calculate the number of days that items are were held in inventory as of a given date. See below for some sample data.

'As Of' - the date in question

# Holdings - Using sumproduct to find items bought on or after the date AND sold after the date

Held Days - ? Total number of days that the six items were sitting in inventory as of the date.

As Of #ItemsHeld Days

5/21/98 6

ItemBoughtSoldTotal Inventory Days

19/3/919/3/961827

21/2/921/2/971827

31/2/921/2/971827

43/2/928/21/951267

55/1/925/1/971826

65/1/925/1/971826

View 9 Replies
View Related
Nov 3, 2008

If I had two dates in two separate cells , so E2 is the 01/10/08 and F2 is 06/10/08 and I want to work out that their is a difference of five days what would the sum be? Also is there anyway I could factor into that sum what is pure working days as opposed to weekends?

View 9 Replies
View Related
May 27, 2012

There are dates in column C and I need to count how many days are coming due within 90 days of each date based on the today() function but do not exceed the 90 days.

Countif Today()+90

View 5 Replies
View Related
Mar 14, 2014

I am making process TAT(Turn Around Time) which required following information. In Excel 2007.

1-Count number of days between two dates where working days are (Sun to Thursday). So required to exclude (Friday,Sat + Holidays)

A1-Start Date Mar/01/2014

B1-End Date Mar/31/2014

C1-No Of Days 22

D1-Days between two dates 21

E1 To E10-Holidays

2-Count number of days between two dates where working days are (Sat to Thursday). So required to exclude (Friday + Holidays)

A1-Start Date Mar/01/2014

B1-End Date Mar/31/2014

C1-No Of Days 27

D1-Days between two dates 26

E1 To E10-Holidays

Note : Any weekend (off days) dates listed in holidays should not effect the query.

View 9 Replies
View Related
Dec 3, 2013

I am trying to calculate the time elapsed. I have included a caption to show my formula. The problem I have is that some times are showing > 60 minutes instead of increasing the hour. When my day go over the midnight hour I get a negative number.

View 11 Replies
View Related