Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Fiscal Year Week Number

Hi Everyone, I know this topic has been covered but I can't seem to figure it out. I am trying to calculate the week number if my FY starts on April 1, 2022. CY year is no issue, I used =weeknumber(today(-1). Thanks for your help.


Best Answers

  • ✭✭✭✭✭
    edited 07/05/22 Answer ✓

    Your organization's FY starts 13 weeks after the start of the CY. So, for your organization, the fiscal week is CY_Week - 13 , or... WEEKNUMBER([Test Date]@row) - 13 .

    However, that becomes problematic for January through the end of March when... WEEKNUMBER(some_date_in_January_or_March)-13 ...results in a negative value or 0. You'll need to add 52 to resolve this. That is to say, when WEEKNUMBER(some_date_in_January_or_March)-13 is less than or equal to 0, add 52 ...

    IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row) - 13 + 52 , WEEKNUMBER([Test Date]@row) - 13 ) which simplifies to...

    IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row)+39 , WEEKNUMBER([Test Date]@row)-13 )

    If "Test Date" is Today(), then your formula will be...

    IF( (WEEKNUMBER( Today() )-13) <= 0 , WEEKNUMBER( Today() )+39 , WEEKNUMBER( Today() )-13 )


  • ✭✭✭
    Answer ✓

    This is very helpful. Thank you!

Answers

  • ✭✭✭✭✭
    edited 07/05/22 Answer ✓

    Your organization's FY starts 13 weeks after the start of the CY. So, for your organization, the fiscal week is CY_Week - 13 , or... WEEKNUMBER([Test Date]@row) - 13 .

    However, that becomes problematic for January through the end of March when... WEEKNUMBER(some_date_in_January_or_March)-13 ...results in a negative value or 0. You'll need to add 52 to resolve this. That is to say, when WEEKNUMBER(some_date_in_January_or_March)-13 is less than or equal to 0, add 52 ...

    IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row) - 13 + 52 , WEEKNUMBER([Test Date]@row) - 13 ) which simplifies to...

    IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row)+39 , WEEKNUMBER([Test Date]@row)-13 )

    If "Test Date" is Today(), then your formula will be...

    IF( (WEEKNUMBER( Today() )-13) <= 0 , WEEKNUMBER( Today() )+39 , WEEKNUMBER( Today() )-13 )


  • ✭✭✭
    Answer ✓

    This is very helpful. Thank you!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • =IFERROR(AVG(COLLECT({Score BA}, {Employee Email BA}, $Variable@row, {Date of Review BA}, ISDATE(@cell), {Date of Review BA}, YEAR(@cell) = $[Last Year]$102, {Date of Review BA}, MONTH(@cell) = [Last …
    User: "Katherine Camacho"
    Answered ✓
    23
    5
  • Hi, I'm trying to write a formula that will look at a particular column (in this case the "extrusion" column) and return the first entry that has a check in the "cycle count is due column". My current…
    User: "Brandon Morales"
    Answered ✓
    15
    2
  • I am trying to get a count for a date range, but am getting a number that is one less compared to the filter. Current Tuesday Formula: =IFERROR(TODAY() + (3 - WEEKDAY(TODAY())) - IF(OR(WEEKDAY(TODAY()…
    User: "Nick0000"
    Answered ✓
    26
    3