Questions tagged [pivot-table]

For questions about Pivot tables in Google Sheets or any other web spreadsheets supporting Pivot tables.

Filter by
Sorted by
Tagged with
3
votes
1answer
284 views

Dynamically reference data from multiple tabs and sort it

I've got a spreadsheet with multiple tabs of data. The data contains 2 columns, A = Categories, B = Quantity. I've created a copy of the spreadsheet HERE (please use file > copy) if you would like ...
1
vote
1answer
48 views

Count query based on multiple conditions

I have a spreadsheet that I use for my World of Warcraft guild, and I've hit a bit of a wall while trying to add new functionality to it. For reference, when our guild goes through dungeons, we ...
1
vote
1answer
96 views

Summarise data in a pivot table, but exclude certain data if it has a certain value in a certain column

I've got some data in a Google Drive spreadsheet that I want to run a pivot table on. There are 3 columns Element, Cost, Omit as per screenshot below I want to summarise the cost by element, but ...
1
vote
1answer
496 views

Syntax of field “Google Sheets / Pivot table editor / Filters / Filter by condition / Custom formula is”

In Google Sheets, if I create a pivot table, there is a Pivot table editor I can use to configure the pivot table. The lowest section of the interface of the editor is Filters (which allows me to add ...
1
vote
1answer
625 views

Create table showing difference between values in two pivot tables

Our bookstore has two separate documents in Google Sheets (one containing purchase data and one with sales data). Each document contains a sheet with a pivot table that sums up total purchases/sales ...
1
vote
1answer
45 views

Can you create a pivot table in the same sheet as the data its referencing?

Is it possible to have a pivot table on the same sheet as the data it's referencing in a Google Sheet? At the moment if I create a pivot table it always creates a new sheet.
1
vote
1answer
4k views

How can I format a pivot table with staggered elements to make narrower?

Right now a typical pivot table looks like this: This takes up too much room horizontally. I want to format it so that it is narrower and taller, by moving nested blocks down and left. How can I ...
1
vote
0answers
12 views

Find Difference from Previous Consecutive Row in Google Query Pivot Table

Say I have source data like the below: OriginDate|Name|IncidentDate| where Origin Date is constant and the earliest date of my imported data set. I've formatted the dates to numbers so I can perform ...
1
vote
0answers
129 views

Is there a way to create a calculated field using results of another calculated field?

Is it possible to use the results of a calculated field as part of a new calculated field? I know further calculation could be done outside the pivot table but I was hoping there was a way to somehow ...
1
vote
2answers
3k views

Filtering Pivot table by multiple values

I have a pivot table below that I am trying to filter dynamically based on a separate list and am trying to figure out how to do this by referencing the relevant field. In the below example I have ...
1
vote
1answer
291 views

Custom Script in Pivot Table Value Formula = Error Loading Data forever

I am very new to the Google Sheets platform, but I am not new to programming, and am comfortable creating and managing javascript code, and reading API documentation. I am working on a side project, ...
0
votes
2answers
61 views

Google Sheets Pivot Table take first string

I have a spreadsheet of many-to-many matches between people. My data looks something like this: +-----+-------+-----+-------+ | id1 | name1 | id2 | name2 | +-----+-------+-----+-------+ | 123 | John ...
0
votes
1answer
40 views

Google sheets - “Anchor” formula to pivot table data which keeps moving

Ive got a Pivot table in a Google Sheet which summarises some numerical data by groups. Ive attached a screenshot of the pivot table below. I want to be able to sum the values of the "grand total" ...
0
votes
1answer
1k views

How to calculate weighted average of averages in Google Sheets?

I have product review data. The reviews are out of 5 stars and I know how many there are (ie quantity of reviews). I'm trying to calculate a weighted average of the reviews because I'm trying to ...
0
votes
0answers
585 views

How to reuse calculated field?

I have a Calculated Field 1 that I renamed to MagicPiField. I have Calculated Field 2 in which I want to use the values of MagicPiField (instead of copying the formula of MagicPiField) But when I ...
0
votes
0answers
14 views

Is it possible to add automatic row totals in pivot tables?

When creating a pivot table, it's possible to create automatically calculated value totals and subtotals, but it doesn't seem like it's straightforward to create automated totals for rows. For ...
0
votes
0answers
15 views

Spreadsheet formula for “un-pivoting” some 2-dimensional tables to 1-dimensional columns?

Apologies in advance for not using any correct terminology as I don't actually know the best words to describe this problem. I have two equally-sized 2-dimensional regions on a spreadsheet that have ...
0
votes
0answers
40 views

How can I SUMIF a row, but have the formula automatically applied to all new rows below it in Google Sheets?

I've made an inventory tracking spreadsheet that gets raw data from Google Forms. Forms inputs data into Sheets in a less than ideal way, but there's nothing I can do about that, so I'm stuck post-...
0
votes
1answer
295 views

How to use external data range for a Google sheet pivot?

I'd like to use another spreadsheet's data as the data range for a pivot table. In order to import data from another spreadsheet, one can use the impotrange function. But can it be imported directly ...
0
votes
0answers
44 views

Saving tables in R

I have opened a large table using R scripts in the R GUI. Now I want to save the table in R GUI so that I can access them in the future for conducting further analysis. Please instruct me on how to ...
0
votes
0answers
62 views

Google Sheet Pivot “% of Parent Row Total”

Can Google Sheets pivot table calculate "% of Parent Row Total"?
0
votes
1answer
1k views

Pivot Table Filters - Custom Formula

In my pivot table, I want to only display the entries in the column "Which Event" if the name contains "Baseball" or "Softball". I can very easily do part of this by adding a filter for the field "...
0
votes
1answer
26 views

Can I navigate from a pivot table back to the original database?

Once I am "in" a pivot sheet, is there an easy way to click on a row or cell in the Pivot table and navigate directly back to the related data in the original database (Google Sheet), from which the ...
0
votes
0answers
1k views

Calculated field in google sheet pivot table

I encounter a problem when trying to make a simple formula in calculated field. I can't reference a column with a space on its name. For example, if my column is "Column A" : formula : "='Column A'" ...
0
votes
2answers
25 views

How to count duplicate names as one value in Sheets?

I have a large dataset in Sheets and I'm grouping together the data in a pivot table and have a hard time figuring out how to avoid counting every instance of a name instead of counting the name as ...
0
votes
1answer
26 views

Aggregate data with Sheets pivot table or graph

Please have a look at this google sheet here. It has a pivot table with 3 columns: A period (for example: 2016/01), a category and a number. I would like to do a chart that looks like this: For ...
0
votes
0answers
696 views

Google Chart (for pivot table) legend labels display wrong

In my Google Sheets spreadsheet, I have a pivot table, and a column chart connected to it. But the legend of the chart is displaying not just the headings, but also the two cells below the headings. ...
0
votes
1answer
791 views

Can I eliminate redundent totals in google pivot tables?

Given the general difficulty of doing much with google pivot table, I expect the answer to be "No". In the snippet below I would like to keep lines with the totals in green shading and not see the ...