How to change first week number from Jan 1 to July 3 ?

How to change first week number from Jan 1 to July 3 ? 

Answers

  • Pretty sure we need more information

  • Week number function is return 1 if January 1 but I need to return 1 if July first week of July.

    If I try to use the formula WEEKNUMBER(A1) - 26


    A1 = 07/09/21 --> return 1

    A1 = 12/31/21 --> return 26

    A1 = 01/07/22 --> return 25

  • Genevieve P.
    Genevieve P. Employee Admin

    Hi @ntpss

    Try using an IF statement, like so:

    =IF(WEEKNUMBER([Date Column]@row) - 26 > 0, WEEKNUMBER([Date Column]@row) - 26, WEEKNUMBER([Date Column]@row) + 26)


    It will either subtract 26 or add 26 depending on where the date is in relation to the first week of July.

    Cheers!

    Genevieve

  • It works!


    Thank you @Genevieve P.

  • Genevieve P.
    Genevieve P. Employee Admin

    No problem! I'm glad I could help 🙂

Help Article Resources