I have a pivot table with 1000s of accounts in the following format 4xxxxx, starting with 4,5,6,and 7. I'm trying to select all accounts started with 7 without selecting them one by one. Is there a shortcut I could use? Thanks!
In the Pivot Table fields select the item and use the label filters. There is an option for begins with
Related
This, I hope, is a really simple question but it might not be possible.
In excel, I have used multiple filters in a pivot table, I now want to create a list of the options ticked from the various filters.
How can I create a list/copy all the ticked (or un-ticked) boxes. I have around 800 filters with about 250 boxes ticked.
The Manual approach:
Select a cell in the PivotTable. Then from the PivotTable Tools>Analyze tab use the Select icon to select the entire PivotTable. Copy it and paste it somewhere else. Drag every field out of it, leaving just the Customers field in it as a Rows field. There's your list.
If you add a slicer, and connect it to both PivotTables, then any changes to the Customer field in your original Pivot will flow through to this new one.
The VBA Approach:
See my UDF at https://superuser.com/questions/1254703/add-slicer-selections-to-sheet-in-a-list-excel-vba/1255885#1255885
And if you want a way to 'recall' a filter, then check out my answer here:
Pivotfields multiple filter
first time asking a question here. So I apologize in advance if I have not asked properly.
I have a set of data in the form of a table, which I have converted into a Pivot Table, with the normal purchase sales and profit columns. However, my problem arises as I want to create another column in the Pivot Table which gives the profit percentage on purchases. I am aware that this can be done by clicking on the Fields, Items & Sets drop-down menu under the PivotTable Tools - Analyze Tab, However, this doesn't work and all I can see is that the Calculated Field option is greyed out.
Can anyone advise how I can get a profit percentage column to be inserted in the pivot table? Thank you in advance.
Warren Barrell
Screenshot
It looks like your PivotTable uses an OLAP data source, which is why that option is greyed out. If you have the requisite version/SKU of Excel you could use the PowerPivot add-in to write a measure, but otherwise I think your only other option is to get your database admin to add the column to the database, and then bring that through to Excel.
I'm trying to filter a pivot table depending on the input users select.
I have a set of data ordered by month (within one year only) and I want the user to select from a multiple choice option the months they want to see data for and then action this on the pivot table.
I know how to build the multiple choice menu but couldn't find a way to automate the filtering of the pivot table. I guess I would need to store the user input into a variable and then filter the pivot table with the months included within that variable.
Have you considered using the Slicer Option. It is found in Pivote table tools - Insert Slicer.
U can use the slicer on any field (its sort of like a tidy filtering tool)
Helllo
Is there a way I can use a slicer to filter multiple pivot with 3 different data sources. Thanks.
Just Double Click on the Slicer and then go to Options, then go PivotTableConnections, then select the check box which you want to connect and click on OK.
Here are some snaps.
I guess this covers your requirement :)
I want to be able to select and reference all of the tabs in my excel spreadsheet (to get totals of everything), but the data source only allows one tab to be selected... is there a way to select and use the entire workbook in the pivot table?
Thank you!
You actually just have a data formatting problem. You're using tabs to separate devices by departments instead of simply creating a department field/column and putting everything in one tab. The data was likely delivered to you that way, but don't let the delivery format define the true working format of the data.
Combine everything in one tab, and then you'll be able to use the data in a pivot table just fine.
If you have more data than will fit in a tab, put it in a database such as MS Access, MS SQLServer or mySQL, and then tell excel to use the database as the pivot table source.
I think Jonathan M has the best answer, but here's a way to do it using SQL that I've used successfully.
I don't know any easy way of doing this, but you could write a macro to copy and paste all your existing sheets onto a single new sheet (assuming there's enough room on a single sheet).
In 2007 Multiple Consolidated Ranges isn't in the default pivot table window. You need to create your pivot table, click on it, hit Alt + D, then P. Click back to step one and you'll have the option for multiple consolidated ranges.
Select the data on any of the one sheet and hit Alt D > P. It will show you Step 1 of 3 for PivotTable Wizard. Now select Multiple Consolidation Ranges and hit Next.
Select and add different fields from different tabs and it will create a consolidated range for your PivotTable and then you can run your PivotTable based on data located on different tabs of sheet at the same time.
Hope it helps.