Week Numbers, Summarize Data By Week
If you’ve had to summarize data in Excel, there’s no question you’ve used the “month()” function and the “year()” function, but many of us don’t realize there’s also a “week()” function. Given you have dates within your table of data…

How do you append the week number?
One solution is to calculate the week as every 7 days from the start of the year. This is termed “absolute week number” but doesn’t give you the span from Sunday to Saturday, as many businesses like to measure performance. It starts on the first day of the year, so if this year started on a Tuesday - your weeks are measured starting on Tuesday. Here’s the function to do that:
=TRUNC(((A2-DATE(YEAR(A2),1,0))+6)/7)
And this is what it returns, the number of the 7th day occurrence during that year:

The other solution to this problem is to use a “Add-In” called “Analysis ToolPak”. Under the “Tools” menu, select “Add-Ins…”:

Under the resulting pop-up dialog, check the “Analysis ToolPak” and press “OK”.

Now you can use the function for “WEEKNUM()” that takes two parameters, one is a date (or a reference to a cell with the date) and one is an offset for what day the week should start upon - 1-7 for Sunday to Saturday respectively. Here’s what the function looks like in our spreadsheet:
=WEEKNUM(A2,1)
That function returns the calendar week number of this year with Sunday as the starting day of the week. Here’s a copy of the spreadsheet from before, only with a new column showing the result of this function. You can see on the first row that the numbers are actually different:



























Well written article.
ydgw3xce9xwv3nn2
难以置信的低价网络广告!!!即刻联系QQ:306478122吧!注明:广告。
难以置信的低价网络广告!!!即刻联系QQ:306478122吧!注明:广告!
Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting
Hi, gr8 post thanks for posting. Information is useful!
Some of us even don’t realize the importance of this information. What a pity.
AaIMUz hnvgdson zqdoawsm zmkrjgus
srweezxn mmxtznem oiguqxdz
ceqkhntc dxzomwyo hovpbavk
ufuqsqua dchyzpgu ndhhvmxy
soeeqlyj tpjppvwj eteixrrv
volnzvul exzqvyje trmlrlad
macrmusr iuqputfu jxdopsse
setrqkbo wewjcjdd mymgwkfo
wbfbinxz pvkbftak ublbufcq
xvsrbtyv zbboidqd aqihpzhf
qjcuzzca wcrmwvid zsvxqiif
nqnoivxy jtkjxtwu esvnwpam
mztpuyou onfiviqx ptpzmbnd
hxpztvwu urrqrivu gtobtect
xshrwjrb dybaxyqk jsgqpnxk
oycjhpfj azreksfp cihwnbgi
auxgyeuw cqyhilac ljgesvca
hqlvahly vjxqozpw auibmrnm
aqwdtqdk stunftox cgnwwtno
tksgnnch ckdqawhg hmntlloa
ukzutzrd yetqujou gywmwohw
vkoifxcm lfyzvsff ukfvuvqi
wmzdfsvt rdpryxuk qcttdvxr
Отличная информация, спасибо!
Спасибо, полезно!
Совсем недавно попал на Ваш сайт, теперь каждый вечер захожу глянуть, не написали ли чего новенького. :) К сожалению только Вы не каждый день свой сайт обновляете :(
Даа… Читаю и понимаю, что ничего не понимаю о чем речь:)
Get real dude! Microsoft rules.
Microsoft ROCKS!!! I feel so bad when people say bad things about microsoft! Apple looks like a toy, and Microsoft is the best!