If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
If Tuesday subtract 4 (Formulas)
I need to subtract 4 days if Tuesday, 3 days if Monday, 2 days if Sunday and
1 day if Saturday. I would like to include this with the formula I'm using now. (E2-7) the cel the formula is in and the cell i'm subtracting from are both formated as dates (11/18/09). Can anyone point me in the right direction? Thank you, |
#2
|
|||
|
|||
If Tuesday subtract 4 (Formulas)
Hi,
=E2-CHOOSE(WEEKDAY(E2,2),3,4,0,0,0,1,0) Mike "Buschwack" wrote: I need to subtract 4 days if Tuesday, 3 days if Monday, 2 days if Sunday and 1 day if Saturday. I would like to include this with the formula I'm using now. (E2-7) the cel the formula is in and the cell i'm subtracting from are both formated as dates (11/18/09). Can anyone point me in the right direction? Thank you, |
#3
|
|||
|
|||
If Tuesday subtract 4 (Formulas)
I missed Sunday
=E2-CHOOSE(WEEKDAY(E2,2),3,4,0,0,0,1,2) Mike "Mike H" wrote: Hi, =E2-CHOOSE(WEEKDAY(E2,2),3,4,0,0,0,1,0) Mike "Buschwack" wrote: I need to subtract 4 days if Tuesday, 3 days if Monday, 2 days if Sunday and 1 day if Saturday. I would like to include this with the formula I'm using now. (E2-7) the cel the formula is in and the cell i'm subtracting from are both formated as dates (11/18/09). Can anyone point me in the right direction? Thank you, |
#4
|
|||
|
|||
If Tuesday subtract 4 (Formulas)
Thanks a lot, worked great.
"Mike H" wrote: I missed Sunday =E2-CHOOSE(WEEKDAY(E2,2),3,4,0,0,0,1,2) Mike "Mike H" wrote: Hi, =E2-CHOOSE(WEEKDAY(E2,2),3,4,0,0,0,1,0) Mike "Buschwack" wrote: I need to subtract 4 days if Tuesday, 3 days if Monday, 2 days if Sunday and 1 day if Saturday. I would like to include this with the formula I'm using now. (E2-7) the cel the formula is in and the cell i'm subtracting from are both formated as dates (11/18/09). Can anyone point me in the right direction? Thank you, |
Thread Tools | |
Display Modes | |
|
|