Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Eva Eva is offline
external usenet poster
 
Posts: 197
Default how do i split a cell that contains dd/mm/yy into a 3 separate cel

I have a column that contains a list of paid invoices and the payment date is
showing as dd/mm/yy. I need to do a pivot by month. How do I change my cell
from the current format so the month is shown in one cell and the year in the
next cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default how do i split a cell that contains dd/mm/yy into a 3 separate cel

This extracts the year from a date
=YEAR(DateValue)

This extracts the month from a date

=MONTH(DateValue)

And just in case, this extract the day

=DAY(DateValue)
--
Kevin Backmann


"Eva" wrote:

I have a column that contains a list of paid invoices and the payment date is
showing as dd/mm/yy. I need to do a pivot by month. How do I change my cell
from the current format so the month is shown in one cell and the year in the
next cell?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default how do i split a cell that contains dd/mm/yy into a 3 separate cel

Start by building your Pivot Table using the DATE field.

Then, assuming the DATE is a ROW field in the Pivot Table
Right-Click on the DATE field....Select: Group and Show Detail.....Group
Click on Months....Click on Years....Click [OK]

That will display those 2 fields, instead of the dates.

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)


"Eva" wrote in message
...
I have a column that contains a list of paid invoices and the payment date
is
showing as dd/mm/yy. I need to do a pivot by month. How do I change my
cell
from the current format so the month is shown in one cell and the year in
the
next cell?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Separate/Split all the worksheets in a workbook into different fil tnacius rottie Excel Discussion (Misc queries) 0 September 14th 07 06:16 PM
split text into separate cells jtaiariol Excel Worksheet Functions 7 May 7th 07 09:32 PM
Split date in cell into 2 separate cells Jambruins Excel Discussion (Misc queries) 1 August 9th 06 06:16 PM
Split data from one cell to two separate cells Michele Excel Worksheet Functions 2 October 25th 05 09:27 PM
split a single column into 2 separate columns Eve Excel Worksheet Functions 2 March 14th 05 07:33 PM


All times are GMT +1. The time now is 07:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"