Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=TODAY()-WEEKDAY(TODAY()+1,1)+7
This gives me the date Feb 29.. but instead it should gibve me march 1 how do i alter this |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Why using "+1"?
"deepika :excel help" wrote: =TODAY()-WEEKDAY(TODAY()+1,1)+7 This gives me the date Feb 29.. but instead it should gibve me march 1 how do i alter this |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Today() is 39504
Adding 1 (I don't understand why?) makes it 39505 Weekday of 39505 is 4 Deducting 4 from 39504 would be 39500 Adding 7 again would result to 39507 Date of which would be 29-Feb-2008 NOT 01-Mar-2008 "deepika :excel help" wrote: =TODAY()-WEEKDAY(TODAY()+1,1)+7 This gives me the date Feb 29.. but instead it should gibve me march 1 how do i alter this |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
i use =TODAY()-WEEKDAY(TODAY(),1)+7 on J2 to get the friday of every week
then in I2 i should need a thursday etc till F2 which is Mon... how do i do this else??? "FARAZ QURESHI" wrote: Today() is 39504 Adding 1 (I don't understand why?) makes it 39505 Weekday of 39505 is 4 Deducting 4 from 39504 would be 39500 Adding 7 again would result to 39507 Date of which would be 29-Feb-2008 NOT 01-Mar-2008 "deepika :excel help" wrote: =TODAY()-WEEKDAY(TODAY()+1,1)+7 This gives me the date Feb 29.. but instead it should gibve me march 1 how do i alter this |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I don't know which part of the world you are in, but here in the UK today is
Tuesday 26th. Adding 1 to TODAY() gets you to a Wednesday. The WEEKDAY function would return 4 [look at Excel Help for WEEKDAY if you don't know how it works for the various options]. Your formula therefore starts from Feb 26th, subtracts 4 and adds 7. In my book that gets you to Feb 29th, not to March 1st. You did remember that this year is a leap year, didn't you? -- David Biddulph "deepika :excel help" wrote in message ... =TODAY()-WEEKDAY(TODAY()+1,1)+7 This gives me the date Feb 29.. but instead it should gibve me march 1 how do i alter this |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hey david,
thank you very much. now is when i realized tah this is a leap year... ha ha thank you again "David Biddulph" wrote: I don't know which part of the world you are in, but here in the UK today is Tuesday 26th. Adding 1 to TODAY() gets you to a Wednesday. The WEEKDAY function would return 4 [look at Excel Help for WEEKDAY if you don't know how it works for the various options]. Your formula therefore starts from Feb 26th, subtracts 4 and adds 7. In my book that gets you to Feb 29th, not to March 1st. You did remember that this year is a leap year, didn't you? -- David Biddulph "deepika :excel help" wrote in message ... =TODAY()-WEEKDAY(TODAY()+1,1)+7 This gives me the date Feb 29.. but instead it should gibve me march 1 how do i alter this |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
You don't need the +1 =TODAY()-WEEKDAY(TODAY(),1)+7 -- Regards Roger Govier "deepika :excel help" wrote in message ... =TODAY()-WEEKDAY(TODAY()+1,1)+7 This gives me the date Feb 29.. but instead it should gibve me march 1 how do i alter this |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to get the random date between the start date and the end date? | Excel Worksheet Functions | |||
Report Date - Date Recv = Days Late, but how to rid completed date | Excel Worksheet Functions | |||
Make date change in excel to current date when opening daily? | Excel Discussion (Misc queries) | |||
Calculating days between current date and a date in future NETWORKDAYS() function | Excel Worksheet Functions | |||
Date updates from worksheet to chart & changes date to a date series! Help!! | Charts and Charting in Excel |