SUM Array formula

johns99

Board Regular
Joined
Jun 11, 2013
Messages
223
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am currently using an array formula to pull the sum of two columns based on two separate criteria:

{=SUM((details!$T$3:$T$1724+details!$V$3:$V$1724)*(EEID='C&B - Compensation Data'!$A3))}

This approach is currently working FYI.

The concern with the above formula is if the details are sorted it then throws the formula off, so I am looking to replicate the above without the possibility of the formula being deterred. I'm thinking a SUMIFS but I'm not sure how to do this with 2 whole columns.

Thanks in advance.

John
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I'm thinking a SUMIFS but I'm not sure how to do this with 2 whole columns.
With the fix for the original problem, sumif might still be preferable.
Excel Formula:
=SUMIFS(details!$T$3:$T$1724,EEID,$A3)+SUMIFS(details!$V$3:$V$1724,EEID,$A3)
 
Upvote 0
With the fix for the original problem, sumif might still be preferable.
Excel Formula:
=SUMIFS(details!$T$3:$T$1724,EEID,$A3)+SUMIFS(details!$V$3:$V$1724,EEID,$A3)

Great workaround, thank you!
 
Upvote 0
Glad we could help & thanks for the feedback.
As you have 365, this should be faster
Excel Formula:
=SUM(FILTER(details!$T$3:$T$1724+details!$V$3:$V$1724,EEID=$A3))
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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