Home |
Search |
Today's Posts |
#12
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. I think the Op wanted to add 0 due to the following...
=IF(WEEKDAY(NOW())=6,TODAY()+0,"") If you are interested in adding 7 to a Friday along this idea, here is one option: =A1+MOD(6405928, 4*WEEKDAY(A1) + 13) -- Dana DeLouis Using Windows XP & Office XP = = = = = = = = = = = = = = = = = "Robert McCurdy" wrote in message ... =A1+MOD(138612,WEEKDAY(A1)+6) I first thought it was just a large date that started on a Thursday, dang if I can figure this one out. Anyway it don't add 7 if A1 is a Friday, it adds zero. Here is a slight modification on my last post. =7*(MOD(A2,7)5)-MOD(A2,7)+A2+6 <snip |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change date format from dd/mm/yyyy to mm/yyyy | Excel Discussion (Misc queries) | |||
want formula bar date to be dd/mm/yyyy instead of mm/dd/yyyy.How? | Excel Discussion (Misc queries) | |||
how do I change date from mm/dd/yyyy to dd:mm:yyyy format in Excel | New Users to Excel | |||
List First Friday's Date of the year | Excel Discussion (Misc queries) | |||
Help: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et | Excel Discussion (Misc queries) |