Date shows as a number

B

Bob

I have a date in cell E2 formatted as 2011/08/09

In cell G2 I have a small formula
="%changeNextPaydate( "&A2&"'"&E2&"' );"

This should display as %changeNextPaydate( 1001552205
‘2011/08/09’ );
But the date in cellE2 shows as the numeric ’40764’
giving me %changeNextPaydate( 1001552205
‘40764’ );

Does anybody know how I can correct this please.

With thanks
 
C

Claus Busch

Hi Bob,

Am Tue, 7 Jun 2011 12:56:46 -0700 (PDT) schrieb Bob:
I have a date in cell E2 formatted as 2011/08/09

In cell G2 I have a small formula
="%changeNextPaydate( "&A2&"'"&E2&"' );"

This should display as %changeNextPaydate( 1001552205
?2011/08/09? );
But the date in cellE2 shows as the numeric ?40764?
giving me %changeNextPaydate( 1001552205
?40764? );

try:
="%changeNextPaydate( "&A2&"'"&TEXT(E2,"YYYY/MM/DD")&"' );"


Regards
Claus Busch
 

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