New answers tagged

0

Recently I create a script to do LeftJoin on tables, my script resolve your case. The script join up to 3 right tables, but can be easyli increased to more. So enjoy. Supose you have all in A1:C5 and E1:G5 data in one sheet. All you need is only put a line like that: =LEFTJOIN("A1:C5";"E1:G5"; "A=F";0) We can see a working example here I used code from ...


0

You want to create a QUERY statement in which the selected column is defined as a relative reference so that it will automatically change as the formula is copied one (or more) columns to the right. This can be done using Column letters or Column Numbers. The statements look like this: Letters: =query(Raw_data,"Select ("&A14&"/("&A2&"/...


0

In Test_Sheet You'll find following formula for each name ={transpose(A2:B2);arrayformula(SEQUENCE(D2,1,1,1)*C2+B2)} Tried to make it for whole array, but SEQUENCE failed me to return array.


0

Since you want to return the sum of each of 3 columns you could use the following query formula instead =QUERY(QUERY(A:D, "select sum(A), sum(B), sum(C) where month(D)+1=2 ",1), "select * OFFSET 1 ",0) The above formula will give you results for just the month of February. You can alter the formula to get results for each month ...


0

This will return TRUE or FALSE: =IFERROR(SEARCH("keyword",A1)>0, FALSE)


1

Here i created an auto sorting script and spreadsheet(it require a bit of work on the sheet, a copy paste of the code and setting your ranges. Its based on multiple stackexchange answer https://docs.google.com/spreadsheets/d/1LDohwCuy8HZg4YCQEOuWmgpY_WG2BVh_aH-i4JGM5BE/edit#gid=0 Its record and gets the value of the range you focus on at last edit compare ...


0

Here's a way to pick out duplicate at a domain level. =filter( A2:A6, ArrayFormula( REGEXMATCH( A2:A6, join("|",unique(ArrayFormula(REGEXEXTRACT(B2:B11,"@(.*)")))) ) ) ) First I used regextract to extract the domain of Col Band join them ...


1

You'll first need extra columns converting the dates to months and years. This is as simple as =MONTH(B2) and =YEAR(B2), applied to all rows. Then you'll need a so-called pivot table to group the data. From the menu, choose Data → Pivot table; select the existing columns and where you want the table: Add rows, columns and values as follows: For month ...


0

So, I was pointed in the right direction by marikamitsos, thank you! However, I found a slightly different solution. =QUERY($C$3:$D$53,"select D where C='TER 2'") This article helped a lot > Google Sheets Query


0

Try a query instead. In cell F4 try the following formula: =IFERROR(QUERY($C$3:$D$52,"select D where C='"&G$3&"'"),"") You can even drag the formula from F3 to the right and all of the rest will auto-fill. Functions used: QUERY


0

select B,AM,AN where "&$A&" = 'Available' order by AM limit 12


0

Instead of 249 static formulas you can use just 3 dynamic ones. For your 1st set use the following on cell A3 =QUERY(ArrayFormula(((IFERROR( VLOOKUP(SORT('solution Stats Gathering'!K3:K,1,0), ({'solution Stats Gathering'!K3:K,'solution Stats Gathering'!A3:L}),{2,3,12},0) )))),"select * where Col1 is not null") For the ...


0

To include reference to a cell add some quotes ' "&Sheet2!D1&" ' =QUERY(Tasks!A3:K,"select C,A,D,K where E='"&Sheet2!D1&"' and B='Ready' Order By D,C",0)


Top 50 recent answers are included