Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Having a bit of trouble with this: =IF(D2<12/13/04, " ", A2).
Column D has dates (formatted mm/dd/yy). Dates are before and after 12/13/04 but the above statement always a blank and =IF(D2 12/13/04, " ", A2) always returns the value in A. If I put 12/13/04 in a cell (H2) and use =IF(D7<$H$2," ", A7), it works. What did I do wrong in the first one? Thanks. |
#2
![]() |
|||
|
|||
![]()
Your conditional,
D2<12/13/04 will be interpreted as D2 is less than 12 divided by 13 divided by 14 (i.e., 0.230769231). Use either =IF(D2<DATE(2004,12,13),... or =IF(D2<"12/13/04",... In article , "wal50" wrote: Having a bit of trouble with this: =IF(D2<12/13/04, " ", A2). Column D has dates (formatted mm/dd/yy). Dates are before and after 12/13/04 but the above statement always a blank and =IF(D2 12/13/04, " ", A2) always returns the value in A. If I put 12/13/04 in a cell (H2) and use =IF(D7<$H$2," ", A7), it works. What did I do wrong in the first one? |
#3
![]() |
|||
|
|||
![]()
Thanks.
WAL "JE McGimpsey" wrote: Your conditional, D2<12/13/04 will be interpreted as D2 is less than 12 divided by 13 divided by 14 (i.e., 0.230769231). Use either =IF(D2<DATE(2004,12,13),... or =IF(D2<"12/13/04",... In article , "wal50" wrote: Having a bit of trouble with this: =IF(D2<12/13/04, " ", A2). Column D has dates (formatted mm/dd/yy). Dates are before and after 12/13/04 but the above statement always a blank and =IF(D2 12/13/04, " ", A2) always returns the value in A. If I put 12/13/04 in a cell (H2) and use =IF(D7<$H$2," ", A7), it works. What did I do wrong in the first one? |
#4
![]() |
|||
|
|||
![]()
Hi
use =IF(D1<DATE(2004,12,13),"",A2) -- Regards Frank Kabel Frankfurt, Germany "wal50" schrieb im Newsbeitrag ... Having a bit of trouble with this: =IF(D2<12/13/04, " ", A2). Column D has dates (formatted mm/dd/yy). Dates are before and after 12/13/04 but the above statement always a blank and =IF(D2 12/13/04, " ", A2) always returns the value in A. If I put 12/13/04 in a cell (H2) and use =IF(D7<$H$2," ", A7), it works. What did I do wrong in the first one? Thanks. |
#5
![]() |
|||
|
|||
![]()
Thanks.
WAL "Frank Kabel" wrote: Hi use =IF(D1<DATE(2004,12,13),"",A2) -- Regards Frank Kabel Frankfurt, Germany "wal50" schrieb im Newsbeitrag ... Having a bit of trouble with this: =IF(D2<12/13/04, " ", A2). Column D has dates (formatted mm/dd/yy). Dates are before and after 12/13/04 but the above statement always a blank and =IF(D2 12/13/04, " ", A2) always returns the value in A. If I put 12/13/04 in a cell (H2) and use =IF(D7<$H$2," ", A7), it works. What did I do wrong in the first one? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formating Dates for production schedule | Excel Discussion (Misc queries) | |||
due dates | New Users to Excel | |||
I get wrong dates when i paste from a different sheet into a new s | Excel Discussion (Misc queries) | |||
Filtering with dates | Excel Discussion (Misc queries) | |||
counting entries between two dates? | Excel Worksheet Functions |