Dave Hawley, recommended database functions for these formulas....
Posted by Dustin on April 03, 2001 12:01 PM
Dave,
As a followup to the array formula and performance issue discussion earlier, I wondered if you might be able to recommend which database functions in particular I should use to improve the performance of these formulas.
Just let me know if you need more info to make an educated decision on this. I'll be glad to send you whatever you need.
As an aside, I have already made the TODAY() to CurDay change and it has not made a significant improvement.
To recap our earlier discussion, I have 7 tabs full of formulas similar to the three I am including here:
=IF(CurDay<C$4,"",IF(ISERROR(SUM(([IBMData.xls]Sub!$E$2:$E$5000>B$5)*([IBMData.xls]Sub!$E$2:$E$5000<=C$5)*([IBMData.xls]Sub!$K$2:$K$5000=$A6))/(SUM(([IBMData.xls]Req!$C$2:$C$5000>B$5)*([IBMData.xls]Req!$C$2:$C$5000<=C$5)*([IBMData.xls]Req!$F$2:$F$5000=$A6)))),"",SUM(([IBMData.xls]Sub!$E$2:$E$5000>B$5)*([IBMData.xls]Sub!$E$2:$E$5000<=C$5)*([IBMData.xls]Sub!$K$2:$K$5000=$A6))/(SUM(([IBMData.xls]Req!$C$2:$C$5000>B$5)*([IBMData.xls]Req!$C$2:$C$5000<=C$5)*([IBMData.xls]Req!$F$2:$F$5000=$A6)))))
-------------------------------------------------------
=IF(CurDay<G$5,"",SUM(IF([IBMData.xls]Assg!$BD$2:$BD$5000="C",1,0)*(IF([IBMData.xls]Assg!$H$2:$H$5000="Current",1,IF([IBMData.xls]Assg!$H$2:$H$5000>F$5,1,0))*(IF([IBMData.xls]Assg!$AZ$2:$AZ$5000<=F$5,1,0)))))
------------------------------------------------------
=IF(CurDay<G$5,"",SUM(IF([IBMData.xls]Req!$P$2:$P$5000="C",1,0)*(IF([IBMData.xls]Req!$C$2:$C$5000>F$5,1,0)*(IF([IBMData.xls]Req!$C$2:$C$5000<=G$5,1,0)))))
Thanks in advance Dave!
Dustin