Hello, I have the data as attached.
the formula is:
=SUMPRODUCT((D2:F8)*(C2:C8={"My new line","Your New Line"})*(D1:F1)=H1)
which is not working. here I'm trying to calculate sum of 2017 revenue for "My new line" and "Your New Line". "H1" has "2017" in it.
the {"My new line","Your New Line"} part needs to stay in this format as this is returned by a userform where they pick what revenue item(s) to sum.
can someone please help? the formula didn't work either way as a regular nor an array formula.
thanks!
Bookmarks