i have a names in column A and numbers in column B. Now i want to get the total of john. Then I put the below formula
=SUMIF(A:A,"john",B:B)
This gives my solution. But when I want the total of two or more people. Then it's a problem.
I am trying it like this.
=SUMIF(A:A,"john",B:B)+SUMIF(A:A,"mark",B:B)+SUMIF(A:A,"john",B:B)
This seems to be quite long because i have to put the whole formula again and select the same ranges again. Is there any short formula for this.
=SUMIF(A:A,"john",B:B)
This gives my solution. But when I want the total of two or more people. Then it's a problem.
I am trying it like this.
=SUMIF(A:A,"john",B:B)+SUMIF(A:A,"mark",B:B)+SUMIF(A:A,"john",B:B)
This seems to be quite long because i have to put the whole formula again and select the same ranges again. Is there any short formula for this.