Stuart Little
Board Regular
- Joined
- Mar 4, 2002
- Messages
- 64
Hi All,
I currently have the following formula in a spreadsheet which has 600 rows in Excel 2010.
=SUM($O7*VLOOKUP($P7,pts,F$5,0)+$Q7*VLOOKUP($R7,pts,F$5,0))+$S7*VLOOKUP($T7,pts,F$5,0)+$U7*VLOOKUP($V7,pts,F$5,0)+$W7*VLOOKUP($X7,pts,F$5,0)+$Y7*VLOOKUP($Z7,pts,F$5,0)+$AA7*VLOOKUP($AB7,pts,F$5,0)+$AC7*VLOOKUP($AD7,pts,F$5,0)+$AE7*VLOOKUP($AF7,pts,F$5,0)+$AG7*VLOOKUP($AH7,pts,F$5,0))
Is there an easier formula?
Code Breakdown
SUM($O7*VLOOKUP($P7,pts,F$5,0)
O7 = Qty
P7 = Part Number
Pts = table with Usage volumes
F5 = just a cell with column I want to bring back as I drag this formula across several columns
Any simplification would be great as the formula has the potential to grow and already includes 10 variations.
Thank you in advance.
I currently have the following formula in a spreadsheet which has 600 rows in Excel 2010.
=SUM($O7*VLOOKUP($P7,pts,F$5,0)+$Q7*VLOOKUP($R7,pts,F$5,0))+$S7*VLOOKUP($T7,pts,F$5,0)+$U7*VLOOKUP($V7,pts,F$5,0)+$W7*VLOOKUP($X7,pts,F$5,0)+$Y7*VLOOKUP($Z7,pts,F$5,0)+$AA7*VLOOKUP($AB7,pts,F$5,0)+$AC7*VLOOKUP($AD7,pts,F$5,0)+$AE7*VLOOKUP($AF7,pts,F$5,0)+$AG7*VLOOKUP($AH7,pts,F$5,0))
Is there an easier formula?
Code Breakdown
SUM($O7*VLOOKUP($P7,pts,F$5,0)
O7 = Qty
P7 = Part Number
Pts = table with Usage volumes
F5 = just a cell with column I want to bring back as I drag this formula across several columns
Any simplification would be great as the formula has the potential to grow and already includes 10 variations.
Thank you in advance.