Hello! This one has me stumped. I have a clunky formula that works, but I know there is something better:
Column A values: only "A", "B", "C", but no particular pattern down the column (ABBBAAACCACB, etc.)
Column B values: only "Add" "Increase" "Grow" "Subtract" "Remove" "Shrink"
Column C: Just numbers (all 10's for this example).
Task: For all the B's in Column A (for example), do what the B column says using the number in Column C.
I have this formula in E4 for the A result, but it's really wordy:
=SUMIFS(C2:C14, B2:B14, "Add", A2:A14, "A") +SUMIFS(C2:C14, B2:B14, "Increase", A2:A14, "A")+SUMIFS(C2:C14, B2:B14, "Grow", A2:A14, "A")-SUMIFS(C2:C14, B2:B14, "Subtract", A2:A14, "A")-SUMIFS(C2:C14, B2:B14, "Remove", A2:A14, "A")-SUMIFS(C2:C14, B2:B14, "Shrink", A2:A14, "A")
Sample attached.
I'd appreciate any help from the pros for shortening this up. Thanks!
Regards, Leaning
Bookmarks