Regarding how SUMIF recalculates...I have a large worksheet with many grouped rows (1600+) and 115k sumif formulas with a pretty crazy dependency tree. Each time an input changes or a group of rows is expanded the worksheet recalculates and it takes quite some time.
Assuming a sumif is referring to a column (call it A), checking against some criteria, and then summing column B, if I alter a cell in column B where the criteria does NOT hold true, does it still trigger a recalc? Most of the 115k sumif functions refer to a large column of numbers but few rows within that column should pass the criteria test. Based upon the performance of the spreadsheet, it appears they are all recalculating, not just the ones that the row passes the criteria. Just trying to debug this thing and hoping this information could help. Thanks in advance!
In the example below, if I change Washington to 600, will it trigger the sumif() function also?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Oregon[/TD]
[TD]1400[/TD]
[/TR]
[TR]
[TD]Washington[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]Oregon[/TD]
[TD]600[/TD]
[/TR]
[TR]
[TD]Idaho[/TD]
[TD]2000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]=sumif(A1:A4,"Oregon",B1:B4)[/TD]
[/TR]
</tbody>[/TABLE]
Assuming a sumif is referring to a column (call it A), checking against some criteria, and then summing column B, if I alter a cell in column B where the criteria does NOT hold true, does it still trigger a recalc? Most of the 115k sumif functions refer to a large column of numbers but few rows within that column should pass the criteria test. Based upon the performance of the spreadsheet, it appears they are all recalculating, not just the ones that the row passes the criteria. Just trying to debug this thing and hoping this information could help. Thanks in advance!
In the example below, if I change Washington to 600, will it trigger the sumif() function also?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Oregon[/TD]
[TD]1400[/TD]
[/TR]
[TR]
[TD]Washington[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]Oregon[/TD]
[TD]600[/TD]
[/TR]
[TR]
[TD]Idaho[/TD]
[TD]2000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]=sumif(A1:A4,"Oregon",B1:B4)[/TD]
[/TR]
</tbody>[/TABLE]