Is it possible to have 1 pivot table from 2 workbooks? - excel

I've been using Excel a lot lately and I'm not quite familiar with Pivot table. Is it possible for me to combine 2 workbooks into 1 pivot table? The first workbook is about the days of leave of the employee and the second one is about the days that the employee is present. They have similar fields which is the internal ID. I was wondering if there's a way to combine the two workbook to make it 1 pivot table only. I tried the connection in excel that helps connecting my two workbooks but that will make 2 pivot tables. Any help would be appreciated. Thank you in advance!

You can use the free add-in Power Query for Excel 2010 and 2013, or the built-in Get & Transform in Excel 2016 to combine data from different workbooks.
Create a query into the first workbook table and save it as a connection only. Then create a query into the second workbook table. Make sure the columns have identical names and are of the same data type. Then click append to combine with the first query, load to the workbook and create a pivot table as usual.

Related

Pivot on ROWS instead of COLUMNS

I've been tasked to fix a pivot table in a spreadsheet that was migrated from Google Sheets to SharePoint.
All the tabs and formulas are working but a pivot was totally lost.
I've found that Excel in SharePoint works significantly different than Excel2016, and when exported from SharePoint some of the formulas 'break'.
My main question is can SharePoint Excel create a new source (Excel SQL, vba, whatever) to use for a pivot?
The source for the pivot is in an unusual format:
I'd like to use Date / Issue / Activity / Exceptions as columns for the pivot with the dates (across the top) to be used as rows.
Thank you in advance for any help.
You need to unpivot your data.
Got to insert>table to make your data a table.
Then go to data> from table.
Now select the columns that aren't dates using shift, then right click>unpivot other columns.

One pivottable from several datasheets with Powerpivot possible?

I have an Excel-workbook with 12 sheets, all sheets contain between 700.000 and 1.000.000 rows. All sheets have identical column-headings.
I would like to make one pivottable with Powerpivot from those 12 sheets with data.
I have added all sheets to the datamodel, after that I try to make a pivottable by clicking Powerpivot > Home > Pivottable.
Although when I click a certain columnname to use as a pivot table field, my tables are still separated in the pivot table output.
Is there an option so that Powerpivot sees all 12 sheets as one table?
thank you!
Marcel
Please check out this method
http://www.contextures.com/PowerPivot-Identical-Excel-Files.html
In your case I would recommend to use Power Query for merging data from all list into one table, because it more manageable and flexible way.
https://support.office.com/en-us/article/Append-queries-Power-Query-e42ca582-4f62-4a43-b37f-99e2b2a4813a?ui=en-US&rs=en-US&ad=US&fromAR=1
Best regards
Artem Glazkov

Merge and sort data from multiple tabs to a single "Master" tab in Excel

Our company was using Google Sheets for the last several months and we had a system working great, but are now transitioning to Excel.
The tab in the Google Sheet where all the data is merged and sorted is called MASTER TEST and is found here
In Google Sheet we used formula:
=query({Data1, Data2, Data3},"Select Col1, ... where Col1 is not null order by Col1")
Data is merged: {Data1, Data2, Data3} is data from multiple tabs.
The result is merged and sorted data. How can I make the same report in Excel?
Basically, every call we receive is logged in a spreadsheet in a tab unique to each representative. We have a CURRENT WEEK tab which is supposed to hold a static version of all the calls received by every rep, sorted by date. In Sheets this was done with a =query() formula, but Excel does not seem to support such a thing.
I tried using Data>From Other Sources>From Microsoft Query but frankly this does not work since it only grabs the data from columns with data validation and gets very slow and breaks with too much data.
Pivot Tables in Excel VS query in Google Sheet
I suggest you using Pivot Tables, or Pivot Query in Excel. Here's some explanations:
Pivot Tables in Excel can handle big data very fast, query in Google Sheets can't do this
but query is more flexible and it refreshes simultaneously.
So if you are willing to work with data in excel, it may be harder to set your report. Sorting is easy task for Pivot Tables, but merging data from multiple tabs is not so easy.
Merging data
The goal in your case is to merge data from multiple tabs in excel. You can make it in two ways:
Use VBA to collect data into single tab.
Use Pivot Tables. Here's tutorial on how to accomplish this.
And still the best way for data manipulating is to use single tab for all your data.

Adding multiple tables on one excel sheet onto Tableau

The excel files I'm working with have multiple tables on one sheet separated by empty rows or in some cases empty columns. I'm having trouble separating these tables and adding them to Tableau. I have multiple sheets with multiple tables. I also have multiple excel workbooks for each year.
Sometimes I have 7-8 tables each below the other.I want to add each distinct table into tableau and compare the data in one table in one excel workbook by another table in another excel workbook by year.
What version of Tableau are you using? and why don't you turn on excel.
You can install Tableau Data Tool and get started on data cleansing.
Alternatively you can also use the Data parsing tool available in TD 9.0 on-wards. It will automatically ask you if you want to tune in the data after connecting to the excel file.

Display two filtered pivot tables in the same sheet on separate worksheets

On excel 2007, in one sheet i have 2 pivot tables created by the first image table below
and i have create two pivot tables in the same worksheet as you can see in the second image below, and i have choose all stores, now i know i can use option Show Report Filtered pages with the field stores if i have one pivot table, but can i do the same with 2 pivot tables simultaneously?
For example to choose both pivot tables and create with Show Report Filtered pages new sheets like in the third image but with both tables in it?
If there is a way with formula,functions any solution not with VBA or macro.
If you upgrade to excel 2010, you'll be able to use Slicers for that purpose. In Excel 2007, you will have to use macros to achieve a similar effect.

Resources