Sumif for category and criteria

matty_lou82

New Member
Joined
Sep 14, 2018
Messages
38
Hi there,

I am looking to create a sumif (or sumifs) for the following data set, so that a sum is given for each name, HOWEVER with the caveat of the addioanl criteria of under a certain value. For example, the total sum of volume for Matt, but only for values less than 4.

Please can someone help, it would be really appreciated.

NameVolume
Matt1Matt
Stu5Stu
Chris3Chris
Andy4Andy
Carl6Carl
Matt7
Stu8
Chris3
Andy4
Carl5
Matt6
Matt8
Stu2
Chris3
Andy6
Carl7
Matt8
Stu3
Chris4
Andy5
Matt6
Stu8
Chris4
Andy5
Carl6
Matt8
Stu2
Chris3
Andy5
Matt3
Stu5
Chris2
Matt8
Stu6
Chris2
Matt1
Stu7
TOTAL179

<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Assuming Name is in column A, volume is in column B, and the name "Matt" is in cell D2, put this formula in E2 and copy down for the other names:
Code:
=SUMIFS(B:B,A:A,D2,B:B,"<4")
 
Upvote 0
You are welcome.
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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