google-sheets-query

Custom Tooltip in Google Sheets Org Chart

喜欢而已 提交于 2019-12-10 12:30:55
问题 I am trying to find a way to make a custom tooltip under Org Chart built using the Google Sheets. Currently, I have an Org chart that is built by simply selecting the data on the sheet and inserting the chart through the menu. I have recently learned that it is possible to have a custom tooltip (see an [example here][1][1]: https://developers.google.com/chart/interactive/docs/customizing_tooltip_content#tooltip-actions) My data is currently under 3 columns. I am unable to figure out how to

Formula to auto copy and display cell if contain a specific word

元气小坏坏 提交于 2019-12-08 13:44:47
问题 I have a Google Sheets where I store RSS feeds (in Sheet1). What I would like to do is to create a formula that will, in Sheet2, copy and display all feeds from Sheet1, which contain certain words. Screenshot of example: In this example I would like to copy and display (from Sheet1 to Sheet2) all feeds with the words BLACK and SHIRT, and from here on I would like to auto copy and display feed, every time it will contain this two words. Is this possible and how? 回答1: To return rows that

Reference column based on multiple cell values in Google Query

拥有回忆 提交于 2019-12-08 12:53:08
问题 I'm trying to return a value in a column based on two cell references. My current query is: =QUERY(A:T,"select A WHERE P = '"&S200&"' AND Q = '"&T200&"'") Column A is a number, P is a string, and Q is a number. S and T correspond to P and Q, respectively. All it's returning is column headers. What am I doing wrong? 回答1: Try this, Note the different quotes for the cell number reference. =QUERY(A:T,"select A WHERE P = '"&S200&"' AND Q="&T200&"") 来源: https://stackoverflow.com/questions/46201053

Google Sheet - Transform two columns into one column using arrayformula (more than 50,000 characters)

南笙酒味 提交于 2019-12-07 12:32:41
问题 I'm using Google Sheets and looking for an arrayformula that able to take a list in two columns and arrange it alternately in one column. The sheet contains about 5,000 rows, each row has more than 35 characters. I tried this: =transpose(split(join(" ", query(transpose(B5:C),,50000)), " ")) But then I got this message: Please take a look at the sheet here: https://docs.google.com/spreadsheets/d/11T1Roj1trviOSiiTZS292-4l3oODid7KLi9oGz3Z66o/edit#gid=0 回答1: Assuming your 2 columns are A and B,

Extracting the top five maximum unique values

為{幸葍}努か 提交于 2019-12-07 03:09:43
问题 I am running a Nerf league at a party and want my spreadsheet to show the top five contestants. Contestants are allowed unlimited entries and only their top score is counted. Entries are being collected on Google Sheets and The Top 5 published on a kiosk screen. Here is some sample data: - **Full Name,Score** - Test Test,3 - Test2 Test2,1 - Test3 Test3,10 - Test4 Test4,3 - Test5 Test5,42 - Test5 Test5,500 - Test6 Test6,20 Here is the formula I have so far (with thanks to tigeravatar): =INDEX(

VLOOKUP within IMPORTRANGE

谁说胖子不能爱 提交于 2019-12-06 10:15:41
问题 I'm trying this function on Google spreadsheet without success in order to gather in a sheet a value after a VLOOKUP: =importrange("otherurl";cell("address";vlookup(value("201608"),"All_nodevice!$A$16:$C$1000",2,false))) I get a general error. Does IMPORTRANGE support this kind of functionality? What I need to do is to extract data from the cell of another sheet that has the value 201608 on its left. Since IMORTRANGE wants a cell pointer such as $A$12, I thought to do these steps: search with

Google Sheet - Transform two columns into one column using arrayformula (more than 50,000 characters)

為{幸葍}努か 提交于 2019-12-05 23:01:15
I'm using Google Sheets and looking for an arrayformula that able to take a list in two columns and arrange it alternately in one column. The sheet contains about 5,000 rows, each row has more than 35 characters. I tried this: =transpose(split(join(" ", query(transpose(B5:C),,50000)), " ")) But then I got this message: Please take a look at the sheet here: https://docs.google.com/spreadsheets/d/11T1Roj1trviOSiiTZS292-4l3oODid7KLi9oGz3Z66o/edit#gid=0 Assuming your 2 columns are A and B, this formula will "interlace" them: =query( sort( {arrayformula({row(A1:A3)*2, A1:A3}); arrayformula({row(B1

Using MIN() inside ARRAYFORMULA()

左心房为你撑大大i 提交于 2019-12-05 06:49:13
I've seen some examples of using SUM() inside an ARRAYFORMULA() in Google Spreadsheets (and oddly enough, they all seem like workarounds) but I can't figure out how to apply them to using MIN() instead. Let's say I have columns A , B and C and I just want to get the result of MIN(A:C) on the D column, just for the three cells that would match each row. The straightforward way should be ARRAYFORMULA(MIN(A1:C)) but surely enough that doesn't work. How can I programmatically calculate the MIN() of some cells within a row, for all the rows in a Google Spreadsheet? MIN() always returns a single

QUERY syntax using cell reference

怎甘沉沦 提交于 2019-12-04 07:48:26
问题 I'm having trouble figuring out a fairly simple QUERY statement in Google Spreadsheets. I'm trying to use a cell reference instead of static values and I'm running into trouble. Below it the code I'm using, but I keep getting a "Error: Formula parse error." =QUERY(Responses!B1:I, "Select B where G contains"& $B1 &) I'm sure it is a simple error, but can someone please show me how to write the above so the QUERY is pulling data from B where G contains the value in cell B1 (cell reference)? 回答1

IMPORTRANGE with condition

久未见 提交于 2019-12-03 23:06:00
Using Google Sheets I want, within the same document, to import data from one sheet to another using IMPORTRANGE with conditions. I have tried unsuccessfully: =IF(IMPORTRANGE("https:URL","Inc Database!B2:B300")="permanent",IMPORTRANGE("htps://URL","Inc Database!A2:A300"),"") and =QUERY(IMPORTRANGE("https:/URL", "Inc Database!A2:A300"),"SELECT Col1 WHERE Col1 <> 'permanent'") and =FILTER(IMPORTRANGE("URL","Inc Database!A1:A250"),IMPORTRANGE("URL","Inc Database!B1:B250"="venture permanent")) I want the function to say: Import any values from range A that meet criterion "permanent" in range B. A