Trying to formulate =IF(c2 > 01/31/05, 1,"2") Is there a different date
format to use?
Thank you in advance for any help.
Trying to formulate =IF(c2 > 01/31/05, 1,"2") Is there a different date
format to use?
Thank you in advance for any help.
Hi,
Try this:
=2-(C2>VALUE("01/31/05"))
or
=2-(C2>DATEVALUE("01/31/05"))
or
=2-(C2>DATE(2005,1,31))
or
=IF(C2>DATE(2005,1,31),1,2)
etc.
Regards,
KL
"gsmith" <[email protected]> wrote in message
news:[email protected]...
> Trying to formulate =IF(c2 > 01/31/05, 1,"2") Is there a different date
> format to use?
>
> Thank you in advance for any help.
Yahoo - that was exactly what I needed. Thank you KL!!
"KL" wrote:
> Hi,
>
> Try this:
>
> =2-(C2>VALUE("01/31/05"))
>
> or
>
> =2-(C2>DATEVALUE("01/31/05"))
>
> or
>
> =2-(C2>DATE(2005,1,31))
>
> or
>
> =IF(C2>DATE(2005,1,31),1,2)
>
> etc.
>
> Regards,
> KL
>
>
> "gsmith" <[email protected]> wrote in message
> news:[email protected]...
> > Trying to formulate =IF(c2 > 01/31/05, 1,"2") Is there a different date
> > format to use?
> >
> > Thank you in advance for any help.
>
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks