I have a workbook with around 30,000 rows of data, which expands daily when new data is downloaded. All of the formulas work well, but the need arose to have the workbook be shared between some other users, so certain columns needed to be hidden, but more importantly, a lot of the calculations needed to be automated and filled much further down in the sheet....down to row 100,000 to cover it for maybe another 2 years or so. That part is all fine, as those cells only fill when something is added to a corresponding cell.
One issues has arisen, though. It affects just this one formula and I cant work out how to fix it. The formula calculates what is known as A/E (Actual vs Expected). It does nothing more than tell you whether you have an edge on the market. So an A/E of 1 shows that you are pretty much matching the market expectations of the result, whereas 1.04 means you have a 4% edge on the market, meaning selections will win 4% more than they are expected to. An A/E of 0.97 means your selections perform 3% worse than the market expects. It uses SUBTOTAL and 103 so that it still works when the sheet is autofiltered
Here is the formula
All of it was fine until I extended the data in column EZ down to 100,000 rows. Initially that column only had data down to the last row of visible selections, but now it continues right down to row 100,000 with this formula
It simply means if there is nothing in AG, then nothing will show in EZ. The catch is the first formula was affected by this as now there is data in EZ all the way down to row 100,000
I am wondering how to adjust that first formula to have it calculate ONLY on actual rows with visible data
cheers
One issues has arisen, though. It affects just this one formula and I cant work out how to fix it. The formula calculates what is known as A/E (Actual vs Expected). It does nothing more than tell you whether you have an edge on the market. So an A/E of 1 shows that you are pretty much matching the market expectations of the result, whereas 1.04 means you have a 4% edge on the market, meaning selections will win 4% more than they are expected to. An A/E of 0.97 means your selections perform 3% worse than the market expects. It uses SUBTOTAL and 103 so that it still works when the sheet is autofiltered
Here is the formula
Code:
=SUMPRODUCT(SUBTOTAL(103,OFFSET(FM17:FM100000,ROW(FM17:FM100000)-MIN(ROW(FM17:FM100000)),,1))*(FM17:FM100000>=0))/SUBTOTAL(109,EZ17:EZ100000)
All of it was fine until I extended the data in column EZ down to 100,000 rows. Initially that column only had data down to the last row of visible selections, but now it continues right down to row 100,000 with this formula
Code:
=IF(AG17<>"",(1/AG17),"")
It simply means if there is nothing in AG, then nothing will show in EZ. The catch is the first formula was affected by this as now there is data in EZ all the way down to row 100,000
I am wondering how to adjust that first formula to have it calculate ONLY on actual rows with visible data
cheers