The SUMIFS function works in a similar way with text as with numbers, but there are two key differences. First, text in Excel formulas must always go inside double quotes, and second, you can use ...
I keep running into situations in Excel where I want to calculate a conditional sum, but my criterion is something along the lines of "Include cell B1 if cell A1 is a number, likewise B2 and A2, B3 ...