Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a column of dates. I wish to create another column that tells me if
the date in the column falls within a range and if so to make a change or not. For example a b 10/3/2007 change 10/1/2005 no change My formula =if(and(a110/1/2007,a1<10/1/2008),"Change","No Change") tells me everything is "no change" Could someone please tell me what I am doing wrong? Thanks for your help. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Change your if statement as illustrated below so that the date values are
treated as dates: =IF(AND(A1DATE(2007,10,1),A1<DATE(2008,10,1)),"Ye s","No") The syntax of the DATE Function is DATE(Year,Month,Day) All the arguments require an integer entry. -- Kevin Backmann "JH" wrote: I have a column of dates. I wish to create another column that tells me if the date in the column falls within a range and if so to make a change or not. For example a b 10/3/2007 change 10/1/2005 no change My formula =if(and(a110/1/2007,a1<10/1/2008),"Change","No Change") tells me everything is "no change" Could someone please tell me what I am doing wrong? Thanks for your help. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Kevin,
That was perfect, thank you so much. "Kevin B" wrote: Change your if statement as illustrated below so that the date values are treated as dates: =IF(AND(A1DATE(2007,10,1),A1<DATE(2008,10,1)),"Ye s","No") The syntax of the DATE Function is DATE(Year,Month,Day) All the arguments require an integer entry. -- Kevin Backmann "JH" wrote: I have a column of dates. I wish to create another column that tells me if the date in the column falls within a range and if so to make a change or not. For example a b 10/3/2007 change 10/1/2005 no change My formula =if(and(a110/1/2007,a1<10/1/2008),"Change","No Change") tells me everything is "no change" Could someone please tell me what I am doing wrong? Thanks for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I sort a column of random dates into Consecutive dates | Excel Worksheet Functions | |||
Identifying unique dates in a range of cells containing dates... | Excel Discussion (Misc queries) | |||
Identifying unique dates within a range of cells containing dates | Excel Discussion (Misc queries) | |||
need to convert list of dates to count no. of dates by week | Excel Worksheet Functions | |||
Calculating number of days between two dates that fall between two other dates | Excel Discussion (Misc queries) |