Create a view for sharepoint list

Copper Contributor

Hi,

I have been having trouble getting the desired view created for my specific scenario.

 

I have a period start column and a period end column.  These periods can be of varying length, spanning a few days to several weeks.

 

In my SharePoint list I want to create a view which shows specifically the items that have a period start and end which is included in any part of the previous week.

 

I've created the logic in excel to do this 

 

IF(AND(PE>=(TODAY()-(7+(WEEKDAY(TODAY(),3))),PS<=(TODAY()-((WEEKDAY(TODAY(),3))+1))),"T","F")

 

PE = Period End and PS = Period Start

 

What I'm struggling with is how to recreate this in a SharePoint list view as I understand that the view filter logic cant contain 'weekend' and a calculated column cant contain [today].

 

My plan was to create additional calculated column for Pervious week start and end dates based on todays date and then use them somehow to filter on.

 

Any help would be greatly received :smile:

 

0 Replies