How to combine different pivot tables excel 2013 - excel

What i have is three different pivot tables in one spreadsheet, each of these tables have a pivot chart linked to them, and the tables are all laid out like this:
Category|Count of id
What i want is to be able to add each row in each pivot table, to each corresponding row in the other table. For example...
In Cat1 pivot table, the first value is 111, the second value is 50.
In Cat2 pivot table, the first value is 77, the second value is 12.
In Cat3 pivot table, the first value is 17, the second value is 12.
What i want is to be able to add the first row in the Cat1 pivot table (111). To the first row in the Cat2 and Cat3 pivot table, same with the second and third etc...
So that eventually i will have one final table, with all of the values combined.
Thanks for any feedback!

What I would do is to copy out the results of each Category into it's own tab and then create a final Pivot form that data.

Related

Sumifs function not adding the values in a Pivot Table where row is collapsed. Sumifs function is on a Summary Tab not embedded in the Pivot Table

Created a Summary Tab for Individual Employee Pivot Tables
The Individual Pivot tables are collapsed for the Row(s). Example Expenses.
If the Expenses row is collapsed the sumifs formula on the Summary Tab = 0
If the Expenses row is expanded the sumifs formula works correctly.
Is there a function to sum if the Pivot Table is collapsed?
Thank you!

Count highest level of pivot table row

I have this pivot table in Excel and I would like to count only the highest level of the grouped rows. Without using VBA.
Expected result would be 5.

Why am i getting null and zeros in pivot field values column in tableau?

enter image description hereHi,
When i try to convert my data source( that contains a list of countries as columns with daily deaths noted)into pivot(converting the list of country columns into a single column with all the countries as rows) in tableau, I am getting null values for the column pivot field values.
Here i am attaching my original data source and the sheet which is pivoted
The pivot values show null because there are no data available. Note that, the Tableau data pane will only show you a sample of your data. when you go into Tableau sheet to create your views you can drag pivot value into text in the marks card. That is a true test to see if there are numbers in the pivot value field.

Excel Count unique value multiple columns

I have a workbook with multiple sheets. On sheet1 I would like to count the number of times person in column A has a particular entry in Column C that meets criteria of column D = Content but only count if column B is a unique value.
Using the below formula I can do everything except only counting unique numbers in Column B. I enter this formula in Sheet2 C2 then pull across to I2 then pull down to 6 in each column.
=IF(COUNTIFS(Sheet1!$A$2:$A$150,Sheet2!$B2,Sheet1!$C$2:$C$150,Sheet2!C$1,Sheet1!$D$2:$D$150,"Content")=0,"",COUNTIFS(Sheet1!$A$2:$A$150,Sheet2!$B2,Sheet1!$C$2:$C$150,Sheet2!C$1,Sheet1!$D$2:$D$150,"Content"))
I am using the double countifs to not show 0's.
Here is what it looks like for Sheet1
Here is how I would like Sheet 2 to look
Any help or advise would be much appreciated.
The answer by Vijayakumar works. In case you need a simpler version (without the data model option, use this formula in column E dragged down
=SUMPRODUCT(--($B$1:B1=B2))>0
Select all data
Insert ->Pivot table
In The Pivot table fields Move "SR" to Rows section "Stage" to column section "Prod" & "IsUnique" (Col E) to filter section and "QN" to Value section
Now right click on some cell in Pivot which shows sum/count of QN Summarize
values by -> Count
In the filter section of pivot (first row on
pivot table which states "Prod"), choose "Content"
In the filter section of pivot (Second row on
pivot table which states "IsUnique"), choose "TRUE"
When you have new data, you just need to Change Data Source from the Pivot Table tools->Analyze or Refresh. However you can record this whole process as macro to automate it.
You can achieve this via Pivot table.
Select all data
Insert ->Pivot table
In the pop up ensure you check the check box at the bottom with description "Add this data to data Model" and then click OK. This will create Sheet 2 for you.
In The Pivot table fields Move
"SR" to Rows section
"Stage" to column section
"Prod" to filter section
"QN" to Value section
Now right click on some cell in Pivot which shows sum/count of QN
Summarize values by -> More optins
In the pop up, scroll to bottom and click on "Distinct Count"
In the filter section of pivot (first row on pivot table which states "Prod"), choose "Content"
Note: Distinct count won't appear in values section if step 3 is missed out. Hope this helps.

HLOOKUP on external data table - wrong header row

Trying to run a Hlookup on a table that is linked to a query in a MS database.
The data table is in a separate tab and starts in row 3, and includes a header row. So headers are in row 3, data is from row 4 onwards. data table is named My_Table
My HLOOKUP formula is;
=HLOOKUP("Product1",My_Table,A3,false)
Product1 is the actual header of the column to find, and the cell A3 contains the row number for the lookup. However, this didn't return the data expected. Stepping through the evaluate formula function, Excel is calculating the table to begin in row 4, so is looking for the header in the wrong row (ie row 4). Checking the name manager, the table is locked and shows as starting in row 3.
Has anyone encountered/found a way around this? I would like to keep the table as a table so that it dynamically extends rows as needed based on the results of the query.
To reference the whole table, use
=HLOOKUP("Product1",My_Table[#All],A3,FALSE)
This is called Structured Referencing
Other examples
The entire table =TableName[#All]
The table headers =TableName[#Headers]
To the entire column =TableName[[#All], [ColumnName]]
The header value of a column =TableName[[#Headers], [ColumnName]]
The same row in the table =TableName[[#This Row][ColumnName]]
In Excel 2010 or later =TableName[#ColumnName]
Heading of table =TableName[#Headers]
Entire table (2) =TableName[#All]
Table total row =TableName[#Totals]

Resources