Question : Previous Weekday Date

What is the formula to return the previous weekday of reference date?

Eg- I have Monday 8 December 2008 in a cell...I need the formula in another cell to return the previous weekday - Friday 5 December 2008 .
 If I then changed the reference cell to Tuesday 9th December 2008 the formula would return the previous weekday ie Monday 8 December 2008 ...and so on...

Answer : Previous Weekday Date

With the Analysis ToolPak add-in, you can use the WORKDAY function....

    =WORKDAY(A1,-1)

Wayne
Random Solutions  
 
programming4us programming4us