#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Decreenisi
 
Posts: n/a
Default Week Number

Hi, Can anyone help me out please ? I have an excel spreadsheet to
track reject activity at the customer. In col A is the date (Format
03-Feb-06). In col B I want to autofill the week number, from the date
in col A. I also want Col B to be blank if there is no date in col A. I
think I can do that with =IF(A30,FORMULA,""). Lastly, will I have to
change date format in col A ???
Thanks in advance, Dunc.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Week Number


The date format does not need to be changed.

In B1

=IF(ISBLANK(A1),"",weeknum(A1))

Drag down entire column.

Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=508110

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wAyne
 
Posts: n/a
Default Week Number


Try this
CEILING(DAYS360(DATE(YEAR(A4),1,1),A4)/7,1)

replace Formula in your Formula with the above -- the If statement you have
is correct and no you will not need to change date formats...

wAyne

"Decreenisi" wrote:

Hi, Can anyone help me out please ? I have an excel spreadsheet to
track reject activity at the customer. In col A is the date (Format
03-Feb-06). In col B I want to autofill the week number, from the date
in col A. I also want Col B to be blank if there is no date in col A. I
think I can do that with =IF(A30,FORMULA,""). Lastly, will I have to
change date format in col A ???
Thanks in advance, Dunc.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Decreenisi
 
Posts: n/a
Default Week Number

Thanks Steve, that was just perfect.

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
Macro to copy cells to rows below [email protected] Excel Discussion (Misc queries) 1 January 20th 06 06:59 PM
evaluate data by week number Steve G Excel Worksheet Functions 1 July 7th 05 09:34 PM
Changing cell or text color depending on week number Roger Excel Discussion (Misc queries) 2 April 12th 05 09:42 AM
number of week ciccio Excel Worksheet Functions 2 January 20th 05 10:26 PM
how to get week number in month in excel ? ikin Charts and Charting in Excel 2 January 16th 05 05:54 PM


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