+ Reply to Thread
Results 1 to 13 of 13

Need help with sorting/grouping data either groups and/or pivot table

Hybrid View

  1. #1
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Post Need help with sorting/grouping data either groups and/or pivot table

    Demo template.xls

    Hi!

    I need some advise on best way to group/sort the data.

    I want to be able to breakdown the data by Regional Office so that when I select one, I will be able to see all the Directors, Division Directors, Consultants, Associates, Advisors under that specific Region.

    I would also like to be able to have a count formula that will tell me how many of each (Directors, Division Directors, etc.) I have per Regional Office.

    What would be the best way for me to proceed to sort the information ?


    Thanks!

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,850

    Re: Need help with sorting/grouping data either groups and/or pivot table

    Best is a term that is subject to much interpretation. The attached of your file shows a way to display and count the personnel in each Regional Office using a Pivot Table:
    Copy of Demo template.xls
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Re: Need help with sorting/grouping data either groups and/or pivot table

    That's pretty much what I want, how did you add the Values under the Column Tab ?

    Also under the Values field, I see you added all the # for each title that is reflected in the data portion of the table.

    Did you have to do it manually or is there a way to simply add information in the Values section and automatically it will generate the sum/count and present it in the table?

    In all cases, thank you for your help!

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,850

    Re: Need help with sorting/grouping data either groups and/or pivot table

    Quote Originally Posted by exced View Post
    how did you add the Values under the Column Tab ?
    I am a little uncertain about what you mean by columns tab, however if you are referring to the grand totals a pivot table puts those in by default (change using design > layout > grand totals if desired).

    Quote Originally Posted by exced View Post
    Also under the Values field, I see you added all the # for each title that is reflected in the data portion of the table.

    Did you have to do it manually or is there a way to simply add information in the Values section and automatically it will generate the sum/count and present it in the table?
    I was trying to shorten the width of the columns so I manually put a # symbol in place of the "Count of" that the pivot table automatically shows when you drag one of the fields into the values box. Here is the way the table would look otherwise:
    Copy of Demo template.xls
    Enable Editing to see the layout of the field list.
    Let me know if you have any questions.

  5. #5
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Re: Need help with sorting/grouping data either groups and/or pivot table

    I don't know how to get the Values information in the Column tab.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,850

    Re: Need help with sorting/grouping data either groups and/or pivot table

    The "Column Labels" window will fill automatically when you pull fields from the "Choose fields to add to report:" window to the "Values" window.

  7. #7
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Re: Need help with sorting/grouping data either groups and/or pivot table

    Demo template.xls

    what am I not doing correctly ?

    The data doesn't add up

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,850

    Re: Need help with sorting/grouping data either groups and/or pivot table

    On second thought let me go ahead and attempt to explain the rest of the process.
    -Next un-select #DD through #Adviser.
    -Pull the fields District Director through Adviser into the Values window just as you did into the Row Labels.
    -If you want to change the column heading of Count of Division Director to #DD select the column heading (E4) and type in #DD.
    Notice that in the copy of your file I put in post #2 I changed the names slightly so that the pivot table would give a count of different individuals holding the positions. That may or may not be the situation, I was just making a guess.

  9. #9
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Re: Need help with sorting/grouping data either groups and/or pivot table

    Thank you, so far the Field Values is good!


    When I do:
    "-Next un-select #DD through #Adviser.
    -Pull the fields District Director through Adviser into the Values window just as you did into the Row Labels."

    The data doesn't count or add up.
    Attached Files Attached Files

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,850

    Re: Need help with sorting/grouping data either groups and/or pivot table

    OK, lets start with the fields that have been pulled into the Row Labels. After pulling them down there, individually select each of the fields (in the Row Labels window), you will then see a pop up from which you need to select the has the last choice of "Field Values". That will cause another window to pop up with a Subtotals & Filters tab, from that tab select None and click OK. Let me know when you finish that step and we can proceed.

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,850

    Re: Need help with sorting/grouping data either groups and/or pivot table

    Notice in the attached file that I removed the Column headings that started with # from the data sheet and un-selected them in the pivot table Field List. I pulled the four fields named Division Director, Consultant, Associate and Advisor from the Choose fields to add to report window into the Values window, just as I did earlier with those same fields pulled into the Row Labels window. When I pull each of those four fields down there the pivot table automatically changes the name to Count of Division Director ... I hope that this is making some sense or that you'll see what I am talking about by looking at the Field List.

    Copy of Copy of Demo template-1.xls
    Let me know if you have any questions.

  12. #12
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Re: Need help with sorting/grouping data either groups and/or pivot table

    got it!

    thanks a lot for your patience and explanations!

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,850

    Re: Need help with sorting/grouping data either groups and/or pivot table

    You are welcome and thank you for the feedback. If you have not already please mark the thread as 'Solved' using the thread tools link above your first post. I hope that you have a good day.

+ 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. Grouping data on Pivot Table
    By mullahraheil in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-11-2016, 03:07 AM
  2. Replies: 1
    Last Post: 07-22-2015, 07:16 AM
  3. Newbie: Sorting Pivot Table into multiple groups??
    By luckyali in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-16-2014, 09:56 AM
  4. [SOLVED] Pivot Table Not Grouping by Month for Latest Month (groups > 7/20/2013)
    By justforthis1 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 09-04-2013, 12:28 PM
  5. sorting data in groups at pivot table
    By ruleworld in forum Excel General
    Replies: 4
    Last Post: 01-07-2011, 10:31 PM
  6. Grouping Pivot Table Data
    By Maldoror in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2007, 07:25 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