footballdj123
New Member
- Joined
- Apr 5, 2018
- Messages
- 8
Hello,
I want to be able to look at a date and then return a Week Quarter and Year. The custom week goes from Thurs - Weds.
There is a standard return of week number and quarter but I can't figure out how to change that for custom week.
So far I am just doing a lookup to a custom file.
<style><!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";}@page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;}tr {mso-height-source:auto;}col {mso-width-source:auto;}br {mso-data-placement:same-cell;}td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignoreadding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;}.xl65 {color:windowtext; font-size:10.0pt; font-family:Arial, sans-serif; mso-font-charset:0; mso-number-format:"Short Date";}.xl66 {color:windowtext; font-size:10.0pt; font-family:Arial, sans-serif; mso-font-charset:0;}--></style>[TABLE="width: 261"]
<!--StartFragment--> <colgroup><col width="87" span="3" style="width:65pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 87, align: right"]1/1/18[/TD]
[TD="class: xl66, width: 87"]Week 1[/TD]
[TD="width: 87"]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/2/18[/TD]
[TD]Week 1[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/3/18[/TD]
[TD]Week 1[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/4/18[/TD]
[TD]Week 1[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/5/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/6/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/7/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/8/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/9/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/10/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/11/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/12/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/13/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/14/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/15/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
<!--EndFragment--></tbody>[/TABLE]
I want to be able to look at a date and then return a Week Quarter and Year. The custom week goes from Thurs - Weds.
There is a standard return of week number and quarter but I can't figure out how to change that for custom week.
So far I am just doing a lookup to a custom file.
<style><!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";}@page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;}tr {mso-height-source:auto;}col {mso-width-source:auto;}br {mso-data-placement:same-cell;}td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignoreadding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;}.xl65 {color:windowtext; font-size:10.0pt; font-family:Arial, sans-serif; mso-font-charset:0; mso-number-format:"Short Date";}.xl66 {color:windowtext; font-size:10.0pt; font-family:Arial, sans-serif; mso-font-charset:0;}--></style>[TABLE="width: 261"]
<!--StartFragment--> <colgroup><col width="87" span="3" style="width:65pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 87, align: right"]1/1/18[/TD]
[TD="class: xl66, width: 87"]Week 1[/TD]
[TD="width: 87"]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/2/18[/TD]
[TD]Week 1[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/3/18[/TD]
[TD]Week 1[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/4/18[/TD]
[TD]Week 1[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/5/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/6/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/7/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/8/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/9/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/10/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/11/18[/TD]
[TD="class: xl66"]Week 2[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/12/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/13/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/14/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1/15/18[/TD]
[TD="class: xl66"]Week 3[/TD]
[TD]Q1 2018[/TD]
[/TR]
<!--EndFragment--></tbody>[/TABLE]