Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Jun 29, 6:51*am, Abdul wrote:
Hi, Is there a way to find how many Day (eg. wednesdays) within a a date range? Like how many Wednesdays (any given Day) falling between June 1, 2009 Till June 21, 2009 Thanks, Let's say that you have a sheet set up like this, A2 shows your start date, B2 shows your end date, and C2 though I2 will have the count of Sundays through Saturdays, try this formula in C2 through I2: =FLOOR(($B2-$A2+1)/7,1)+IF(($B2-$A2+1)/7FLOOR(($B2-$A2+1)/7,1),IF (WEEKDAY($B2)=WEEKDAY($A2),IF(AND(WEEKDAY($B2)=C OLUMN()-2,COLUMN ()-2=WEEKDAY($A2)),1,0),IF(OR(AND(COLUMN()-2<=WEEKDAY($A2),COLUMN ()-2<=WEEKDAY($B2)),AND(COLUMN()-2=WEEKDAY($A2),COLUMN()-2=WEEKDAY ($B2))),1,0)),0) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Number of Specific Day within Dates | Excel Worksheet Functions | |||
Number of Specific Day within Dates | Excel Worksheet Functions | |||
Number of Specific Day within Dates | Excel Worksheet Functions | |||
Excel - count the number of records between two specific dates. | Excel Worksheet Functions | |||
Determining the number of specific days between two dates in Excel | Excel Worksheet Functions |