Getting date to display properly when using &

TWTHOMAS

Board Regular
Joined
Mar 26, 2010
Messages
99
Office Version
  1. 2016
Platform
  1. Windows
I have a sheet that has an event, a date, a city and a state in cells A2, B2, C2 and D2.
The formula I am using is as follows
=A2&" - "&B2&" - "&C2&", "&D2

The dates are the short date format for example 9/4/2024 and I have tried to format the date cells as text and general and short date.

Regardless of how I format them, the result appears the date changes to something like 45539 instead of 9/4/2024.

So instead of Indiana University - 9/4/2024 - Bloomington, IN, I get Indiana University - 45539 - Bloomington, IN

Any suggestions?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=A2&" - "&text(B2,"mm/dd/yyyy")&" - "&C2&", "&D2
 
Upvote 1
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=A2&" - "&text(B2,"mm/dd/yyyy")&" - "&C2&", "&D2
Excel 2016 I'll update my profile also. Thanks
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=A2&" - "&text(B2,"mm/dd/yyyy")&" - "&C2&", "&D2
Also, that worked!!! Thank you.
 
Upvote 0
You're welcome & thanks for the feedback.
Thanks also for updating your profile. (y)
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top