Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAI wanna get paid twice
Challenge #41:
Formulas:
Give everyday a number:
Switch(DateTimeFormat([Start],"%a"),
0,
"Sun",0,
"Mon",1,
"Tue",2,
"Wed",3,
"Thu",4,
"Fri",5,
"Sat",6)
Formula for days diff:
IIF([Start]>[End],
Null(),
1 +
((DateTimeDiff([End],[Start],"days")*5 - ([StartWeekday]-[EndWeekday])*2) / 7) +
IIF([EndWeekday]==6,-1,0) +
IIF([StartWeekday]==0,-1,0)
)