My question is pretty much stated in the title. I have been trying to add a pivot table in the same sheet in which i have charts and other analysis done but when i try to add a pivot table it create a new sheet.
I am trying to convert an Excel dashboard into Google spreadsheet dashboard.
Thanks
Simply select the cells of the pivot table you want to copy and then copy and paste it in the spreadsheet or sheet where you want it. If you want to, you can then delete the pivot table sheet.
Once you have created the pivot table you can move it using CTRL + X. Just select all the table then use CTRL + X and paste wherever you want it, the problem is that once you change the data in the pivot table and it gets bigger you may overwrite other information in other cells, so you have to be very careful with that.
This is the only way I have found in Google Docs since there is no "move" option.
You can just reference it rather than deleting. This is a much better practice - this way you can update the pivot table without recreating it.
To reference from one sheet to another use the following formula in the top left cell of where you want to copy it :
={Sheet1!A1:K}
This will copy columns A through K.
Related
Test sheet
I have an Options sheet that categorizes transactions based on their type. In the Transactions sheet, I add transactions with their corresponding category, and I am trying to create a formula where the corresponding category type is automatically added in the column next to it.
I have been able to create a partially working formula:
=ARRAYFORMULA(FILTER(Options!C:C,Options!B:B=D31))
I want to expand it across all the cells in column E using an ARRAYFORMULA, but I can't seem to figure out how to have the Options!B:B=D with the corresponding cell. Making it =D31 I've been able to figure out, but having one formula at the bottom (at Ref 1) and then the right category type for each corresponding cell, I have not.
use in E2:
=ARRAYFORMULA(IFNA(VLOOKUP(D2:D, Options!B:C, 2, 0)))
I'm trying to dynamically reference data from multiple sheets into multiple cells on one sheet. I'm constantly creating new sheets within the same workbook. I'd like to be able to set it up to where I can easily auto-populate the cells with the data from a new sheet instead of having to rewrite the formula with the new sheet's name.
I'm currently using ='sheetname'!B1 to reference the data from multiple sheets. The problem is when I click and drag the cell to reference a different sheet it changes to ='sheetname'!B2. I've set up the A column with the names of the sheets and tried to figure out a way to reference those as the sheet names but was unsuccessful. Here is a link to a google sheet that shows the problem I'm having:
https://docs.google.com/spreadsheets/d/1lVPemberRSKDcHc3ogz4XE_PTgSAO9IYXx5RCmVQ9C8/edit?usp=sharing
I want the cell B2 in "Totals" to reference A2 as the sheet name and then I want to be able to click and drag so that B3 references A3 as the cell name but doesn't change the cell that it is pulling data from on each of the different sheets.
I actually figured it out. You have to use =INDIRECT("'"&A2&"'!B12"). Way more simple than I thought it was going to be...
In google sheets, is it possible to enter a formula in a cell, using the data from the same cell?
Not directly. But you can have a duplicate sheet, with the duplicated sheets referencing the other one with the proper formula for any change you want.
For example you want an updated 'view' sheet (B)for some other user that also change some value based on the data you have on your sheet (A) but you dont want them messing with your Sheet (A).
The solution is to create a sheet B that references sheet A , for example by using IMPORTRANGE if you want to just show information, or the a formula that involves referencing data from your sheet A.
The answer is really simple : no. Because of a really simple algorithm :
1 - Target cell formula's parameter and go to step 2
2 - If a targeted cell changed go to step 3 else finish the treatment
3 - Evaluate the formula, display the value into the cell and finish the treatment
I have made a simple formula, based on cells in the same row, to indicate to the user that they have entered enough information - and it works as needed .
=IF(AND(ISTEXT(B20),ISNUMBER(C20),ISNUMBER(E20),ISTEXT(F20)),"Ok",IF(AND(ISBLANK(B20),ISBLANK(C20),ISBLANK(D20),ISBLANK(E20),ISBLANK(F20)),"","MORE INFO"))
However, when I click the built in "add more rows" button at the bottom of the sheet the formula is not present in the new cell - but any dropdown menu or validation I've used in the cells not containing the formula are present in the respective added cells of the new row. Any Ideas why just the formula is missing ? Thanks.
Thanks to GimelG at Google Docs Forum..........
When you add additional rows, Sheets assumes you want to continue the same dataset and, therefore, applies the existing formatting as well as Data Validation. It does not, however, copy formulas automatically as that would be adding actual new data to your sheet.
You can use an ArrayFormula version of your formula to populate the entire column, which it would continue to do as you'll add more rows of data. Assuming your data starts at row 2 (below the header), try this:
=arrayformula(if(istext(B2:B)*n(C2:C)*n(E2:E)*istext(F2:F),"Ok",if(len(B2:B)+len(C2:C)+len(D2:D)+len(E2:E)+len(F2:F),"MORE INFO",)))
I have been sent a pivot table in excel 2010, and the data in the cell is linked to data not visible on any of the sheets when double clicked. When the cell is clicked on a new sheet is created with data not previously visible on any sheet. However, when I use the pivot table tools to search for the data source it leads me to data in one of the visible sheets and does not allow me to click on the external data source section. I would like to create something like this/ understand how the cells are simultaneously linked, as I do not understand which data is most relevant to the cell.
My hunch is that you have selected a calculated field (select your PT, PivotTable Tools > Options > Tools - Formulas, List Formulas). In other words, you are able to see the relevant source data in your spreadsheet but you are not recognising it as it does not look familiar to you because a formula in the PT has combined or modified this data.
Note, above based on Excel 2007 however.