Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For a related approach, recall that a date is stored as the number of
days since the beginning of 1900. You can verify that Saturday dates are divisible by 7. Thus Int((dt + 1) / 7) * 7 - 1 is the nearest Friday date that is <= dt. One caveat: Both this and the other answers will be wrong for dates before March 1900, because Excel dates include the nonexistent date of Feb 29, 1900 for compatibility with Lotus. Jerry Aaron wrote: Hi All, I am looking for a way to Round dates in a column to the previous Firday? Any Ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Rounding Dates to Weekending Date | Excel Discussion (Misc queries) | |||
rounding dates | Excel Worksheet Functions | |||
Rounding UP Months' Difference between 2 dates | Excel Discussion (Misc queries) | |||
Rounding Dates to the 1st? | Excel Discussion (Misc queries) | |||
Stop Excel Rounding Dates | Excel Discussion (Misc queries) |