Converting a Date Value to Text

cdnqte

Board Regular
Joined
Jul 14, 2004
Messages
132
I have a sheet that I want to show the dates being compared in one cell at the top of the sheet.

For example, it would say "May 2007 vs. May 2006" in one cell.

The actual CYR and LYR dates are stored on another sheet as they are used as parameters that update the data. I thought using the following command would give me what I want:

=concatenate(a1&" vs. "&a2)

(assuming the dates are in cells a1 and a2)

However, all I get are the numeric values of the date.

I tried using the text and value functions as well but it does the same thing.

How can I concatenate those two fields and display the actual date instead of the numeric value?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,213,527
Messages
6,114,148
Members
448,552
Latest member
WORKINGWITHNOLEADER

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