+ Reply to Thread
Results 1 to 15 of 15

pivot table to multiple consolidate ranges

  1. #1
    Registered User
    Join Date
    03-19-2015
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    49

    pivot table to multiple consolidate ranges

    I have a worksheet I'm trying to consolidate into a pivot table. Here's an example of how it looks:

    Clipboard01.jpg

    I'm trying to use multiple consolidate ranges so that the lot information combines but I can filter the pivot table based on customer and/or type. Is there a way to do this? I'd like the pivot table to look like this:

    Clipboard01.jpg

    I'd like to be able to select a customer and/or type from the drop down and have the pivot table filter the lots and quantities accordingly.

    So far I'm only able to consolidate based on lots and quantity. If I add in the customer or type then it doesn't work.

    Thanks in advance!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: pivot table to multiple consolidate ranges

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-19-2015
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    49

    Re: pivot table to multiple consolidate ranges

    Here's a sample file
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: pivot table to multiple consolidate ranges

    is that what you want?

    done with PowerQuery and PivotTable

  5. #5
    Registered User
    Join Date
    03-19-2015
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    49

    Re: pivot table to multiple consolidate ranges

    Thanks for the help.

    I'm not familiar with PowerQuery. That is what I'm looking for, however that specific example isn't summing the lot quantities correctly. I'll read into PowerQuery more as it seems that should get me there. If you know how to fix the lot quantity summing issue then its exactly what I need.

    Curious, if I try to refresh the pivot table I get an error that external data cannot be found. Is PowerQuery part of excel or an add-in? I should probably mention I'm using excel 2010 and users on different computers will need to use this as well so I won't be able to use it if every user needs to install PowerQuery for it to work.
    Last edited by indub; 06-07-2018 at 02:40 PM.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: pivot table to multiple consolidate ranges

    Power Query for
    you must have PowerQuery installed first

  7. #7
    Registered User
    Join Date
    03-19-2015
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    49

    Re: pivot table to multiple consolidate ranges

    Well unfortunately PowerQuery won't work for our specific application. Is there any way of doing this using Multiple Consolidate Ranges with a standard pivot table like I was initially attempting?

    Thanks again

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: pivot table to multiple consolidate ranges

    Alt, D, P - but you did it
    you can try reorganize table via formula/vba then use PivotTable
    or try with PowerPivot (add-in for 2010)

  9. #9
    Registered User
    Join Date
    03-19-2015
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    49

    Re: pivot table to multiple consolidate ranges

    I'll play around with it some more.

    Thanks again for your help!

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: pivot table to multiple consolidate ranges

    You are welcome

    Have a nice day

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: pivot table to multiple consolidate ranges

    here is PQ and PT with correct results

    just for fun

  12. #12
    Registered User
    Join Date
    03-19-2015
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    49

    Re: pivot table to multiple consolidate ranges

    I decided to look into this more and I think it'll work now that I understand it.

    Is there a way to do this without converting the original data into a table? I'd like to keep the original range as is since I have some columns in my actual sheet that are autofilled formulas from vba. I tried creating the query with a named range and it still converts the range into a table.
    Last edited by indub; 06-12-2018 at 12:41 PM.

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: pivot table to multiple consolidate ranges

    you can do what you want, try with PQ/PT then try your VBA. One Test is worth 100 words but do it on copy of your original file because with VBA you will lost UNDO option
    Last edited by sandy666; 06-12-2018 at 12:41 PM.

  14. #14
    Registered User
    Join Date
    03-19-2015
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    49

    Re: pivot table to multiple consolidate ranges

    The table doesn't affect my vba but I still can't get power query to work without converting the original range into a table. Is that possible?

  15. #15
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: pivot table to multiple consolidate ranges

    of course you can't use range with PowerQuery on the same workbook bacause PowerQuery works with Tables
    you can try use PowerQuery from external workbook if this make sense to you

+ 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. Replies: 2
    Last Post: 06-08-2021, 11:04 AM
  2. Consolidate multiple data ranges to an existing Pivot Table
    By cs02 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-11-2015, 02:48 PM
  3. Pivot Table Using Multiple Named Ranges
    By nathanB in forum Excel General
    Replies: 2
    Last Post: 11-26-2012, 08:59 AM
  4. Consolidate multiple worksheets for pivot table
    By MARKSTRO in forum Excel General
    Replies: 1
    Last Post: 03-19-2012, 02:50 AM
  5. Pivot table Multiple consolidation of Ranges
    By prakash1731 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-26-2008, 02:16 PM
  6. [SOLVED] how do I consolidate multiple pivot tables into one pivot table?
    By pkahm in forum Excel General
    Replies: 0
    Last Post: 04-20-2006, 04:50 PM
  7. [SOLVED] Pivot Table-Using Multiple SS's or Ranges?
    By Jugglertwo in forum Excel General
    Replies: 2
    Last Post: 02-05-2005, 01:06 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