Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a column with dates. I want to put a cell with a formula beside each
date that will return the month. I know I can do this with formatting but I want to use the "month" column in a pivot that will let me sort my data by month. When I just return the date value and change the formatting to show as month, the pivot still reads the "month" cells as a day. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use formula = month(A1)
"birdgirl31" wrote: I have a column with dates. I want to put a cell with a formula beside each date that will return the month. I know I can do this with formatting but I want to use the "month" column in a pivot that will let me sort my data by month. When I just return the date value and change the formatting to show as month, the pivot still reads the "month" cells as a day. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you want the month name:
Short name format: Jan =TEXT(A1,"ddd") Long name format: January =TEXT(A1,"dddd") -- Biff Microsoft Excel MVP "birdgirl31" wrote in message ... I have a column with dates. I want to put a cell with a formula beside each date that will return the month. I know I can do this with formatting but I want to use the "month" column in a pivot that will let me sort my data by month. When I just return the date value and change the formatting to show as month, the pivot still reads the "month" cells as a day. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ooops!
Short name format: Jan =TEXT(A1,"ddd") Long name format: January =TEXT(A1,"dddd") Those formulas will return the weekday. These are the correct formulas: =TEXT(A1,"mmm") =TEXT(A1,"mmmm") -- Biff Microsoft Excel MVP "T. Valko" wrote in message ... If you want the month name: Short name format: Jan =TEXT(A1,"ddd") Long name format: January =TEXT(A1,"dddd") -- Biff Microsoft Excel MVP "birdgirl31" wrote in message ... I have a column with dates. I want to put a cell with a formula beside each date that will return the month. I know I can do this with formatting but I want to use the "month" column in a pivot that will let me sort my data by month. When I just return the date value and change the formatting to show as month, the pivot still reads the "month" cells as a day. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks to you all - your formulas worked perfectly!
"birdgirl31" wrote: I have a column with dates. I want to put a cell with a formula beside each date that will return the month. I know I can do this with formatting but I want to use the "month" column in a pivot that will let me sort my data by month. When I just return the date value and change the formatting to show as month, the pivot still reads the "month" cells as a day. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "birdgirl31" wrote in message ... Thanks to you all - your formulas worked perfectly! "birdgirl31" wrote: I have a column with dates. I want to put a cell with a formula beside each date that will return the month. I know I can do this with formatting but I want to use the "month" column in a pivot that will let me sort my data by month. When I just return the date value and change the formatting to show as month, the pivot still reads the "month" cells as a day. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return Month & Year of Date Value | Excel Discussion (Misc queries) | |||
return month from a date | Excel Discussion (Misc queries) | |||
Auto return month as text date | Excel Discussion (Misc queries) | |||
In Excel How do I return the Month for a specific date | Excel Discussion (Misc queries) | |||
In Excel, look at a date field and return just the month.. | Excel Discussion (Misc queries) |