LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Group/Sort records in Excel

Curious wrote:
Yes, I use comma as column separator.
How can I separate the Class and AccountName automatically in the
Excel?

Also, what command shall I use in order to add up the Shares for the
same Security on the same Side within the same Class?


You can use text-to-columns to separate the data.

Your original data looks like this:
Class_AccountName,Security,Side,Shares

Use text-to-columns with a comma (,) as delimiter to get this:
Class_AccountName Security Side Shares

Then text-to-columns once more with underscore (_) as delimiter to get this:
Class AccountName Security Side Shares


To get the sums I think your best bet is to use a pivot table as this
will produce all the subtotals at once. If you are not familiar with
pivot tables googling should reveal many good primers.
 
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
In excel files get saved a [Group], can't sort. Help! HROSEN Excel Discussion (Misc queries) 1 April 1st 09 09:44 PM
what is a group excel file and how do i disable so i can sort it? JR Excel Worksheet Functions 1 March 20th 08 02:45 PM
Excel subtotal group sort rick@bcbsne Excel Worksheet Functions 4 October 13th 05 12:31 AM
Excel should let me group rows of info and then sort them Dave Excel Worksheet Functions 0 August 31st 05 08:03 PM
How do I sort a group of calculated cells in Excel? Benny cannot figure otu the solution Excel Worksheet Functions 2 July 5th 05 08:55 PM


All times are GMT +1. The time now is 12:24 AM.

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"