I’d like to create a summary table (using custom formulas) that works along the principles of the Excel function sumif but rather than using references typed directly into a formula or typed into cells e.g. =SUMIF(A6:A15,"Bee",B6:B15) I’d like the formula to reference from a table (named range). I’d like this to allow me to sum data based on a value fitting one of multiple criteria.
Below is an example of what I mean. Here I’ve only one table ‘InsectTable’ and I want to sum only the rows categorised as insects.
The attached example illustrates more clearly what I mean. The idea is that I type into a cell a formula that looks like a sumif perhaps but along the lines of =SUMIF(A6:A15,InsectRange,B6:B15)
I’d appreciate any assistance but if you could tailor your answer around my example file that would be great.
I want to avoid using Excel array functions (Crtl+Shift+Enter) as I’ve tried them in the past and I’m not a fan.