Concatenting dates..the correct format, please

  • Thread starter Thread starter jerry.ranch
  • Start date Start date
J

jerry.ranch

I have two date fields that I need to concatenate

for example

A B
1 Start Finish
2 4/4/2007 4/4/2008


What I want is to display is

From 4/4/2007 to 4/4/2008

so I have a formula

= "From "&A2" to "&b2

What I get is
From 39176 to 39542
How can I get the date format in there?

Thanks
Jerry Ranch
 
= "From " & text(A2,"mm/dd/yyyy") & " to " & text(b2,"mm/dd/yyyy")

And if you had money...

... & text(c2,"$0.00") & ...
 
Try

="From "&TEXT(A2,"mm/dd/yyyy")&" to "&TEXT(B2,"mm/dd/yyyy")


change the format accordingly in the TEXT formula if you are not using US
date formats
 
I have two date fields that I need to concatenate

for example

A B
1 Start Finish
2 4/4/2007 4/4/2008

What I want is to display is

From 4/4/2007 to 4/4/2008

so I have a formula

= "From "&A2" to "&b2

What I get is
From 39176 to 39542
How can I get the date format in there?

Thanks
Jerry Ranch

Try this:
="From "& format(A2, "m/d/yyyy") &" to "& format(B2, "m/d/yyyy")

-DFruge
 

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

Back
Top