Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on Dates
Hiya
Is there a way of calculating the number of Saturdays between two dates in Excel? Thanks in advance Paul |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on Dates
Hi Paul
With start date in A1 and end date in B1 try =INT((B1-A1)/7)+OR(WEEKDAY(A1)=7,WEEKDAY(B1)=7) -- Regards Roger Govier "Paulf" wrote in message ... Hiya Is there a way of calculating the number of Saturdays between two dates in Excel? Thanks in advance Paul |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on Dates
Try this:
With A1: (the start date) B1: (the end date) This formula counts the number of Saturdays within that date range C1: =SUMPRODUCT(--(WEEKDAY(ROW(INDEX(A:A,A1):INDEX(A:A,B1)))=7)) Note: 1=Sunday, 2=Monday.....7=Saturday Does that help? *********** Regards, Ron XL2002, WinXP "Paulf" wrote: Hiya Is there a way of calculating the number of Saturdays between two dates in Excel? Thanks in advance Paul |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on Dates
Many Thanks Roger!
"Roger Govier" wrote in message ... Hi Paul With start date in A1 and end date in B1 try =INT((B1-A1)/7)+OR(WEEKDAY(A1)=7,WEEKDAY(B1)=7) -- Regards Roger Govier "Paulf" wrote in message ... Hiya Is there a way of calculating the number of Saturdays between two dates in Excel? Thanks in advance Paul |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help on Dates
Thanks Ron, appriciated
"Ron Coderre" wrote in message ... Try this: With A1: (the start date) B1: (the end date) This formula counts the number of Saturdays within that date range C1: =SUMPRODUCT(--(WEEKDAY(ROW(INDEX(A:A,A1):INDEX(A:A,B1)))=7)) Note: 1=Sunday, 2=Monday.....7=Saturday Does that help? *********** Regards, Ron XL2002, WinXP "Paulf" wrote: Hiya Is there a way of calculating the number of Saturdays between two dates in Excel? Thanks in advance Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Dates showing are not what I type | New Users to Excel | |||
Dates and Intervals | Excel Worksheet Functions | |||
formula to add dates. | Excel Worksheet Functions | |||
need to convert list of dates to count no. of dates by week | Excel Worksheet Functions | |||
Calculating number of days between two dates that fall between two other dates | Excel Discussion (Misc queries) |