Hi there,
I'm in need of a formula that can give me the sum of cells in a column if the values in another column are the same. For example:
Col A
John Smith
John Smith
John Smith
Jane Doe
Jane Doe
Jane Doe
Col B
2
8
9
3
4
6
Col E
Monday
Tuesday
Sunday
Monday
Wednesday
Friday
The total for John Smith would be 19 and the total for Jane Doe would be 13. The problem is that this file is huge and we will have to use this formula on a weekly basis with different values each week, so it would be very difficult to use a "specific" formula for each person. Is this a possibility?
And to make it more difficult, I would then have to subtract one of those values if that row has a certain value in one of the other columns.
If values in Column A are equal to each other, sum of Column B. (Column C would contain the sum in this case.)
Column D = Column C minus B, if value of Column E is Sunday, otherwise don't subtract anything.
The total for John Smith in Column D would be 10 and Jane's total for D would still be 13.
I hope this makes sense and didn't confuse anyone out there. Please advise.
Thanks!
C.M.
Bookmarks