Hi all,
I found an array formula that I adapted into my Excel 2013 workbook. My version entered as an array formula reads as follows:
{=SUMPRODUCT(IFERROR(($B$2:$B$1667&$F$2:$F$1667=$B2&$F2)/COUNTIFS($S$2:$S$1667,$S$2:$S$1667,$B$2:$B$1667,$B2,$F$2:$F$1667,$F2),0),$S$2:$S$1667)}
It works perfectly for what I need to accomplish. Unfortunately, it takes "forever" to calculate down a column. If I let it run several minutes and then ctrl-break, I’ll discover it’s only finished about half of the calculations. On top of that, this array formula seems to make my worksheet constantly recalculate the sheet. So, I end up setting Calculation Options to Manual just so I can perform other maintenance on this sheet.
Workbook Structure:
Columns B and F contain the criteria I need to match. Column S contains larger integers. However, the collection of integers in column S often times contains identical values. The formula above finds the set of unique integers within column S that also satisfy the criteria in B and F; then sums the unique integers.
Hopefully, someone can conceptualize my description. If not, I’ll be happy to supply a sample worksheet that illustrates if needed.
So, I’m looking to your collective brilliant minds to offer suggestions for a much faster running and efficient formula that will accomplish the same as the formula above.
Thanks for any suggestions!
I found an array formula that I adapted into my Excel 2013 workbook. My version entered as an array formula reads as follows:
{=SUMPRODUCT(IFERROR(($B$2:$B$1667&$F$2:$F$1667=$B2&$F2)/COUNTIFS($S$2:$S$1667,$S$2:$S$1667,$B$2:$B$1667,$B2,$F$2:$F$1667,$F2),0),$S$2:$S$1667)}
It works perfectly for what I need to accomplish. Unfortunately, it takes "forever" to calculate down a column. If I let it run several minutes and then ctrl-break, I’ll discover it’s only finished about half of the calculations. On top of that, this array formula seems to make my worksheet constantly recalculate the sheet. So, I end up setting Calculation Options to Manual just so I can perform other maintenance on this sheet.
Workbook Structure:
Columns B and F contain the criteria I need to match. Column S contains larger integers. However, the collection of integers in column S often times contains identical values. The formula above finds the set of unique integers within column S that also satisfy the criteria in B and F; then sums the unique integers.
Hopefully, someone can conceptualize my description. If not, I’ll be happy to supply a sample worksheet that illustrates if needed.
So, I’m looking to your collective brilliant minds to offer suggestions for a much faster running and efficient formula that will accomplish the same as the formula above.
Thanks for any suggestions!