How do I index multiple tables in Excel to find the sum? - excel

I'm looking to find an easier way to index multiple pivot tables from Excel 2016 rather than doing 3 index/matches or vlookups and using a sum function.
The pivot tables come from 3 different worksheets without a common unique id, that way I can't use Power Query to merge the columns.
3 pivot tables, I'm looking to pull the sums from pivot table into my own table for a grand total sum per Server.
I have tried to consolidate all 3 tables into one table but I wanted to use a slicer for a filter of different departments (AA,BB,CC,DD,etc). I wasn't able to find a way to consolidate the tables and include a filter. I tried Index(,Match(Index(array)) however couldn't get a sum for all columns.
=IFERROR(SUM(INDEX($B$3:$D$5,MATCH($H5,$A$3:$A$5,0),MATCH(I$4,$B$2:$D$2,0)), IFERROR(INDEX($B$8:$D$8,MATCH($H5,$A$8,0),MATCH(I$4,$B$7:$D$7),0),0),(INDEX($B$12:$D$14,MATCH($H5,$A$12:$A$14,0),MATCH(I$4,$B$11:$D$11,0)))),0)

Related

Export a filtered view from PowerPivot into Excel

I don't have any concrete example but I have a PowerPivot table containing nearly 2 million lines. Users will work on it regularly and filter down until they get the data that they want. Filters will always change depending on the user and on the information that they are looking for.
My question is: is there a way to extract into a simple table or pivot table the information from the PowerPivot BUT the active filtered information only?
So let's say for example I have table1 containing 2 million rows. I apply different filters in the table to narrow it down to 10,000. Is there a way for me to extract those 10,000 rows specifically in a simple Excel table or pivot table?
The quickest and easiest way is to copy the table, and paste into a Worksheet.
Right click the intersection of Row / Column Headers and select Copy:
Only the visible filtered rows will be copied.

On an Excel pivot table, is there a way to apply different filters for each column

I have a pivot table that I have to change the filters 6 times to get all the totals I need. Can I sum each column based on unique filters for each column?
Just copy and paste the PivotTable 5 times, and change the filters on the other ones to get what you need. Or use the GETPIVOTDATA function to reference the 6 parts of a master pivottable that you want values for.

5 tables in 1 pivot table relationship

I have 5 tables (each table has a Date column)
I want to make a relationship between all the dates of all the tables in the pivot table to do some data analysis.
But unfortunately, the relationship is between 2 columns only
However, i tried to make 1 sheet as the primary sheet, and make relationship with others, but it pops out with error.
Please help.
I would suggest using =SUMIF() and inserting the desired date values manually for the comparison.
It will be difficult to pivot on multiple tables with non-unique keys to summarize on (ie date values aren't unique so how does each piece of data fit together)
You could also build pivot tables for each table first, then combine all of those together

Merge two tables into one pivot table - order of columns is different

I saw how to merge two different tables into one pivot but they all had the same order of columns. I have two different excel sheets from two different DBs and I want to merge both into one pivot - they have the same column names but in different order.
Attached is the screen shot of the first table, the second table and the pivot table I would like to have
Found the answer!
One should just attach both tables one right or left to each other and create a pivot table from one source rather multiple.
However, excel then differentiates between A1 and A1_1 for the second table. To solve this I used calculated fields for a new field of A1 and A1_1.

Excel multiple grouping on table for different pivot tables?

I am using Excel 2007 and using several pivot charts which reference the same table of data. I change the data daily, copy and pasting the data from another source. Is it possible to change the grouping on the table so that I can view the data differently in different pivot tables? For example, one graph views the data by hour and another by month and another by day. It seems that when I change the grouping for one graph, it changes it on every one. My solution has been to copy and paste in the data into three separate tables for data with each one having different groupings.
The most flexible solution is to split dates in different columns and calculate all the aggregation levels needed using
- =YEAR([date]), =MONTH([date]), =DAY([date]), =HOUR([date]), =MINUTE([date])
- =CEILING(MONTH([date])/3;1) for quarter
and pull these fields in & out of your Pivot tables / charts.

Resources