Forum Discussion
Sharepoint List column
- May 12, 2022
anonymous9376 well that's a completely different formula. Set the data type to be returned as date only:
=EndDate+1+ROUNDDOWN(3/5,0)*2+IF(WEEKDAY(EndDate)+MOD(3,5)>=7,2,0)-ROUNDDOWN(WEEKDAY(EndDate)/7,0)+IF(AND(MOD(3,5)=0,WEEKDAY(EndDate)=1),-2,0)+IF(AND(MOD(3,5)=0,WEEKDAY(EndDate)=7),-2,0)Rob
Los Gallardos
Microsoft Power Automate Community Super User
anonymous9376 well that's a completely different formula. Set the data type to be returned as date only:
=EndDate+1+ROUNDDOWN(3/5,0)*2+IF(WEEKDAY(EndDate)+MOD(3,5)>=7,2,0)-ROUNDDOWN(WEEKDAY(EndDate)/7,0)+IF(AND(MOD(3,5)=0,WEEKDAY(EndDate)=1),-2,0)+IF(AND(MOD(3,5)=0,WEEKDAY(EndDate)=7),-2,0)
Rob
Los Gallardos
Microsoft Power Automate Community Super User
- anonymous9376May 12, 2022Brass ContributorRobElliott I got this error, 'The formula contains a syntax error or is not supported.' I have set the data type to be returned as date only.
- RobElliottMay 12, 2022Silver Contributor
anonymous9376 just from the error message there is no way to know what the problem is. Did you change the formula at all or paste it in EXACTLY as I posted it?
Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)- anonymous9376May 12, 2022Brass ContributorRobElliott I pasted your formula but I changed the EndDate because my column name is To Date