Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default count specific weedays remaining in quarter

Our quarter runs September through November, I need to count the
number of Tuesdays, Wednesdays etc., remaining in the quarter. I've
come close by digging around in these forums but I'm stumped.

Remaining
Q1 F2008 F2008
Sunday 13 3
Monday 13 3
Tuesday 13 3
Wednesday 13 3
Thursday 13 3
Friday 13 3
Saturday 13 3


There are 13 of each weekday in Quarter 1.

I've cobbled together this formula to calculate the remaining days:

=P18-(INT((WEEKDAY($V$23-1,1)+$V$24-$V$23)/7))

P18 is the total number of Sundays in the quarter
$V$23 is the date: 1-sep-07 (start of the quarter)
$V$24 is the date: today()

I know that:

=WEEKDAY($V23,1)

will give me the Weekday number, but I don't know how to integrate a
count function into this to establish the remaining weekdays.

I've tried taking out the -1 but it didn't seem to affect anything.

If any one can point me in the right direction, I would appreciate it.

Andy

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default count specific weedays remaining in quarter

With
A2: (QtrStartDate)
B2: (QtrEndDate)

These formulas returns the number of...

Mondays in that date range:
=SUM(INT((WEEKDAY($A$2-2)+$B$2-$A$2)/7))

Tuesdays in that date range:
=SUM(INT((WEEKDAY($A$2-3)+$B$2-$A$2)/7))

etc

Note: the value after $A$2 in the WEEKDAY section is:
1=Sun, 2=Mon, 3=Tue, 4=Wed, 5=Thu, 6=Fri, 7=Sat

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Green Fox" wrote in message
ups.com...
Our quarter runs September through November, I need to count the
number of Tuesdays, Wednesdays etc., remaining in the quarter. I've
come close by digging around in these forums but I'm stumped.

Remaining
Q1 F2008 F2008
Sunday 13 3
Monday 13 3
Tuesday 13 3
Wednesday 13 3
Thursday 13 3
Friday 13 3
Saturday 13 3


There are 13 of each weekday in Quarter 1.

I've cobbled together this formula to calculate the remaining days:

=P18-(INT((WEEKDAY($V$23-1,1)+$V$24-$V$23)/7))

P18 is the total number of Sundays in the quarter
$V$23 is the date: 1-sep-07 (start of the quarter)
$V$24 is the date: today()

I know that:

=WEEKDAY($V23,1)

will give me the Weekday number, but I don't know how to integrate a
count function into this to establish the remaining weekdays.

I've tried taking out the -1 but it didn't seem to affect anything.

If any one can point me in the right direction, I would appreciate it.

Andy



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default count specific weedays remaining in quarter

Hmmm....It would have been nice if I'd read the rest of your post, don't you
think?

OK....Now that I've finished my coffee AND read your entire post...

Try this:
With
A2: (QtrStartDate)
B2: (QtrEndDate)
V23: (a date)
C3: Totals
D3: Remaining

B4: Mondays
C4: =SUM(INT((WEEKDAY($A$2-2)+$B$2-$A$2)/7))
D4: =SUM(INT((WEEKDAY($V$23-2)+$B$2-$V$23)/7))

Does that help?
***********
Regards,
Ron

XL2003, WinXP


"Ron Coderre" wrote:

With
A2: (QtrStartDate)
B2: (QtrEndDate)

These formulas returns the number of...

Mondays in that date range:
=SUM(INT((WEEKDAY($A$2-2)+$B$2-$A$2)/7))

Tuesdays in that date range:
=SUM(INT((WEEKDAY($A$2-3)+$B$2-$A$2)/7))

etc

Note: the value after $A$2 in the WEEKDAY section is:
1=Sun, 2=Mon, 3=Tue, 4=Wed, 5=Thu, 6=Fri, 7=Sat

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Green Fox" wrote in message
ups.com...
Our quarter runs September through November, I need to count the
number of Tuesdays, Wednesdays etc., remaining in the quarter. I've
come close by digging around in these forums but I'm stumped.

Remaining
Q1 F2008 F2008
Sunday 13 3
Monday 13 3
Tuesday 13 3
Wednesday 13 3
Thursday 13 3
Friday 13 3
Saturday 13 3


There are 13 of each weekday in Quarter 1.

I've cobbled together this formula to calculate the remaining days:

=P18-(INT((WEEKDAY($V$23-1,1)+$V$24-$V$23)/7))

P18 is the total number of Sundays in the quarter
$V$23 is the date: 1-sep-07 (start of the quarter)
$V$24 is the date: today()

I know that:

=WEEKDAY($V23,1)

will give me the Weekday number, but I don't know how to integrate a
count function into this to establish the remaining weekdays.

I've tried taking out the -1 but it didn't seem to affect anything.

If any one can point me in the right direction, I would appreciate it.

Andy




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default count specific weedays remaining in quarter

A1: QtrEndDate

A2: =WEEKNUM(A1)-WEEKNUM(TODAY())


"Green Fox" wrote:

Our quarter runs September through November, I need to count the
number of Tuesdays, Wednesdays etc., remaining in the quarter. I've
come close by digging around in these forums but I'm stumped.

Remaining
Q1 F2008 F2008
Sunday 13 3
Monday 13 3
Tuesday 13 3
Wednesday 13 3
Thursday 13 3
Friday 13 3
Saturday 13 3


There are 13 of each weekday in Quarter 1.

I've cobbled together this formula to calculate the remaining days:

=P18-(INT((WEEKDAY($V$23-1,1)+$V$24-$V$23)/7))

P18 is the total number of Sundays in the quarter
$V$23 is the date: 1-sep-07 (start of the quarter)
$V$24 is the date: today()

I know that:

=WEEKDAY($V23,1)

will give me the Weekday number, but I don't know how to integrate a
count function into this to establish the remaining weekdays.

I've tried taking out the -1 but it didn't seem to affect anything.

If any one can point me in the right direction, I would appreciate it.

Andy


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default count specific weedays remaining in quarter





Thanks Ron & Teethless

It's working perfectly. I appreciate the help,




That worked perfectly

On Nov 7, 9:27 am, Teethless mama
wrote:
A1: QtrEndDate

A2: =WEEKNUM(A1)-WEEKNUM(TODAY())



"Green Fox" wrote:
Our quarter runs September through November, I need to count the
number of Tuesdays, Wednesdays etc., remaining in the quarter. I've
come close by digging around in these forums but I'm stumped.


Remaining
Q1 F2008 F2008
Sunday 13 3
Monday 13 3
Tuesday 13 3
Wednesday 13 3
Thursday 13 3
Friday 13 3
Saturday 13 3


There are 13 of each weekday in Quarter 1.


I've cobbled together this formula to calculate the remaining days:


=P18-(INT((WEEKDAY($V$23-1,1)+$V$24-$V$23)/7))


P18 is the total number of Sundays in the quarter
$V$23 is the date: 1-sep-07 (start of the quarter)
$V$24 is the date: today()


I know that:


=WEEKDAY($V23,1)


will give me the Weekday number, but I don't know how to integrate a
count function into this to establish the remaining weekdays.


I've tried taking out the -1 but it didn't seem to affect anything.


If any one can point me in the right direction, I would appreciate it.


Andy- Hide quoted text -


- Show quoted text -



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I convert a specific date to a fiscal quarter ? RichNYC Excel Discussion (Misc queries) 10 November 26th 07 03:35 PM
Count of days in a quarter Mahesh Excel Discussion (Misc queries) 6 July 23rd 07 02:53 AM
Count workdays remaining in a month Ads Excel Discussion (Misc queries) 2 August 14th 06 12:40 AM
Count Specific word in specific range [email protected] Excel Worksheet Functions 2 May 16th 06 10:30 AM
Count If Specific word in specific range [email protected] Excel Discussion (Misc queries) 2 May 16th 06 10:14 AM


All times are GMT +1. The time now is 09:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"