#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default split coloumn

I have a coloumn with dates in the format dd-mm-yyyy
I neet to make a sub total for each change in month
I know it is possible to split the coloumn so I can get the month in a
coloumn of its own, but how do I do it
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 772
Default split coloumn

You can do a Data-Text to columns and split on the "-" but would probably be
better to use =MONTH(A1) and copy it down, copy paste special values, then
subtotal on this column.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Finn" wrote:

I have a coloumn with dates in the format dd-mm-yyyy
I neet to make a sub total for each change in month
I know it is possible to split the coloumn so I can get the month in a
coloumn of its own, but how do I do it

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default split coloumn

On Mon, 29 Oct 2007 05:59:03 -0700, Finn
wrote:

I have a coloumn with dates in the format dd-mm-yyyy
I neet to make a sub total for each change in month
I know it is possible to split the coloumn so I can get the month in a
coloumn of its own, but how do I do it


=month(dt) will give you the month of dt as a number.

You could also use a Pivot Table without changing your data table.

Data/Pivot Table

Drag Dates to the Row area
Drag Amounts (or whatever you want to subtotal) to the Data area.

Then Right-Click in the date column of the pivot table, select to Group and by
Months.

Format to taste
--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default split coloumn

If the dates are in there as text, you will be able to use Data | Text to
Column to split ("parse") the data.
But if they are real dates, then they are stored as numbers and only
displayed with the format so parsing is a no go. To get the month use
=MONTH(A1)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Finn" wrote in message
...
I have a coloumn with dates in the format dd-mm-yyyy
I neet to make a sub total for each change in month
I know it is possible to split the coloumn so I can get the month in a
coloumn of its own, but how do I do it



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
Split one coloumn into 2 in Excel [email protected] Excel Discussion (Misc queries) 4 March 29th 07 03:52 PM
How to search data in one coloumn gibbs Excel Worksheet Functions 2 February 28th 07 05:21 AM
How do i add up every other coloumn in a linked sheet abs Excel Worksheet Functions 1 October 9th 06 01:09 PM
Replace Null value in Coloumn Plumdodge Excel Discussion (Misc queries) 2 November 8th 05 11:00 PM
about coloumn wide Vikrant Vaidya New Users to Excel 1 December 8th 04 08:09 AM


All times are GMT +1. The time now is 12:27 PM.

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

About Us

"It's about Microsoft Excel"