ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum if with multiple ranges (https://www.excelbanter.com/excel-discussion-misc-queries/253887-sum-if-multiple-ranges.html)

TB@work[_2_]

Sum if with multiple ranges
 
Here is what my spreadsheet looks like. These are are grouped by weeks, so
each person will have multiple entries down column A.

A B
John
1/14 16
1/15 15

Jane
1/14 16
1/15 12

Joe
1/14 10
1/15 13

I'm looking for a formula to add say all of Johns values based on a certain
date. I've tried sumif but it will not let me use multiple ranges.


jlclyde

Sum if with multiple ranges
 
On Jan 20, 10:54*am, TB@work wrote:
Here is what my spreadsheet *looks like. *These are are grouped by weeks, so
each person will have multiple entries down column A.

A * * * * * *B * * * * *
John
1/14 * * *16
1/15 * * *15

Jane
1/14 * * *16
1/15 * * *12

Joe
1/14 * * *10
1/15 * * *13

I'm looking for a formula to add say all of Johns values based on a certain
date. *I've tried sumif but it will not let me use multiple ranges.


Is john in A or a seperate column. Becasue it looks like your names
are above a series of dates.

TB@work[_2_]

Sum if with multiple ranges
 
It is not a seperate column.

"jlclyde" wrote:

On Jan 20, 10:54 am, TB@work wrote:
Here is what my spreadsheet looks like. These are are grouped by weeks, so
each person will have multiple entries down column A.

A B
John
1/14 16
1/15 15

Jane
1/14 16
1/15 12

Joe
1/14 10
1/15 13

I'm looking for a formula to add say all of Johns values based on a certain
date. I've tried sumif but it will not let me use multiple ranges.


Is john in A or a seperate column. Becasue it looks like your names
are above a series of dates.
.



All times are GMT +1. The time now is 07:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com