General Discussion Undecided where to post - do it here. |
Reply to Thread New Thread |
![]() |
#1 |
|
I have a timecard spreadsheet that I need help with.
One of the cells on the card represents "week starting", cell N4, (for instance, this week that cell is Jan. 8, 2012). There is another cell that represents "week ending", cell N5, and is based off of the other cell. This is what is the 2nd cell has: Code: Code
IF($N$4=0,"",$N$4+6) Now, how can I make it do this: IF: N4's date is either Jan. 1, 2012 or a multiple of 7 days after that date: if today's date is Jan 1, Jan 8, Jan 15 etc... THEN: change that cell to today's date I want it to automatically update the week starting and week ending as the document is opened/used so I don't have to manually change the date. |
![]() |
![]() |
#2 |
|
|
![]() |
![]() |
#3 |
|
|
![]() |
![]() |
#4 |
|
|
![]() |
![]() |
#5 |
|
This will do what you want but there may be a better way if I could see the spreadsheet. This is pretty efficient though and will auto update. |
![]() |
![]() |
#8 |
|
I'm not sure if Excel supports this syntax, but you need something like: Code: Code
=IF(OR(DATE(2012,1,1)=TODAY(),MOD(TODAY()-N4,7)=0),TODAY(),"Whatever you want this to be if it isn't a 7 day multiple") |
![]() |
Reply to Thread New Thread |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|