Results 1 to 3 of 3

Thread: Creating a Pivot Table Based on a Count Range

  1. #1

    Creating a Pivot Table Based on a Count Range



    Register for a FREE account, and/
    or Log in to avoid these ads!

    I have a set of data from which I am trying to create a Pivot Table. The data lists several thousand items and their respective amount of "cases sold" in the last 12 weeks. I am trying to "group" all the items that fall into the 1-5 cases sold range, 6-10 cases sold range, 11-15 cases sold range, etc. Then I would like to do a Pivot Table based on these groupings. And to make it even more complicated, I would LOVE to have the aforementioned ranges be dynamic so I can change them to 1-6, 7-11, 12-15, etc and then refresh my Pivot Table with the new stats. I have used IF/Then statements and it kinda works but I thought I would see if anyone has any better ways. Any suggestions? Thanks in advance!

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,271
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    Something like this?
    Attached Files Attached Files
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  3. #3
    I think that is EXACTLY what I needed!! thanks for your help! I have said it before but I will say it again "You are a genius!"

Posting Permissions

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