Looking for some help on creating a formula (ideally Google Sheets compatible) that will allow me to define criteria range for multiple columns and define how many columns to sum.
For example, in the screenshot provided, I am interested in:
Thanks!
use:
=SUM(FILTER(FILTER(C2:F10, COLUMN(C1:F1)-COLUMN(C1)<C12),
REGEXMATCH(A2:A10, TEXTJOIN("|", 1, A12:A15)),
REGEXMATCH(B2:B10, TEXTJOIN("|", 1, B12:B15))))