# Counting Dates That Fall In A Specific Week Of The Month

Feb 2, 2009
Please see the attached xls file so see what I am referring to.

I have shipments that are going to different destinations (rotterdam, austria, london, etc.)

I would like to count the arrival dates in column H that fall under each week's span, but ONLY IF its corresponding value in column F is 'rotterdam'.

Column C contains the ideal numbers that I would like column B's formula to return. I plan on doing this for the entire year, but if someone can some up with a formula, I might be able to modify it for the rest.

Note: This is only an example spreadsheet, I am going to be referencing an external file with much more information on it.

View 6 Replies
ADVERTISEMENT
Jan 23, 2009

I have items arriving on certain dates (the dates are listed in column N)

In the cell to the right of each month, I want to have a formula that will count the dated cells in column N that fall under each month.

i.e. In cell B5, next to January, I want to display the total number of cells that contain a date in January (ultimately giving me the number of items that arrive in January) the number would read '5' because there are 5 dates in January that are in the list.

View 9 Replies
View Related
Jan 20, 2010

I want to use a COUNTIF to return the sum of all the dates that fall within a given month/year. For example: E1 Contains the date July-2009

Column A has date entries such as July 3, 2009, July 18, 2009, August 4 2009. In F1 I want to return the sum of all dates that fall within the month of E1.

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
Feb 11, 2013

Within a user entered range of two dates, I would like to identify the individual calendar date(s) and count the number of Mondays which fall within the specified date range.I will eventually be using the same "Monday" code to find the same data for every day of the week within the dates ranges, but I figured I'd start with Mondays and build from there.

For Example: Date range 1/1/2013 - 1/15/2013 (date ranges could potentially encompass a full business quarter) Within the range, list each of the dates as dates. (used for comparative counting purposes elsewhere in the document)Count the number of Mons, Tues, Weds, Thurs, Fris, and Sats within the date range.Based on the example date ranges above; Mons = 2, Tues through Sats = 3 each.

View 2 Replies
View Related
Dec 1, 2012

In a sheet I enter the following:

... in A1 a year (say 2012)

... in A2 a month, formatting as "MMM" (JAN, FEB, MAR etc.)

How to automatically get in column A (say from A3) all the dates of the month entered, formatting as "D/M/YYYY" (e.g. 1/1/2012, 2/1/2012/ 3/1/2012, etc.)?

View 3 Replies
View Related
Nov 18, 2013

How do I auto fill a series of 2014 dates in the row below the weekdays? I have a row C5 that has a series of auto fill weekdays successfully for 2014. I can't seem to auto fill the weekdates in the row below. I have to make manual adjustments for each Monday, and for the correct month ends, etc.

View 8 Replies
View Related
Jul 28, 2009

Need a solution for calcuate a week in user enterd date?

Example

A1 A2

07/01/2009 1

07/01/2009 5

View 9 Replies
View Related
Jul 6, 2012

I have collumn with different dates. I would like to count number of date with specific month in them (for example "june"). I tried it with if function, but something is missing.

Example of data:

1.6.2012

3.6.2012

9.6.2012

30.6.2012

[Code]...

My function: =SUMPRODUCT(IF(A1:A9;IF(MONTH(A1:A9)=6;1;0))) what shoud I correct or of better function?

View 9 Replies
View Related
Aug 22, 2014

I am trying to create a graph that is conditional on two different columns. The first column is a date column, the second column has various categories. I want to show how many times each category appears per month. This database is continually added to so I wanted the formula to reflect the entire column range.

For example, let say I have 5 categories (Grapes, Apples, Peach, Pear, Banana). Column A would show a date (in a M/D/Y format) and Column B would list the fruit type. I want to show how many Grapes were input in January, February, March, etc. and then move on to show how many apples in each month, and so on.

View 5 Replies
View Related
Aug 7, 2008

I have a spreadsheet in which I have a date column. I would like to be able to count the number of cells that fall within a specified date range and am struggling to find a formula that works.

I've tried - =(COUNTIF(North!N:N, ">23/05/2008")+COUNTIF(North!N:N, "

View 9 Replies
View Related
Jul 10, 2009

I want to create a function that will check 2 user input dates (and anything in between) to see if it lies in a defined tax year. I will define the tax year in Cells A1: 6/4/2009 and A2: 5/4/2010 and ask the user to input dates in Cells B1 and B2 to check if any of these dates (or anything in between) falls between A1 and A2.

For example: Tax Year is 6th April 2009 - 5th April 2010, Cell A1 is 6/4/2009 and A2 is 5/4/2010. User inputs 2nd March 2009 in Cell B1 and 10th May 2009 in B2. Because the 10th May falls in the tax year the output should be "True". I can Excel to check one user defined number (Cell B1) using this =IF(AND (B1>=A1,B1<=A2),"Yes","No") but not sure which route to take to check 2 numbers B1 & B2 and anything in between.

View 2 Replies
View Related
Jul 23, 2009

This may be a two part question, I finally was able to build a calender contol to insert dates into a active cell, now what i am trying to do is be able to restrict the usage of certain dates. For instance, dates prior to the current date cannot be chosen, nor dates that fall on 29th, 30th and month depending the 31st. Is this possible? Its is being used to calculate amounts for certain days, for example the calender object places a date in Cell A1, which falls between 1st-28th, another column also has a date option, the date to be chosen cannot be before todays date, and cannot be after the 28th of any given month. Is there a way to restrict in the calender or would a if statement apply? OR would a more simple approach to use data validation? where as (A1=MM, B1=DD, C1=YY) so that D1=A1/B1/C1 ie. 07/22/09, so that when using D1 it would be a date format. which would be the start date and E1,F1,G1 for a new date, then use conditional formatting to restrict or prevent choosing dates before TODAY() for the second date colums, I know a message could be displayed for it if it is less then/prior to the current date, or should i have the data validation adjust (if at all possible)for the first set of date options?

View 11 Replies
View Related
Jan 29, 2013

My problem is , I have a date range 21-Feb-2013 till 07-Mar-2013 (Col C2, Col D2 respectively) which is holiday list for a person.

I am trying to pull out the number of working days for that person in the month of Feb which should exclude weekends.

To get the total no. of working days for the month of Feb, I have used the below formula.

=NETWORKDAYS(DATE(YEAR(C2),MONTH(C2),1),EOMONTH(C2,0))

This gives me a value of 20 which is correct.

Now I need to find no. of days which fall under the month of FEB from the date range 21-Feb-2013 till 07-Mar-2013 (Col C2, Col D2) which are working days. so that I can subtract that from no. of working days for that month (FEB) to get the no. of working days which the person has actually worked.

View 3 Replies
View Related
Jan 24, 2013

I have to columns of data

Date and number

4/1/2012861,808

11/1/2011594,930

11/1/20102,740,320

11/1/20121,041,948

10/1/20111,726,000

10/1/20091,628,000

10/1/20082,059,929

10/1/2011 4,002,000

9/1/20062,979,602

9/1/20073,774,000

9/1/2011NA#

I want to take the average of the numbers between if they fall between dates of 2006 and 2007.

I can not do it with averageifs because I have that NA# in the second column. I dont know what to do.

I have something that works but only if it does not contain NA#, below is the example of what works:

=AVERAGEIFS($D$2:$D$131,$B$2:$B$131,""&H2)

View 3 Replies
View Related
Jan 27, 2014

I have in column A the units, and in B and C the date changes. I want, when I pick a month from the box, that it only picks the IN and OUT date that applies to the month that I picked (per unit). For ex: if I choose Month march, it should show only for unit 19902506 for example: A2 and A5. And not A7 and A11. As March falls in between the Start and End Date. Is that passible? Something with OFFSET? I managed to find the latest known date with the formula =lookup (Column M:N) but Im not sure

View 2 Replies
View Related
Apr 23, 2009

I got this problem I can’t solve, maybe it is easy to solve, but I am fairly new to writing functions in excel.

I got a lot of different dates in single column, what I need is to pull the dates if they fall in to the range, from today till 30 days from now.

I understand it calls for array formula.

View 7 Replies
View Related
Oct 24, 2007

I need to keep track of tardy occurences, but I only have to consider occurrences that have occurred in the past six months from the current day. Column A contains the names of the employees, Column C thru IV contains daily dates beginning with 1/1/2007. Column B contains a CountIf function to count the number of times T appears in columns c - iv.

View 9 Replies
View Related
Jun 16, 2014

I'm trying to write a formula that will tell me when its week one or week two, week three and week 4 based on a given date of any month.

I'm using weekday formula but no luck.

View 6 Replies
View Related
Nov 24, 2009

I have a column where I am convering the Date into a Fiscal week number.

For example 10/6/2009 is Work week 41

Now I want to show October Week 41

I need to add the month and the text "Week" before the week number. what is the formula I use.

View 3 Replies
View Related
Mar 26, 2008

I have a range of data which is as follows:

Week in month: 1 1 1 5

Site: 01/03 02/03 03/03 etc 30/03 etc

Leeds 10 9 15 20

Manchester 8 5 1 2

Etc

Here's what I need to produce:

March 08 April 08

Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 1 Week 2 Week 3 Week 4 Week 5 Week 6

Leeds

Manchester

I need to sum week 1 to 6 for each month Mar, Apr and so on. The different sites are in the same order so that doesn't matter too much.

View 14 Replies
View Related
Jan 27, 2006

Basically I have 2 columns each with a list of dates in no particular order (and containing blank cells too), one planned date column and one actual date column.

What I need to do is plot this on a graph, and since the number of dates has no set limit and I dont want to have to plot maybe 100 dates on the x axis, so i want to group them by week before plotting them, i.e. 10 dates for week ending 10th jan, 25 dates for week ending 17th jan etc

I have a pivot table that counts how many of each date occurs, i.e. 10 x 2nd jan, 7x 3rd jan etc etc but it does not split them into weeks.

im sure theres an easyish way of doing it so i can get the 2 lines on the graph for no. of planned dates each week and no. of actual dates each week, i just cant see it.

View 13 Replies
View Related
Jun 5, 2009

I need to be able to count the number of each day that has passed so far this month. For example, so far this month the table would look like:

Mondays:1

Tuesdays:1

Wednesdays:1

Thursdays:1

Fridays:0

Saturdays:0

Sundays:0

I don't want the count to include the current day. My data is in a workbook called "Stock Today.xls" on a sheet called "Sales" in column S.

View 9 Replies
View Related
Apr 21, 2006

Let's say I have thousands of employees, but I need to determine who worked for me during a particular date range, and all I have to go on is their start date in one column and their end date in another column.

If:

A1 contains beginning date of employment

B1 contains ending date of employment

C1 contains specified beginning date (criteria)

D1 contains specified ending date (criteria)

View 4 Replies
View Related
Nov 2, 2008

1 2 3 4 5 6

11/1 11/2 11/3 11/4 11/5 11/6

sat sun mon tues wed thur

what i am trying to do is to be able to put a date in a cell and it would fille in the month day and day of week

=$D$1

=$D$1+E5-1

=TEXT(WEEKDAY(D6),"ddd")

cells are not correct in the formulas just copied them. i got this to work in a set up xls file when used it in the real setting i get ###.

View 3 Replies
View Related
Jul 10, 2014

I have created a time sheet in excel (see attached) that will be part of the larger workbook that will be linked with other sheets to auto fill in most fields. I am wondering if there is a way for an user to enter a Month and a Year at the top of the page and that in turn automatically fills in the days of the month by week.

So in attached sheet there are 5 boxes representing 5 weeks in a month. So if we used May 2014 as an example I would like to know if there is a way that once May 2014 is entered in up to top that. Excel fills in the dates in Week #1 with under Thursday showing 1st, under Friday showing 2nd as on for the entire month...

So as the month go by all user has to do is state the month and year and excel fills in the weekly dates for each day in month.

Attached File : Time and Attendance.xlsxâ€Ž

View 2 Replies
View Related
Mar 26, 2008

I want to use a formula to calculate what week number in the month it is (i.e 1 to 6) from a particular date.

I know how to calculate this on an annual basis (i.e. 1 to 52) but not within the month.

This is what I have so far...

=IF(OR(D58=1, D58>=D57), ROUNDUP(DAY(D61)/7,0),ROUNDUP(DAY(D61)/7,0)+1)

d58 is a Weeday formula looking at d61 which is the date i want to look at. d57 is the weekday number of the first day of the month in cell d61.

View 13 Replies
View Related
May 10, 2012

Assuming all my date inputs are in column A, week in B, and month in C.

I found a formula from a forum in converting my date inputs to week number, and here is the formula in column B:

=IF(A40,"WEEK"&INT((A4+1-DATE(YEAR(A4),1,1))/7)+1,"")

- INT(bold) formula part, as those part I just copy paste it, add this and that, and it works

- the reason why I add the "+1" on the very last part is because on my weekly salary payment, every Saturday salary will be paid on the week after.

(ex: 04/28/12 is supposed to be WEEK17, but then I added +1 so it became WEEK18. The main reason is 04/28 is Saturday and like I said I need every Saturday salary to be paid on the week after)

So, I've got the solution to convert my date inputs to Week#, but then I also need this week# to be converted into "MONTH" in a way that the last day/s of any months, but still in the same week of the new month, to be grouped together.

- For an example, 04/28/12 is supposed to be considered as April month, but I need that day to be on the May month.

View 9 Replies
View Related
Mar 12, 2008

what is the equivalent command to WEEKNUM if I want to properly calculate Week # of Month?

For example (Sunday being the first day of the week):

January 5th 2008 = Week 1 of January

January 6th 2008 = Week 2 of January

February 2nd 2008 = Week 1 of February

February 3rd 2008 = Week 2 of February

WEEKNUM perfectly calculates this, but it is applicable for the whole year.

View 9 Replies
View Related
May 5, 2009

I have the following data by week:

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

29-Mar 5-Apr 12-Apr 19-Apr 26-Apr 3-May 10-May

# of work days 4 4 4 4 5 5 5

Manpower 106 85 115 115 120 121 87

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

On a second tab, I want to show the data by month:

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

Apr May Jun

# of workdays 21 (4+4+4+4+5) 21 20

Avg. manpower 108 104 ....

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

View 9 Replies
View Related