+ Reply to Thread
Results 1 to 5 of 5

Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.

    Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.

    Dear Forum,


    I am tired of getting this done, I have managed to get the Series for one Criteria but I need to get a Sub-series based on 2 criterias as need to get three things done:

    1. To get the Series as shown in the COlumn S --. Mode Sr. no

    2. And the Sub_mode Sr No based on the different criterias present for each different month as shown in Column O

    3. In the Column U I also need to Sum the Premium in the Column M in Monthwise and Modewise..

    Ex: - In Cell M2 the premium is Rs 5000/- and the month is june and the mode is QLY so it will be seperate as just Rs 5000/- however, the amounts of Rs 5131 and 1021 are ECs for June so they need to be added.

    Regards
    e4excel
    Attached Files Attached Files
    Last edited by e4excel; 02-02-2011 at 12:05 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.

    Hi Vaibhav

    When you want to group and subgroup on column S, you would need to have all cells in S filled in. You now have blanks, so it won't sort on those.

    I have created a Pivot Table of your data, grouped by Month and then Day. I also have a filter on the Pivot Table using Mode.

    I hope this gives you an idea of how Pivot Tables might be used to filter, sort, group and sum values in your table.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.

    Thanks MarvinP,

    IS it possible to get this done via formulas as the values in the COlumns L,M, N and O are dynamic..

    I am going to have formulas in the Columns Z to Column AAD in unison with the values I get in the Column U i.e. Total Amount..

    The entire structure is made up of two protions from Column A till Column O it contains all the information of the various policies one has and from Column P till Column AAD the investments to be carried to raise this amount depending on the modes..

    Example:

    YLY - Cumulative term Deposits
    HLY - Half-Year Interest Payments
    QLY - Quarterly Interest Payments
    ECS - Monthly Interest Payments
    SGL - Its already paid..

    And therefore the amount for the same Mode and in the same Month needs to be clubbed to get One Amount which can be Invested.

    REgards
    e4excel

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.

    Hi e4excel,
    I've looked at your example and don't understand it. I don't see how you are building your table. Perhaps a bigger example would help us understand it better ?

  5. #5
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Want to get a Series with Grouping and Sub-Grouping based on 2 criterias.

    MarvinP,

    I appreciate you trying to help sincerely..
    What I want is to get the series as hsown in the columns S,T and the Total Amount in the Column U..

    The Logic is that I have already managed to have a Series based on the mOnths as shown in the column P and in clumn R the Sub-series based on Month..

    Now I want that to go to the next level of Mode + Month (Already considered)
    Now for the month of June, there are 4 rows of information i.e
    21-Jun-2011 Rs 5,000 QLY
    21-Jun-2011 Rs 5,000 YLY
    28-Jun-2011 Rs 5,131 YLY ( sorry if it was different)
    28-Jun-2011 Rs 1,021 ECS

    So, it should have the Series for Mode as
    1--QLY 1st Unique Mode
    2--YLY 2nd Unique Mode
    ---blank as Unique as there are 2 YLY options as shown above.
    3--ECS 3rd Unique Mode

    Now again for the other Month July there are only 2 options given as shown below:
    25-Jul-2011 Rs 3,586 YLY
    25-Jul-2011 Rs 5,060 QLY

    So, the numbering would be
    1--YLY 1st Unique Mode in the month of July
    2--QLY 2nd Unique Mode in the month of July.

    SO basically the counter should count the no of Modes in each month and again become 1 for the new month..

    Now, for the column T,
    we need to look at only 3 Modes appearing in the MOnth of June in which we have
    QLY-- 1---as it appears only once
    YLY-- 1---Appears twice
    YLY-- 2---Appears twice
    ECS-- 1--as it appears only once

    Hope that helps...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1