Date shows as a number

  • Thread starter Thread starter Bob
  • Start date Start date
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
 
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
 
Back
Top