Hi,
I have a very long formula that gets the sales value from one of three sheets depending on some conditions. See below formula:
=IFERROR(IF([@[12 months alive(Yes/No)]]="No",IFERROR(INDEX('BUDGET TY'!$Q$1:$Q$5000,MATCH([@[Store '#]],'BUDGET TY'!$B$1:$B$5000,0)),INDEX('BUDGET LY'!$Q$1:$Q$5000,MATCH([@[Store '#]],'BUDGET LY'!$B$1:$B$5000,0))),INDEX('ACTUAL SALES TY'!$B$1:$B$5000,MATCH([@[Store '#]],'ACTUAL SALES TY'!$A$1:$A$5000,0))),"")
So basically, it is checking whether a project has been alive for twelve months and if not it looks for the budgeted sales in two different sheets depending on the year of the budget. If it has been opened for more than twelve months it looks for the store in the actual sales data
The formula works as expected, but my excel has started to complain about memory limits and that it cannot calculate the sheet because of it. I have around 400 projects, and this formula sits in three different columns checking for different things. On top of that, I have around 100 more columns with around 80% being simple one level INDEX MATCH formulas. In total i belive that considering everything I have around 35 000 INDEX MATCH formulas.
Is the memory limit problem caused by these long index match formulas, or is it just to much formulas in the first place? If so, can I use helper columns in some smart way to get rid of the problem?
I keep seeing data sets of hundreds of thousands of rows, while this is merely indexing 5000 rows so i was surprised to get this problem.
Excel 2010 64bit, 8GB RAM
I have a very long formula that gets the sales value from one of three sheets depending on some conditions. See below formula:
=IFERROR(IF([@[12 months alive(Yes/No)]]="No",IFERROR(INDEX('BUDGET TY'!$Q$1:$Q$5000,MATCH([@[Store '#]],'BUDGET TY'!$B$1:$B$5000,0)),INDEX('BUDGET LY'!$Q$1:$Q$5000,MATCH([@[Store '#]],'BUDGET LY'!$B$1:$B$5000,0))),INDEX('ACTUAL SALES TY'!$B$1:$B$5000,MATCH([@[Store '#]],'ACTUAL SALES TY'!$A$1:$A$5000,0))),"")
So basically, it is checking whether a project has been alive for twelve months and if not it looks for the budgeted sales in two different sheets depending on the year of the budget. If it has been opened for more than twelve months it looks for the store in the actual sales data
The formula works as expected, but my excel has started to complain about memory limits and that it cannot calculate the sheet because of it. I have around 400 projects, and this formula sits in three different columns checking for different things. On top of that, I have around 100 more columns with around 80% being simple one level INDEX MATCH formulas. In total i belive that considering everything I have around 35 000 INDEX MATCH formulas.
Is the memory limit problem caused by these long index match formulas, or is it just to much formulas in the first place? If so, can I use helper columns in some smart way to get rid of the problem?
I keep seeing data sets of hundreds of thousands of rows, while this is merely indexing 5000 rows so i was surprised to get this problem.
Excel 2010 64bit, 8GB RAM