google-sheets-formula

IMPORTRANGE with condition

我怕爱的太早我们不能终老 提交于 2020-01-12 11:47:08
问题 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

How do I combine cells from different columns on the same row to cells on different rows in the same column?

╄→尐↘猪︶ㄣ 提交于 2020-01-06 08:30:25
问题 I have data coming in a certain way, but I need it automatically converted into a different layout for a specific chart in Google Data Studio. Basically, I want to go from this Date Apple Banana Cherry Jan 1 500 800 2000 Jan 2 800 920 2878 Jan 3 1700 1850 3000 To this: Date Type Amount Jan 1 Apple 500 Jan 1 Banana 800 Jan 1 Cherry 2000 Jan 2 Apple 800 Jan 2 Banana 920 Jan 2 Cherry 2878 Jan 3 Apple 1700 Jan 3 Banana 1850 Jan 3 Cherry 3000 I can't think of a solution (I'm relatively new at this

Same spreadsheet, same cell, but different results, with different user

断了今生、忘了曾经 提交于 2020-01-06 07:53:15
问题 I have a problem with Google sheets since today. The spreadsheet I use to get an amount from a different sheet (within the same spreadsheet). But the same sheet gives different results depending on who is the user. In the example in this image it's Cell J5 for user A it is € -50,00 but for user B it is € -5000,00 It seems something to do with value() (it's what I saw on twitter, as many people suffer from this problem since today) Once their function value is used. (To convert text to a

How to automatically split one row into different rows in Google Sheets?

醉酒当歌 提交于 2020-01-05 07:03:36
问题 I'm trying to split one row in Google Sheets into different rows depending on its content. Here's an example: Name | Ticker | Categories Bitcoin | BTC | currency; store-of-value; trust layer; smart contracts; cross-industry Ripple | XRP | currency; cross-industry Into: Name | Ticker | Categories Bitcoin | BTC | currency Bitcoin | BTC | store-of-value Bitcoin | BTC | trust layer Bitcoin | BTC | smart contracts Bitcoin | BTC | cross industry Ripple | XRP | currency Ripple | XRP | cross-industry

Using REGEXEXTRACT in an array, searching multiple columns

爱⌒轻易说出口 提交于 2020-01-05 04:57:16
问题 Can someone please tell me what I am doing wrong in this formula? =ARRAYFORMULA(REGEXEXTRACT((A2:A&"")+(B2:B&"")+(C2:C&"")), "02(\d{14})37") I'm trying to extract a 14 digit number that sits between 02 and 37 that may be in columnA, columnB or columnC. I've tried this also, with the expected result showing on the first row only: =ARRAYFORMULA(REGEXEXTRACT(textjoin(" ",true,A2:C),"02(\d{6,14})37")) I'm really confuzzled. 回答1: it needs to be like this: =ARRAYFORMULA(IFERROR(IFERROR(IFERROR

How to use AVERAGEIFS within ARRAYFORMULA

余生长醉 提交于 2020-01-05 04:11:26
问题 I am trying to use AVERAGEIFS inside ARRAYFORMULA . Looking at other questions, I have come to the conclusion that it is not possible without using QUERY function. My intention is to average the values of a column whenever they share the same ID. I think this question comes pretty close to what I need, but I haven't been able to replicate and adapt its solution on my own sheet. In this sheet I show the result I expect (I got it by dragging the formula). I've also reviewed the Query Language

Auto fill a column with formulas when new rows are added

亡梦爱人 提交于 2020-01-03 02:43:48
问题 I have an automation workflow (Zapier) which adds a new row to a Google Sheets whenever a new card is added in Trello. We use it to track statistics for departments etc. I have some extra fields which transform a date field into things like weeknumber, day, month, year... simple stuff. I need to write a script which looks out for new rows entered into the spreadsheet and then auto-fills the other columns with preset formulas. Example layout: Columns populated via the automation: a,b,d,e

Remove all diacritics without script with a single formula for use in all cells without making calls to Google API

爱⌒轻易说出口 提交于 2020-01-01 19:30:48
问题 I created a formula that removes diacritics but needs to make calls through an ImportDATA . If I use this formula on every cell I need, it will exceed the call limit I can make. And it will lock the spreadsheet. =ArrayFormula(if(exact(A1,Upper(A1)),Upper(VLOOKUP(A1,split(trim(transpose(split(query(SUBSTITUTE(regexreplace(regexreplace(query(IMPORTDATA("https://docs.oracle.com/cd/E29584_01/webhelp/mdex_basicDev/src/rbdv_chars_mapping.html"),"Select Col1 where Col1 contains '<td'",),"<td class=.

How can I force a recalculation of cell using ImportRange function in a Google Spreadsheet?

天涯浪子 提交于 2020-01-01 05:40:47
问题 I have a spreadsheet Target that uses ImportRange to get some data from another spreadsheet Source, as in A6 = query(ImportRange("mykey", "Weekly!B:BI"), CONCATENATE("select * WHERE Col1='",B3,"'"), 0) The select clause is to sub-select the data that matches on a value in B3 - if this cell value is changed then the import is updated "immediately". I want to be able to force an update if someone changes something in the Source spreadsheet so that we see it reflected in the Target "immediately"

QUERY using cell contents as SQL variables

不想你离开。 提交于 2020-01-01 03:42:48
问题 Here is what the spreadsheet I'm working with looks like: Summary table (top of sheet) Source data (same sheet, below output) I'm using the QUERY function to populate the appropriate feeds in the summary table with the data starting at A24 needs to be placed into. Here is the formula I'm using in cell C6 (similar formulas are used throughout the summary table): =QUERY($A$24:$D$57, "Select D Where B='ENQ' and A='2/27/14 - Thu'") This gets the right information, but the formula needs to be