#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default weeknum

a customer supplies sales data on their fiscal week and their weeks run
saturday thru friday midnight and are of the format YYYYWK (200801 thru
200853). the fiscal period starts on first saturday in feb and runs thru
last friday in january. is the only way to get the calendar dates for their
weeks to set up a lookup table--weeknum() won't work thx reno
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default weeknum

reno wrote:
a customer supplies sales data on their fiscal week and their weeks run
saturday thru friday midnight and are of the format YYYYWK (200801 thru
200853). the fiscal period starts on first saturday in feb and runs thru
last friday in january. is the only way to get the calendar dates for their
weeks to set up a lookup table--weeknum() won't work thx reno


There are a variety of ways that this could be done - a LOOKUP table for each
week on a seperate sheet or a formula method. I cannot find a way to generate
the first Saturday in February so I have checked the dates up to 2011 and
included it in this solution.

Cell A2 YEAR Cell B2 Week number then in C2 the formula below

=LOOKUP(A2,{2008,2009,2010,2011;"02/02/2008","07/02/2009","06/02/2010",
"05/02/2011"})+(B2*7)-7

This will return the date of the Saturday in the week that is stipulated.


edvwvw

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200806/1

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
weeknum reno Excel Discussion (Misc queries) 2 May 15th 08 11:56 PM
weeknum gone ?? KrunoG Excel Worksheet Functions 2 June 27th 06 10:11 AM
WEEKNUM RonB Excel Worksheet Functions 3 April 12th 06 11:37 AM
Weeknum MickeW Excel Worksheet Functions 9 August 23rd 05 08:50 PM
WEEKNUM() Ciara Excel Discussion (Misc queries) 5 April 13th 05 12:09 PM


All times are GMT +1. The time now is 04:46 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"