Pivot Table to Find-List-Group-Total Line Items

Hello!


I have a rather complicated formula question. I have a large table tracking all project invoices and purchase orders. Once there is a paid date, they are extracted to a pivot table to total by month/year, and a separate pivot for paid by year. The POs end up in a 'blank' group because they have no paid date. But, I would like to extract a list of PO line items.


I would like to create a pivot table that finds the line items with ORD "=PO", creates a list with values and give me a grand total. Ideally, I would group them by category, but the individual line item is the most important thing for this pivot.


The reference table is grouped by category, then sub category and sorted by recent paid date on top. Each group and sub group is sub totaled and grand total at the bottom. When you re-sort, it throws everything off and I have to re-adjust my SUMIF formulas in other sheets that reference the tracking table. I would really like to not have to do that.


Is that even possible? I am not very good at math or statistics or anything like that, but I can follow a formula to see how it works.


I have attached a screen shot of the table with the SUMIF I use for the grand PO total at the bottom of the table. That is the basics of what I am looking for, I want those line items listed with values and totaled. I don't know how to get a pivot table to list all of the line items found in that formula.

Thank you for your help & have a great day!


Lisa in Atlanta

Mac mini, macOS 13.0

Posted on Jan 11, 2023 6:30 AM

Reply
1 reply

Jan 11, 2023 7:37 AM in response to lisaroser

lisaroser wrote:

When you re-sort, it throws everything off and I have to re-adjust my SUMIF formulas in other sheets that reference the tracking table. I would really like to not have to do that.

Is that even possible?


Lots of things are possible! But it is important to understand the underlying structure of your data table (in your screenshot it looks as if you have applied Categories) and also specifically what you want your output to look like (if different from your screenshot). Perhaps you could post more specifics on that.


Keep in mind that applying Categories can modify the order of your data, potentially affecting formulas, as may have happened in your case


Pivot Tables, on the other hand, don't alter the source data table, often a big advantage!


Categories can list the individual items, which seems to be important to your work. Pivot Tables, on the other hand, in themselves are not that good a listing things*, but make it really easy (without writing a single formula) to provide the kind of summaries that are more complicated to do with SUMIFS and COUNTIFS.


(*Though you can extract subset lists of your data from a Pivot Table by selecting a cell in the Pivot Table and in the menu choosing Organize > Create Table for Source Data.)


If you haven't done so already, you may find it helpful to familiarize yourself with Filters. You can also apply Filters to Pivot Tables!


In case you haven't already seen them you may find it helpful to have a look in the Numbers User Guide at these entries and others:


Intro to pivot tables in Numbers on Mac - Apple Support


Create a pivot table in Numbers on Mac - Apple Support


Intro to categories in Numbers on Mac - Apple Support


These are always available via Help > Numbers Help in your menu.


From your description and screenshot you probably have already seen the 'Categories' and 'Pivot Table Basics 'templates at File > New in your menu.


SG





This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Pivot Table to Find-List-Group-Total Line Items

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.