SUMIFS Help

Help2022

New Member
Joined
Jul 28, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Trying to compile data from across a large data set and SUMIFS seems to be failing - I don't know if it can sum if there are columns and rows being searched.

I created a simplified version of the data set and expected out come in the image below.

Data tab
Column A, rows 3-5 = Datapoints
Columns B - F, row 1 = Category groupings

On my summary, I want to be able to sum selected datapoints across the category groupings.

I tried using the following "=SUMIFS($B$3:$F$5,$A$3:$A$5,$A10,$B$1:$F$1,B$9)" but keep having errors.

Hope someone can point me in the right direction - either a fix to my formula or a better formula to use.
 

Attachments

  • Excel.jpg
    Excel.jpg
    54.6 KB · Views: 6

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Solved my own issue - =SUMPRODUCT(($B$3:$F$5)*($A$3:$A$5=$A10)*($B$1:$F$1=B$9))

Leaving this here incase anyone searches for a similar issue.
 
Upvote 0
Solution
In SUMIFS all the ranges must have the same shape. You are mixing rows and columns so it doesn't work.

Your data format is working against you. If your data looked like this you could just create a pivot table to do it automatically:
Profit Category 1 4
Profit Category 2 1
Profit Category 3 1
Profit Category 1 1
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,613
Members
449,090
Latest member
vivek chauhan

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