Using dates with text

MinerExcel

New Member
Joined
Apr 18, 2016
Messages
17
Hello,

Please if anyone can help. I think this is possible without a VBA but I can't figure it out. I want a cell coded with a custom date format and general formatting. In a cell lets say S1 I tried making up this formal. =W1&" - "&A2&" "&VLOOKUP(Q2,AB5:AC28,2,FALSE)&" "&X1&" PRODUCTION" The result was 42525 - BQ EAST 10 42525 PRODUCTION. W1 is a date from another sheet formatted as yyyy mm X1 is the same date formatted as mmmm I want that in all caps. So I would like the result to read 2016 06 - BQ EAST 10 JUNE PRODUCTION. I thought formatting the date to the form I wanted in other cells would be easiest. I hope I have explained my problem and the solution I am looking for well enough.

Thank you
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Never mind I'm an idiot this is the formula I needed =TEXT('06-04'!A5,"yyyy mm")&" - "&A2&" "&VLOOKUP(Q2,AB5:AC28,2,FALSE)&" "&UPPER(TEXT('06-04'!A5,"MMMM"))&" PRODUCTION"
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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