Often you will want to extract a month or day of the week from an Excel date. This is extraordinarily easy to do using the text function.
To get the name of the day of the week from a date in, for example, cell A1 type this into another cell:
= TEXT(A1,”dddd”)
This will give you the full day name spelled out such as Monday or Tuesday.
If you want a three character name use:
= TEXT(A1,”ddd”)
The same basic formula can be used to get the month of the year from a date. Use this to get the month name spelled out in full:
= TEXT(A1,”mmmm”)
Use this to get the month of the year spelled out in three characters:
= TEXT(A1,”mmm”)
and this for a single letter month:
= TEXT(A1,”mmmmm”)
This formula can be easily constructed and copied down a column of dates to extract just the information you want very quickly and easily.
The Excel help file has some information about the different formats you can use to extract data using the TEXT function.
I use these functions but get the result #name?
Assuming there is somehting I need to do in excel 2010 that is not set. I did turn on the developer ribbon.
If you copy and paste them into Excel, delete the double quote marks and add your own new ones. For some reason, WordPress is using the wrong quote marks and this will sabotage the formulas.
Helen
Thanks, you just got book-marked.
Thank you! Just what I needed.
I cant figure out the formula for the full day, month,and year, can you help me never did this before,using p.c. for two months and I am stuck.
Je fourmula kamal ke hai bhut hi kam a rhe hai realy
thanks
Thanks
it is very useful for excel working.
Thank for the tips.
Tnx 🙂