+ Reply to Thread
Results 1 to 15 of 15

Grouping table data into smaller table

Hybrid View

  1. #1
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Grouping table data into smaller table

    Put this formula in F2:

    =SUMIF($A:$A,$E2&"*",B:B)

    and it should copy down automatically.

    Copy into G2, and again it should fill the cells below.

    Hope this helps.

    Pete

  2. #2
    Registered User
    Join Date
    10-22-2015
    Location
    KL, Malaysia
    MS-Off Ver
    MS Office 2010
    Posts
    17

    Re: Grouping table data into smaller table

    Quote Originally Posted by Pete_UK View Post
    Put this formula in F2:

    =SUMIF($A:$A,$E2&"*",B:B)

    and it should copy down automatically.

    Copy into G2, and again it should fill the cells below.

    Hope this helps.

    Pete
    Hi Pete, thanks for the help, it helped but only in a short term.
    As this is in alphabetical order, in future, what if the subject on the first table and the subject in the second table aren't in alphabetical form?

    For instance, I have a list of members with their names in Table 1

    <Salesperson><Number of Packages Sold><$ Sales>
    Peter-100-6200
    Paul-150-4100
    Mary-450-8000
    Jess-600-2150
    ...(n>100)

    <Sales Managers><Number of Packages Sold from their members><$ Sales>
    John-550-14200
    Jane-750-6250
    ...(n>20)
    *where Peter and Mary is under John, where Paul and Jess is under Jane

    Is there a coding/function that could facilitate this? Thanks!
    Last edited by kenny_kk; 11-05-2015 at 08:46 PM. Reason: Bolding

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Grouping table data into smaller table

    It doesn't matter what order the original table is in - try it by sorting the first table on the second field.

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Summerize tables on data base to smaller dynamic table
    By x_ampl1 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 10-23-2014, 06:22 AM
  2. Replies: 2
    Last Post: 01-20-2014, 07:05 PM
  3. [SOLVED] Getting data from a huge table to a smaller and organized one.
    By Eldernurf in forum Excel General
    Replies: 4
    Last Post: 10-24-2013, 02:55 PM
  4. [SOLVED] Getting data from table into smaller tables on a seperate sheet
    By FootyMan in forum Excel General
    Replies: 5
    Last Post: 08-27-2013, 10:25 AM
  5. Displaying large table into smaller table
    By FlynHokie in forum Excel General
    Replies: 3
    Last Post: 12-08-2012, 10:49 AM
  6. Replies: 4
    Last Post: 01-27-2012, 09:50 AM
  7. Filtering data from one large table into many smaller ones based on certain criteria.
    By hugedomer11 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-11-2010, 12:57 AM

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