Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formulas populating dates - 1st Tuesday | Excel Worksheet Functions | |||
Every 1st, 3rd, 5th Tuesday | Excel Worksheet Functions | |||
formulas that matches data and subtract dates | Excel Discussion (Misc queries) | |||
Column formulas to subtract value from value | Excel Discussion (Misc queries) | |||
How do I subtract using formulas? | Excel Worksheet Functions |