googlesheet IMPORTHTML for multiple tab - google-sheets

I am using the IMPORTHTML function in a Google Sheet cell to import commodities performance table from website : https://www.investing.com/commodities/real-time-futures.
=IMPORTHTML("https://www.investing.com/commodities/real-time-futures","table",1)
The website display PRICE tab by default, the PERFORMANCE tab must be clicked.
This formula only displays the PRICE tab. How can I display the PERFORMANCE table?

if you click on PERFORMANCE the URL does not change - this means import formula of gs will never get to it so you can't scrape it.

Related

Push change of active cell to share users in Google Sheets

I use Google Sheets as a live technical running order in live and virtual events. I direct the show and technicians follow my running order live. When I make updates, obviously their sheets change too. I highlight the row that reflects where we are in the show, so that they can see that at a glance.
Now I would like to be able to push the technician's instance of the sheet to follow my active cell or a check box I tick on a particular row. The aim is for their spreadsheet to automatically scroll to where I am in the show, without them having to manually scroll.
Could any kind soul suggest a means to do this, please?
As per the comment, if your tick box is say Column A on Sheet1, Sheet2 query could be like this in cell A1:
query(Sheet1!A:Z,"select B,C,D,E,F,G where A =false",1)
You'd obviously alter your range Sheet1!A:Z, and the columns you want to display (and their order) select B,C,D,E,F,G, and which column has the tick boxes where A =false

How can I check the two checkboxes on Google sheet?

image <- I have a google sheet like in the photo. When I check the box behind the cars here, the name of that car is written in the result section. I want that when I tick one of the two checkboxes, the other will not be checked. That is, only one of the two checkboxes should be selected at a time. When one is selected, the other should not be selected. How can I solve this with google sheets formulas without writing app script code?
image2 <- The formula in cell D2:
=IFS(COUNTIF(A2, TRUE),B2,COUNTIF(A3, TRUE),B3,COUNTIF(A2, False),"",COUNTIF(A3, False),"")
One checked checkbox at a time (similar to a radio button behavior) isn't actually supported in Google Sheets at the moment.
However, there are certain ways to circumvent this kind of issue. It can be via Apps Script or Sheets itself.
Since you are looking for a Sheets related solution, an alternative would be using an in-cell dropdown instead of checkboxes. That way, you could only select just one car at a time and you don't need complex formula to get the chosen value itself, you just need to set the cell formula to =B2 to get the dropdown chosen value.
Sample:
To add a dropdown in Sheets, see the reference below:
Reference:
Drop-down List

Google Sheets custom sidebar

I have a very long google sheets document. I often have to go to a specific area of that document to input data. I want to have a sidebar with designated hyperlinks to areas in the document to minimize the time it takes to get to the area I need to edit. How can I create a sidebar that reads links from a hidden tab displaying all the links I want displayed in the sidebar?
most likely it's not possible as you imagine it. instead, take a look on hyperlink jumps... right-click the cell you want to jump in and select Get link to this cell:
then just paste it in your separate sheet or side column/frozen row
to make it nicer you can use HYPERLINK formula and assign some short alias

Procedurally Referencing Data Across Multiple Sheet in Google Sheets

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...

Excel creates new sheet from invisible data in pivot table cell

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.

Resources