# sumproduct w/ sumif??

#### LL

##### New Member
I am trying to calculate the sumproduct of selected cells in a list.

Column C = "Salary"
Column G = "Rate"
Column E = "City"

I am trying to get the sumproduct of "Salary" and "Rate" for Cities equal to a given cell, say C1.

Any help would be greatly appreciated

LL

### Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

#### just_jon

##### Legend
LL said:
I am trying to calculate the sumproduct of selected cells in a list.

Column C = "Salary"
Column G = "Rate"
Column E = "City"

I am trying to get the sumproduct of "Salary" and "Rate" for Cities equal to a given cell, say C1.

Any help would be greatly appreciated

LL

Welcome to the Board -- try

=SUMPRODUCT(--(\$E\$1:\$E\$500=C1),(\$C\$1:\$C\$500),(\$G\$1:\$G\$500))

Replies
7
Views
117
Replies
1
Views
481
Replies
2
Views
224
Replies
1
Views
658
Replies
5
Views
193

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

1,151,490
Messages
5,764,671
Members
425,229
Latest member
Rashid mahmood

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back