Date Values

J

Jahson

If I have a value in Cell A1 of 12-Feb-04 and I want to
use this value in another cell i get the value 38029.

I know I can then format the cell as a date and i will get
the value 12-Feb-04 but is there a way of using the value
12-Feb-04 without paste special or formatting the
destination cell.

Like format(a1,dd-mmm-yy)?
 
N

Norman Harker

Hi Jahson!

You could use:

=TEXT(A1,"dd-mmm-yy")

But this date will then be text.

Alternatively, pre format the cell as a date in your desired format.

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top