On Wed, 12 Nov 2008 00:07:49 +0100, Niek Otten wrote:
> <They're in MMM-YY format>
>
> Are they "real" Excel dates formatted asMMM-YY, or are they text strings?
> If they are real Excel dates, just use Format>Cells>Number tab>Date and
> choose an appropriate format.
> If they are text strings, it depends on your date settings in Windows
> Control Panel. Anyway, do try the DATEVALUE() function.
> You can test whether it is a text string with the ISTEXT() function or the
> other way around with the ISNUMBER() function (dates are numbers in Excel).
> Last try indeed, use VLOOKUP tables. IŽd be surprised if that proved to be
> necessary, but who knows.........
Thanks for your reply. I should have mentioned that the "MMM-YY" dates are
actually text, not XL dates. I tried the DATEVALUE function, but for some
reason, the cell showed =DATEVALUE(F3) instead of the XL datevalue. It does
show the numerical datevalue in the DATEVALUE function dialog box! Never
saw that before. I guess DATEVALUE won't work here.
You didn't reply to my question about using an array to do a lookup. Is
this a possible way to go?
|