- May 27, 2002
- 12,653
- 205
- 106
So it seems tha the math in excel is completely broken or unreliable... so i can use it to replicate calculation in access.
I need to figure out how to take any random date, then calculate the date of the 1st monday of that year.
i know that this formula works in excel
=A1-DAY(A1)+1+MOD(-WEEKDAY(A1-DAY(A1)+1,3),7)
Where A1 is a cell reference containing the random date.
However, the weekday and mod functions are different form excel to access.
How do i build this in access?
I need to figure out how to take any random date, then calculate the date of the 1st monday of that year.
i know that this formula works in excel
=A1-DAY(A1)+1+MOD(-WEEKDAY(A1-DAY(A1)+1,3),7)
Where A1 is a cell reference containing the random date.
However, the weekday and mod functions are different form excel to access.
How do i build this in access?