You can use the following syntax to select rows that contain a specific string using the Google Sheets query function: =query (A1:C9, “ select A, B where B contains ‘this’ “, 1). This particular query selects columns A and B from the cell range A1:C9 where column B contains the string ‘this’ and the 1 specifies that there is 1 header row at the top of the cell range.
You can use the following syntax to order the results of a Google Sheets Query by a certain column: = query (A1:C12, " select A, B order by B asc", 1) In this example, we select columns A and B and order the results by column B ascending. We also specify a 1 to indicate that there is 1 header row at the top of the dataset.. You can also use the following syntax to order by multiple columns:
You can use :REGEXMATCH
=IF(REGEXMATCH(A1, "sites"), 1, 0)
To explain, returns true if and only if the argument is a substring of your string.REGEXMATCH
It will likely have been solved by now, but I ran accross this and figured to give my input
=COUNTIF(a2:a51;"*iPad*")
The important thing is that separating parameters in google docs is using a and not a ;,