Parashar sarnad
New Member
- Joined
- Aug 13, 2018
- Messages
- 2
Hello Ladies & Gentlemen,
I'm unable to get my head around this WEEKNUM Solution which you had provided on Excel Campus by Jon Acompora.[TABLE="width: 579"]
<tbody>[TR]
[TD="class: xl65, width: 579"]http://www.excelcampus.com/pivot-tables/month-to-date-mtd-comparisons-pivot-table[/TD]
[/TR]
</tbody>[/TABLE]
So I shall be breaking it down so that you can point out where my understanding is wrong.
Please download the screenshot by using the link: [TABLE="width: 579"]
<tbody>[TR]
[TD="class: xl65, width: 579"]https://we.tl/PHHgxwe2EX[/TD]
[/TR]
</tbody>[/TABLE]
Let's consider a cell say "A84" which is 3rd FEB 2015. (Highlighted in Orange)
1) WEEKNUM(A84) will give a result as 6, which is 6th Week of the year 2015.
2) WEEKNUM(DATE(YEAR(A84), MONTH(A84),1),2) will give a result as 5, which is 5th Week of the year and is Monday as we have put 2 and also be starting of the Feb month
3) Now Subtracting 1)-2) and adding +1 will give a result 2, which is 2nd Week /*This is part I don't understand*/
Also if 1st Feb is Monday (considered as starting of the week) then how can 3rd Feb fall in the 2nd week of the month ??****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">[TABLE="width: 579"]
<tbody>[TR]
[TD="class: xl65, width: 579"]https://we.tl/PHHgxwe2EX[/TD]
[/TR]
</tbody>[/TABLE]
</body>
I'm unable to get my head around this WEEKNUM Solution which you had provided on Excel Campus by Jon Acompora.[TABLE="width: 579"]
<tbody>[TR]
[TD="class: xl65, width: 579"]http://www.excelcampus.com/pivot-tables/month-to-date-mtd-comparisons-pivot-table[/TD]
[/TR]
</tbody>[/TABLE]
So I shall be breaking it down so that you can point out where my understanding is wrong.
Please download the screenshot by using the link: [TABLE="width: 579"]
<tbody>[TR]
[TD="class: xl65, width: 579"]https://we.tl/PHHgxwe2EX[/TD]
[/TR]
</tbody>[/TABLE]
Let's consider a cell say "A84" which is 3rd FEB 2015. (Highlighted in Orange)
1) WEEKNUM(A84) will give a result as 6, which is 6th Week of the year 2015.
2) WEEKNUM(DATE(YEAR(A84), MONTH(A84),1),2) will give a result as 5, which is 5th Week of the year and is Monday as we have put 2 and also be starting of the Feb month
3) Now Subtracting 1)-2) and adding +1 will give a result 2, which is 2nd Week /*This is part I don't understand*/
Also if 1st Feb is Monday (considered as starting of the week) then how can 3rd Feb fall in the 2nd week of the month ??****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">[TABLE="width: 579"]
<tbody>[TR]
[TD="class: xl65, width: 579"]https://we.tl/PHHgxwe2EX[/TD]
[/TR]
</tbody>[/TABLE]
</body>