Looking for a Date forming function

R

Rob Flott

I have two cells; A1 and B1 each with a date; in A1 I have 11/01/11
and in B1 I have 11/26/11. Furthermore I named cell A1 StartWeek and
cell B1 is named EndWeek.

I'd like to have an adjacent cell read 11/01/11 through period ending
11/26/11

But when I enter =concatenate(A1&" through period ending "&B1) I end
up with:
11/05/11 through period ending 40873

I also tried =concatenate(StartWeeek&" through period ending
"&EndWeek) but I still end up with:
11/05/11 through period ending 40873

Is there some function I can add that would format the second date to
appear correctly as 11/26/11 ?

Thank you
 
P

plinius

Il 08/12/2012 00:33, Rob Flott ha scritto:
I have two cells; A1 and B1 each with a date; in A1 I have 11/01/11
and in B1 I have 11/26/11. Furthermore I named cell A1 StartWeek and
cell B1 is named EndWeek.

I'd like to have an adjacent cell read 11/01/11 through period ending
11/26/11

But when I enter =concatenate(A1&" through period ending "&B1) I end
up with:
11/05/11 through period ending 40873

I also tried =concatenate(StartWeeek&" through period ending
"&EndWeek) but I still end up with:
11/05/11 through period ending 40873

Is there some function I can add that would format the second date to
appear correctly as 11/26/11 ?

Thank you


=TEXT(A1,"mm/gg/aa")&" through period ending "&TEXT(B1,"mm/gg/aa")

E.
 
R

Rob Flott

Il 08/12/2012 00:33, Rob Flott ha scritto:











=TEXT(A1,"mm/gg/aa")&" through period ending "&TEXT(B1,"mm/gg/aa")

E.- Hide quoted text -

- Show quoted text -

Thank you...this works great, although I used "mm/dd/yy"
instead....THANK YOU :)
 

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