alloakland1
New Member
- Joined
- Dec 9, 2013
- Messages
- 19
I would like to return the sum of a column if another column equals a criteria.
For example:
This is a data sheet that I am getting my info from (Sheet1)
A1 company B Location C Total Gross
2.Vizio San Francisco $100
3.Sony Denver $1000
4.Samsung New York $200
5.Apple Denver $400
I would like to put a formula in another sheet (Sheet2) with the list of companies in Column A and Location in the first row.
I've tried =IF(Sheet1!A:A="Vizio",SUMIF(Sheet1!B:B,"San Francisco",Sheet1!C:C),0)
How would I return Total Gross based on both the company and location?
For example:
This is a data sheet that I am getting my info from (Sheet1)
A1 company B Location C Total Gross
2.Vizio San Francisco $100
3.Sony Denver $1000
4.Samsung New York $200
5.Apple Denver $400
I would like to put a formula in another sheet (Sheet2) with the list of companies in Column A and Location in the first row.
I've tried =IF(Sheet1!A:A="Vizio",SUMIF(Sheet1!B:B,"San Francisco",Sheet1!C:C),0)
How would I return Total Gross based on both the company and location?