I want to sum a answer in a area, if I enter a name in cell L35, can it match the name from the picture of E21:I35, then sum the number under the name and show it in cell M35? But there are formula in cell E21:I35.
60.jpg
I want to sum a answer in a area, if I enter a name in cell L35, can it match the name from the picture of E21:I35, then sum the number under the name and show it in cell M35? But there are formula in cell E21:I35.
60.jpg
Please try
=sumifs(E23:I35,E22:I34,M36)
Thank you so much, it works, but I do not understand why did you put "E23:I35,E22:I34"?
=sumifs(E23:I35,E22:I34,M36)
can split into
=sumifs(E23:I23,E22:I22,M36)
+sumifs(E24:I24,E23:I23,M36)
+…
+sumifs(E34:I34,E33:I33,M36)
+sumifs(E35:I35,E34:I34,M36)
I think the answer to your question is that you are summing the cells below where the match is, hence the range is offset by a row
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks