Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Could someone kindly give me some guidance on the below:
I have two columns, one a list of dates, and the other which is supposed to show a 'Y' if the date in the same row is prior to a certain date e.g. 3rd January 2005, and an 'N' if not. My formula looks like this, but doesn't seem to work: =IF(G2<03/01/2005,"Y","N") Any thoughts? TIA |
#2
![]() |
|||
|
|||
![]()
Hi
=IF(G2<DATE(2005,1,3),"Y","N") -- When sending mail, use address arvil<attarkon.ee Arvi Laanemets "Paula" wrote in message ... Could someone kindly give me some guidance on the below: I have two columns, one a list of dates, and the other which is supposed to show a 'Y' if the date in the same row is prior to a certain date e.g. 3rd January 2005, and an 'N' if not. My formula looks like this, but doesn't seem to work: =IF(G2<03/01/2005,"Y","N") Any thoughts? TIA |
#3
![]() |
|||
|
|||
![]()
It's usually easier to designate a cell to hold the date you're looking for,
so that it can be changed much more simply for future calculations. Also, using true XL dates, you don't have to worry about matching formats between the formula and the data. Try this: =IF(G2<A1,"Y","N") With the date you're looking for entered in A1. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "Paula" wrote in message ... Could someone kindly give me some guidance on the below: I have two columns, one a list of dates, and the other which is supposed to show a 'Y' if the date in the same row is prior to a certain date e.g. 3rd January 2005, and an 'N' if not. My formula looks like this, but doesn't seem to work: =IF(G2<03/01/2005,"Y","N") Any thoughts? TIA |
#4
![]() |
|||
|
|||
![]()
Hi,
The problem is that Excel is helpfully converting 03/01/2005 to a number (probably 3/2005). If you try =IF(G2<datevalue("03/01/2005"),"Y","N") if should work. David Jessop "Paula" wrote: Could someone kindly give me some guidance on the below: I have two columns, one a list of dates, and the other which is supposed to show a 'Y' if the date in the same row is prior to a certain date e.g. 3rd January 2005, and an 'N' if not. My formula looks like this, but doesn't seem to work: =IF(G2<03/01/2005,"Y","N") Any thoughts? TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formating Dates for production schedule | Excel Discussion (Misc queries) | |||
if function with dates | Excel Discussion (Misc queries) | |||
Nested IF Function, Date Comparing, and NetworkDays Function | Excel Worksheet Functions | |||
Formula to list unique values | Excel Worksheet Functions | |||
change function variable prompts?? | Excel Worksheet Functions |