Skip to main content
Solved

This Week formula for a due date

  • September 1, 2020
  • 2 replies
  • 23 views

Forum|alt.badge.img+12

Hi Folks, I need help writing a formula that returns only data for this week related to a release date
I know this formula works IF(WEEKNUM({Release Date})=WEEKNUM(TODAY()),“this week”,“NOT”)
However, it still shows me content released for the next year same as this week. I only want to work on the current year not all years in my view.

Thanks, A lot for your time

Best answer by ScottWorld

There are probably a bunch of different ways to do this, but I would probably just do it this way:

IF(
WEEKNUM({Release Date}) & YEAR({Release Date}) =
WEEKNUM(TODAY()) & YEAR(TODAY()),
"this week",'NOT'
)

2 replies

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • Answer
  • September 1, 2020

There are probably a bunch of different ways to do this, but I would probably just do it this way:

IF(
WEEKNUM({Release Date}) & YEAR({Release Date}) =
WEEKNUM(TODAY()) & YEAR(TODAY()),
"this week",'NOT'
)

Forum|alt.badge.img+12
  • Author
  • Known Participant
  • September 1, 2020

There are probably a bunch of different ways to do this, but I would probably just do it this way:

IF(
WEEKNUM({Release Date}) & YEAR({Release Date}) =
WEEKNUM(TODAY()) & YEAR(TODAY()),
"this week",'NOT'
)

Thanks ALot Scott, I was trying the same thing but was writing the wrong format . This one works like a charm, Appreciate it