Home:ALL Converter>Sheets: use FILTER for multiple strings instead of exact match only?

Sheets: use FILTER for multiple strings instead of exact match only?

Ask Time:2018-02-17T00:21:51         Author:Al C

Json Formatter

I'm trying to SUM column C based on the contents of columns A and B. Like this:

=sum(filter(C:C, (A:A="Safari")*(B:B="10.0.1")))

The above formula works. The FILTER function works as an exact match for "Safari" and "10.0.1" for columns A and B respectively.

The problem is... this only captures an exact match: "10.0.1". I need to capture multiple strings e.g. "10.0.1", "10.0.2", "10.0.3", etc.

If helpful, here's an example sheet.

I'm not sure if regex can be used in combination with a filter function. In any case, I've tried hard and failed spectacularly. So... how best to filter for multiple strings instead of exact match only?

Author:Al C,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48830881/sheets-use-filter-for-multiple-strings-instead-of-exact-match-only
TheMaster :

=SUMIFS(C:C,A:A,\"Safari\",B:B,\"10.0.*\")\n",
2018-02-16T16:31:41
yy