+ Reply to Thread
Results 1 to 4 of 4

Multiple Criteria to Create Pivot Table

  1. #1
    Registered User
    Join Date
    06-03-2014
    Posts
    7

    Multiple Criteria to Create Pivot Table

    Hello, I want to create a pivot table based on two criteria. I have a spreadsheet that contains columns for Client Name, Account Number, and Merger Bank. The presence of a Merger Bank value means the account was acquired through a merger. Client accounts without a value indicates the accounts were opened after the merger.

    I want to capture all the accounts for clients associated with merger Bank1.

    For example, from the attached table, I want to be able to create a pivot table that contains all 4 accounts for James Construction, 3 accounts for Airgas, and 4 accounts for The Bodega. Is there a way for me to do that?
    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,540

    Re: Multiple Criteria to Create Pivot Table

    While this solution uses a pivot table as per request in post #1, it also adds a helper column to the source data. The array formula (which must be activated by holding Ctrl and Shift while pressing Enter) that populates the helper column is:
    Please Login or Register  to view this content.
    The pivot table is then set up with Customer and Account as row labels. The report layout is set to tabular, and the grand totals and subtotals are turned off. The helper column, Merg Client, is used as the report filter.
    Here is a copy of your file set up as stated above: Copy of Client List.xlsx
    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
    06-03-2014
    Posts
    7

    Re: Multiple Criteria to Create Pivot Table

    Thanks, that worked perfectly!

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,540

    Re: Multiple Criteria to Create Pivot Table

    You're Welcome and thank you for the feedback. If you haven't already please take a moment to mark the thread '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. [SOLVED] Create New Worksheet/Pivot Table for Each Change in Criteria
    By philwilliams80 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 08-15-2013, 11:05 AM
  2. [SOLVED] create multiple charts from 1 pivot table, with VBA
    By MarMo in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-01-2013, 08:53 AM
  3. Create Multiple Different Charts from One Pivot Table
    By thecheesyburger in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-26-2012, 11:23 PM
  4. Create multiple pivot charts from one pivot table
    By SueWithQuestion in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 07-13-2011, 12:29 PM
  5. Replies: 1
    Last Post: 02-04-2008, 04:35 PM
  6. Create 1 pivot table from multiple worksheets
    By rim78 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-03-2007, 06:06 AM
  7. [SOLVED] How do I create multiple pivot charts from one pivot table?
    By Rudy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-17-2006, 06:10 PM
  8. [SOLVED] Pivot Table--How can I create from multiple sheets?
    By penciline in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-22-2006, 02:35 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