If you are like me you frequently have to update various excel based dashboards. In the pursuit of even more automation, I thought it would be fun to make Excel figure out the current date and automatically set the date of my dashboard to the end of the previous week.
All you need is three Excel formulas:
The first step is to have excel figure out the current date:
Then we calculate how far away we are from the last day of the week. The WEEKDAY() formula calculates a value from 1 to 7. If 7 is the last day of the week, by simply building out a nested IF() formula we get the magical result.
Here is a link to a Google Document that lays out the steps.