get total weight of items by multiplying different cells by different values

smfenn

New Member
Joined
May 11, 2022
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
I'm trying to calculate the total weight of an order by multiplying our product columns by different amounts:

Cells F:L + AG:AJ need to be multiplied by 7.2
Cells M,O,Q,S,U,W,Y,AA need to to be multiplied by 3.3
Calls, N, P, R, T, V, X, Z, AB need to be multiplied by 6.6
Cells AC + AE multiplied by 10.8
Cells AF + AD need to be multiplied by 8.4

This then needs to show a total in cell AT -I'm not 100% sure this is possible. Not sure if it's possible to make this work with an ARRAY formula or needs something more complex. Would welcome any help or support folks might be able to provide.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
What have your tried?
What rows are used?
Can you post an extract of a relevant example say with 10 rows and the expected result.
You can post the example with the forum's tool call XL2BB.
 
Upvote 0
So far I've only tried '=SUM{E36:K36*7.2*L36,N36,P36,R36,T36,V36,X36,Z36*3.3*M36,O36,Q36,S36,U36,W36,Y36,AA36*6.6*AB36:AI36*10.8}

I would want it to sum every row that has an order placed, but not every column would be used.

Here's an example row based on a real row from our spread sheet

 
Upvote 0
Your post did not show information.
I just noticed that you use a Mac ; I do not know if the Add-in XL2BB works with your software.

We are not paid support people; we are volunteers who try to help people.
To guess at your challenges, may or may not be useful.

What parts of your formula actually work? Try Excel's Formula Evaluate Formula.

Does the following help?

T202205a.xlsm
EFGHIJKLMNOP
31113.4
32
33
34
35
36123724
1a
Cell Formulas
RangeFormula
E31E31=SUM(E36:K36)*7.2+SUM(N36,P36)*3.3
 
Upvote 0
Solution
David,

Didn't realise you could +SUM formulas - so that has helped, thank you so much.
 
Upvote 0
If you had posted an example that showed how the rates are identified, we could have provided a better answer.
You can review and try each of the following

T202205a.xlsm
EFGHIJKLMNOP
31113.4113.4113.4113.4
32
33
347.27.27.27.27.27.27.23.33.3
35
36123724
1a
Cell Formulas
RangeFormula
E31E31=SUM(E36:K36)*7.2+SUM(N36,P36)*3.3
F31F31=SUM(E36:K36*7.2,N36:P36*3.3)
G31G31=SUM(E36:K36)*7.2+SUM(L36,N36,P36,R36,T36,V36,X36,Z36)*3.3+SUM(M36,O36,Q36,S36,U36,W36,Y36,AA36)*6.6+SUM(AB36:AI36)*10.8
H31H31=SUMPRODUCT(E34:P34,E36:P36)
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top