Announcements
Hello,
Is there a way to caculate if a date falls on a weekend in PowerAutomate? I can do this in excel, but i'd rather not add a new column to a spreadsheet if the calculation can just be done by PAD.
Thanks,
Not the most elegant, but you could use Convert datetime to text with custom 'ddd' to get the day of week short (e.g. 'Wed') then check if that value is 'Sat' or 'Sun'
Thanks! I was thinking that too, but also thought there should be a more direct way of accomplishing that. Drats!
if it's not one thing it's another. When I was trying to get PAD to write the formula (=IF(OR(WEEKDAY(B2)=7,WEEKDAY(B2)=1),B2-2,B2)) into excel it runs into issues writing the formula...
Yeah, I don't know of a more direct way....
Hi. You can use the PAD native functinoality Date variable .DayOfWeek
(see row 1 and 18. Zoomed at the bottom right corner)
Day of week native property od date
That's what I was looking for! Excellent, thank you!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 426
11manish 349 Super User 2026 Season 2
M Bilal Khan 308