Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Number of weeks past in current qtr

Hello,

I need to write a formula that returns the number of weeks already past, in
the current quarter. The value returned should include a partial week if
today is the middle of the week. (sunday is the start of a week)

Any help would be appreciated. I know I am being lazy, but I can't stay
awake any longer.

Thanks.

--
Remove 7 numbers to email
AD108


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default Number of weeks past in current qtr

=WEEKNUM(TODAY())-WEEKNUM(DATE(YEAR(TODAY()),INT((MONTH(TODAY())+2)/3)*3-2,1))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"AD108" wrote in message
...
Hello,

I need to write a formula that returns the number of weeks already past,
in
the current quarter. The value returned should include a partial week if
today is the middle of the week. (sunday is the start of a week)

Any help would be appreciated. I know I am being lazy, but I can't stay
awake any longer.

Thanks.

--
Remove 7 numbers to email
AD108




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Number of weeks past in current qtr

Thanks alot Bob,

I'll study this one and figure it out.

Ariel

"Bob Phillips" wrote in message
...

=WEEKNUM(TODAY())-WEEKNUM(DATE(YEAR(TODAY()),INT((MONTH(TODAY())+2)/3)*3-2,1
))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
"AD108" wrote in message
...
Hello,

I need to write a formula that returns the number of weeks already past,
in
the current quarter. The value returned should include a partial week

if
today is the middle of the week. (sunday is the start of a week)

Any help would be appreciated. I know I am being lazy, but I can't stay
awake any longer.

Thanks.

--
Remove 7 numbers to email
AD108






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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Return number of current sheet Brandon Excel Worksheet Functions 3 April 26th 05 05:55 AM
HELP - need to returns the current number of past month this year and ... elz64 Excel Worksheet Functions 6 April 6th 05 01:37 PM
how do i display the total number of days in the current month in. timerigger Excel Discussion (Misc queries) 6 March 20th 05 05:13 PM
HOW TO CALCULATE NUMBER OF WEEKS BETWEEN TWO GIVEN DATES(MAY BE . WARRENCHERYL Excel Worksheet Functions 1 January 5th 05 08:15 AM


All times are GMT +1. The time now is 10:15 PM.

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

About Us

"It's about Microsoft Excel"