Sumifs with a Match

Mac1512

Board Regular
Joined
Jul 26, 2011
Messages
58
Hi All
I am trying to use a formula to sup the total Qty of Aged Stock into certain buckets 0-0.5 months / 0.5-1 etc.

I have cobbled together a formula but the values do not add up, Is there a better way to do this?
=SUMIFS(INDEX($C$5:$C$10,,MATCH(A16,$A$5:$A$10,0)),$B$5:$B$10,">"&B16,$B$5:$B$10,"<"&C16)

<tbody>
</tbody>

Data
ProductStock Age (Months)Qty
A0.350
A0.4100
A1.5599
B1.550
B0.4100
B0.8599

<colgroup><col><col><col></colgroup><tbody>
</tbody>


ProductAge FromAge ToQty
A00.5250
A0.50011599
A12649

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
*Formula is the Qty box e.g 250
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Excel 2010
ABCD
1ProductStock Age (Months)Qty
2A0.350
3A0.4100
4A1.5599
5B1.550
6B0.4100
7B0.8599
8
9
10A00.5250
11A0.50011599
12A12649
13
14if you need it by product
15A00.5150
16A0.500110
17A12599
18B00.5100
19B0.50011599
20B1250
Sheet4
Cell Formulas
RangeFormula
D10=SUMIFS($C$2:$C$7,$B$2:$B$7,">"&B10,$B$2:$B$7,"<"&C10)
 
Upvote 0
Excellent Thanks - How do I see the Fromula you have in D15 that returns 150 (Yes it is by product I need it)
 
Upvote 0

Forum statistics

Threads
1,215,400
Messages
6,124,702
Members
449,180
Latest member
craigus51286

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
Back
Top