N
Ned
Hi, I need on the following:
The Fee Table (FeeTbl) have price by the 4 categories namely: Enrol,
Adult, Stdnt & Snr and by year for 2008 to 2011. The Main Table
(MainTbl) are number of persons under each categories. The TotFees
column are the sumproduct of thenumbers in the MainTbl x the prices in
the FeeTbl. For example 48 (in 2008) = 0*10+2*15+2*6+1*6 or 55 (in
2009)= 1*15+2*20+0*6+0*6
What would be the best formula that also does not take too much
resource, would be very appreciative.
Regards
Ed
------------------------------------------------------------
MainTbl
2008
2009
Enrol Adult Stdnt Snr TotFees Enrol Adult Stdnt Snr TotFees
0 2 2 1 48 1 2 0 0 55
2 2 1 0 56 0 2 2 1 52
0 1 0 1 21 2 2 1
0 76
2 0 0 2 32 1 1 0
0 35
:
:
:
FeeTbl
2008 2009 2010 2011
Enrol 10 15 15 15
Adult 15 20 20 20
Stdnt 6 6 6 6
Snr 6 6 6 6
The Fee Table (FeeTbl) have price by the 4 categories namely: Enrol,
Adult, Stdnt & Snr and by year for 2008 to 2011. The Main Table
(MainTbl) are number of persons under each categories. The TotFees
column are the sumproduct of thenumbers in the MainTbl x the prices in
the FeeTbl. For example 48 (in 2008) = 0*10+2*15+2*6+1*6 or 55 (in
2009)= 1*15+2*20+0*6+0*6
What would be the best formula that also does not take too much
resource, would be very appreciative.
Regards
Ed
------------------------------------------------------------
MainTbl
2008
2009
Enrol Adult Stdnt Snr TotFees Enrol Adult Stdnt Snr TotFees
0 2 2 1 48 1 2 0 0 55
2 2 1 0 56 0 2 2 1 52
0 1 0 1 21 2 2 1
0 76
2 0 0 2 32 1 1 0
0 35
:
:
:
FeeTbl
2008 2009 2010 2011
Enrol 10 15 15 15
Adult 15 20 20 20
Stdnt 6 6 6 6
Snr 6 6 6 6