# Order form Equation

#### gjones

##### New Member
Hi First post here so please forgive any errors.

I am using Excel 2016 and am creating an order form. I want an Equation that will add up figures in a column if the adjacent two columns meet set criteria.
 1 A B C 2 Item Size Quantity 3 rugby shirt S 1 4 rugby shirt XS 2 5 rugby shirt S 1 6 rugby short L 3 7 rugby shirt S 3

<tbody>
</tbody>

In the above example I want a formulae that will add up individual cells in column C when firstly column A says Rugby shirt and column B says S so the answer would be 5. In the formulae it has to encompass all row A,B and C minus the top row as as more items are purchased and added to the list the sum result will auto update.

Many Thanks

<colgroup><col span="3"></colgroup><tbody>
</tbody>

### Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

#### AlanY

##### Well-known Member
try thus

=SUMIFS(C:C,A:A,"rugby shirt",B:B,"S")

#### gjones

##### New Member
thanks this works perfectly for my needs

you're welcome

Replies
3
Views
169
Replies
22
Views
2K
Replies
3
Views
138
Replies
21
Views
375
Replies
2
Views
129

1,137,113
Messages
5,679,704
Members
419,850
Latest member
Cbell07958

### 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