Learn Excel 2010 - 'August' from Numeric Date - Podcast #1414

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Aug 25, 2011.
Today, Nick asks how to get the word 'August' in cell B1 from a date in cell A1. In Episode #1414, Bill shows us how to convert a date to a month name or to a weekday name using the TEXT function.
maxresdefault.jpg


Transcript of the video:
MrExcel podcast is sponsored by Easy-XL.
Learn Excel from MrExcel podcast, episode 1414.
August from 8/25/2011.
Hey! Welcome back to the MrExcel netcast.
I'm Bill Jelen.
Today's question sent in by Nick.
Nick has a date up there in cell A1 and in cell B1.
He wants a formula.
It's gonna give him the month named august and Nick was trying.
He was trying month and then equal vlookup, of that and just this huge thing, but there's a much much easier way to go.
You know, we have that date up there, and if we go into format cells [ ctrl 1 ].
They give us a few different date formats, but there's a whole bunch of custom date formats and if we put in 4 m's, you see that it actually spells out the month name.
So, the trick there is, to say we want equal text.
Text is going to take a value and show it in a certain custom number format.
Some of the text of A1 in quotes, 4 m's (mmmm) and it will convert that August to August.
We'll try another date 1/23/2012, converts it to January and set on, all right!
Let's take a look at all the different date formats that are available.
Single d, will show us just the one or two digit date.
2 d's, will put a leading 0 in front of that date.
3 d's, gives us the weekday abbreviation.
4 d's, spells out the weekday.
Month, with a leading 0.
3 m's, gives us the month abbreviation.
4 m's, gives us the whole thing.
Strangely enough, 'y' actually works with one, two, three or four.
Although, you either get a two digit year or a four-digit year.
1 and 2 y's three and four y's, return the same value.
So, you know if you wanted to see that what day of the week it was equal text that date comma in quotes 4 d's.
Will give us Thursday, here we go.
A cool way to convert a date to either month name or the weekday.
I want to thank you for stopping by, see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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