Date formula question

Closed
Steve - 21 Mar 2014 à 17:38
 steve - 25 Mar 2014 à 18:49
Hello,
How do make the month date year such as 1/1/2014 to hard code month-year Jan-14 for use in pivot table?
Thanks


3 responses

Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
21 Mar 2014 à 20:21
steve, Good evening.

Select the cell with the date.
--> Menu Format
--> Cells
--> Number
--> Custom
--> Below the word TYPE: on the field.
--> Type mmm-yy

Is it what you want?
I hope it helps.
Hello
I did that and then I copied and pasted the formatted cells with copy paste special and the values to hold the formatting in place but it doesn't "stay" the computer reads the same formatting so that when you use pivot tables it doesn't sum by month year. any ideas?
Thanks!
Steve
Kevin@Radstock Posts 42 Registration date Thursday 31 January 2013 Status Member Last seen 26 April 2014 9
22 Mar 2014 à 11:27
Do you mean that you require the date as a text value! May be the following and assuming your date is in A1.

=TEXT(A1,"mmm-yy")

Or in your pivot table you can group your dates. select a cell in your date column of your pivot table, right click and group, select Months & Years.
Yes that works
TEXT

Thank you very much!
Steve