Vertical and Horizontal Condition to Sum Array

Aimee S.

Board Regular
Joined
Sep 28, 2010
Messages
236
Office Version
  1. 365
Platform
  1. Windows
Hi Folks.

I cannot seem to figure out how to approach this one.

I am trying to sum integer values in array 'INSERT Tabbing Data-GIS'!$A$2:$BZ$5000

Where column header matches certain criteria, i.e. if 'INSERT Tabbing Data-GIS'!$A$1:$BZ$1 are all available columns, needs to match value in $C7 on native sheet.

And also where value is 1 in the column 'INSERT Tabbing Data-GIS'!$BQ$1:$BQ$5000

In other words, I want to sum all values in the array mentioned above where the column header matches $C7's value (I use this approach so I can drag down the formula in my native sheet to reference different part numbers) and only sum values where the value for the same row in column 'INSERT Tabbing Data-GIS'!$BQ$1:$BQ$5000 is 1
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Try this

=SUMIF('INSERT Tabbing Data-GIS'!$BQ$2:$BQ$5000,1,INDEX('INSERT Tabbing Data-GIS'!$A$2:$BZ$5000,0,MATCH($C7,'INSERT Tabbing Data-GIS'!$A$1:$BZ$1,0)))
 
Upvote 0
That works!!! I did not see your response in time but I also found this by pouring through various youtube vids and it also worked!!! =SUMIFS(INDEX('INSERT Tabbing Data-GIS'!$A$2:$BO$5000,,MATCH($C7,'INSERT Tabbing Data-GIS'!$A$1:$BO$1,0)),'INSERT Tabbing Data-GIS'!$BQ$2:$BQ$5000,1)

Thanks so much for making sense of my difficultly worded question. :) You rock.
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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