View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default Date shows as a number

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
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2