Sumif for category and criteria

matty_lou82

New Member
Joined
Sep 14, 2018
Messages
22
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>
 

Some videos you may like

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
52,066
Office Version
365
Platform
Windows
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")
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
52,066
Office Version
365
Platform
Windows
You are welcome.
 

Forum statistics

Threads
1,089,265
Messages
5,407,258
Members
403,131
Latest member
Lewas2019

This Week's Hot Topics

Top