T
tbieri
Hi,
I am trying to determine what row the first time year 1999,
2000, 2001, etc. appears in a column of dates.
Currently, I am using the following statement
MATCH(DATEVALUE("01/01/2000"),Xvalues,1) where Xvalues is a
defined name for a column containing ascending dates.
I get different results, depending on dates in Xvalues and
the Match Type (-1,0,1). For example if the first date in
the column is 03/03/2000 and Type is 1, then I get #N/A,
which I understand since there is no date less than
01/01/2000. I cannot use Type 0, since it will never be a
exact match. Match Type of -1 returns #N/A.
Is there a better way
Thanks,
tbieri
I am trying to determine what row the first time year 1999,
2000, 2001, etc. appears in a column of dates.
Currently, I am using the following statement
MATCH(DATEVALUE("01/01/2000"),Xvalues,1) where Xvalues is a
defined name for a column containing ascending dates.
I get different results, depending on dates in Xvalues and
the Match Type (-1,0,1). For example if the first date in
the column is 03/03/2000 and Type is 1, then I get #N/A,
which I understand since there is no date less than
01/01/2000. I cannot use Type 0, since it will never be a
exact match. Match Type of -1 returns #N/A.
Is there a better way
Thanks,
tbieri