Order form Equation

gjones

New Member
Joined
Apr 14, 2016
Messages
2
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
Joined
Oct 30, 2014
Messages
4,243
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
try thus

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

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,243
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
you're welcome
 

Forum statistics

Threads
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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top