Skip to main content
Solved

Deduce Week Number (of 52) from Date Field

  • April 1, 2022
  • 7 replies
  • 398 views

Forum|alt.badge.img+8

Hi Everyone

Does any one know of a formula that could deduce the Week Number in the Year from a given date field?

Any help would be greatly appreciated.

Stephen

Best answer by Lina_Clark

Airtable has a WeekNum function that will allow for you to create week numbers. You create a column and make the field type formula and put the formula below.

Ex. WEEKNUM(Enquiry Date/Time)

7 replies

Forum|alt.badge.img+1
  • New Participant
  • Answer
  • April 1, 2022

Airtable has a WeekNum function that will allow for you to create week numbers. You create a column and make the field type formula and put the formula below.

Ex. WEEKNUM(Enquiry Date/Time)


Forum|alt.badge.img+8
  • Author
  • Known Participant
  • April 1, 2022

Airtable has a WeekNum function that will allow for you to create week numbers. You create a column and make the field type formula and put the formula below.

Ex. WEEKNUM(Enquiry Date/Time)


Lina, you’re an Angel. I’ll give this a shot when I’m back at a computer. Much appreciated.


Forum|alt.badge.img+8
  • Author
  • Known Participant
  • April 1, 2022

Airtable has a WeekNum function that will allow for you to create week numbers. You create a column and make the field type formula and put the formula below.

Ex. WEEKNUM(Enquiry Date/Time)


Worked brilliantly. Exactly what I needed. Thanks again.


Forum|alt.badge.img+2
  • New Participant
  • July 21, 2024

Airtable has a WeekNum function that will allow for you to create week numbers. You create a column and make the field type formula and put the formula below.

Ex. WEEKNUM(Enquiry Date/Time)


Thank you for that Lina!


Forum|alt.badge.img+1
  • New Participant
  • September 15, 2025

how to define the week start day, like if I would like to start my week from Mon instead of Sun. With the current formula, it strats the week from Sun - which is by default same a excel. But in excel we can define the week start day by putting number. For example: we define by “2” to start the week from Mon.


Mike_AutomaticN
Forum|alt.badge.img+28

Hey ​@PA at bp,

I might be getting this one wrong, but wouldn’t the following formula help?

DATETIME_FORMAT(DATEADD({Your Date}, -1, 'days'), 'W')

 
Mike, Consultant @ Automatic Nation 
YouTube Channel


TheTimeSavingCo
Forum|alt.badge.img+31

Hm, try WEEKNUM?  From the docs

 WEEKDAY(TODAY(), "Monday")