SUMIF

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

Can i please ask for some help, i am looking for a formula to show a sum of column C if E4 is matched in column D and F24 is matched in column E

Any help appreciated

Thanks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi ExcelRoy,

Does this work for you?

ExcelRoy2.xlsx
BCDEF
1FormulaColumn CColumn DColumn EColumn F
2113122PigFish
344Cat
466Dog
5
6Frog
7Sycamore
8Oak
9222Dog
10333
11444
12
23
24Oak
Sheet1
Cell Formulas
RangeFormula
B2B2=IF(OR(ISNA(MATCH($E$4,D:D,0)),ISNA(MATCH($F$24,E:E,0))),"",SUM(C:C))
 
Upvote 0
Hi Toadstool,

Many thanks but the totals are only if Columns C and D match E4 and F24

I think this formula totals everthing within the range?

Many thanks
 
Upvote 0
Maybe
=SUMIFS(C:C,D:D,E$4,E:E,F$24)
 
Upvote 0
Awesome Fluff, thanks

Thanks for trying to help Toadstool!
 
Upvote 0
Going one step further can this formula be used or similar to show column B "Name" when the matches are made?
 
Upvote 0
Can you please post some sample data using the XL2BB add-in?
 
Upvote 0
LEGO elements.xlsx
BCDEF
37885-113957OldGrayAntenna 4H (Pic)
38885-123062aTrBlueBrick 1 x 1 Round with Solid Stud (Pic)
39885-113633OldGrayFence 1 x 4 x 1 (Pic)
40885-113838RedMinifig Accessory Airtanks (Pic)
41885-113626ap01YellowMinifig Head with Solid Stud and Standard Grin Pattern (Pic)
42885-11970c00RedMinifig Hips and Legs (Complete) (Pic)
43885-11973p90RedMinifig Torso with Classic Space Pattern (Pic)
44885-123024TrRedPlate 1 x 1 (Pic)
45885-113839aOldGrayPlate 1 x 2 with Handles Type 1 (Pic)
46885-113460OldGrayPlate 1 x 8 (Pic)
47885-123022OldGrayPlate 2 x 2 (Pic)
48885-113034OldGrayPlate 2 x 8 (Pic)
49885-113298p90OldGraySlope Brick 33 3 x 2 with Classic Space Logo Pattern (Pic)
50885-113933OldGrayWing 4 x 8 Left (Pic)
51885-113934OldGrayWing 4 x 8 Right (Pic)
52885-113829OldGray~Moved to 3829c01 (Pic)
53885-11193aRed~Moved to 3842a (Pic)
54886-113957OldGrayAntenna 4H (Pic)
55886-113062aTrGreenBrick 1 x 1 Round with Solid Stud (Pic)
56886-113838OldGrayMinifig Accessory Airtanks (Pic)
57886-113838WhiteMinifig Accessory Airtanks (Pic)
58886-113959OldGrayMinifig Accessory Torch (Pic)
59886-113626ap01YellowMinifig Head with Solid Stud and Standard Grin Pattern (Pic)
60886-11970c00WhiteMinifig Hips and Legs (Complete) (Pic)
61886-11973p90WhiteMinifig Torso with Classic Space Pattern (Pic)
62886-113794OldGrayPlate 1 x 2 with 1 Stud (Pic)
63886-12122c01OldGrayPlate 2 x 2 with Wheels in Red (Pic)
64886-113020OldGrayPlate 2 x 4 (Pic)
65886-113795OldGrayPlate 2 x 6 (Pic)
66886-113039OldGraySlope Brick 45 2 x 2 (Pic)
67886-143641BlackTyre (Pic)
68886-113829OldGray~Moved to 3829c01 (Pic)
69886-11193aWhite~Moved to 3842a (Pic
70889-113956OldGrayBracket 2 x 2 - 2 x 2 (Pic)
71889-123787OldGrayCar Mudguard 2 x 4 without Studs (Pic)
Set Inventories
 
Upvote 0
So my desired result would list out like

885-1
886-1
889-1

(just examples as not all data is visable)

Thanks
 
Upvote 0
What are the values in E4 & F24?
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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