Sum if

Status
Not open for further replies.

Stclements1

Board Regular
Joined
Sep 15, 2018
Messages
158
Office Version
  1. 365
Platform
  1. Windows
I have two spreadsheets spreadsheet 1 is cost1, spreadsheet 2 is cost2

In cost2 cell4 I need to evaluate the cost of an item. the cost of that item changes in relation to the amount shipped.

The values of these items are in spreadsheet cost1 cells C28-L28
If I ship 1 pallet of 720 items the cost per item is in spreadsheet 1(cost1) cell c28, if i ship two pallets that would be 1440 items and the value of those individual would be in spreadsheet 1 (cost1) cell D28, going up to 10 pallets and cell L28
1 pallet 720 cost 1 cell c28
2 Pallet 1440 cost 1 cell d28
3 pallet 2160 cost 1 cell e28
etc.... to 10 pallet cost 1 cell L28

So ultimately by evaluating how many items I have the value will be displayed in spreadsheet 2 cost 2 cell C8 and if for example the value is 1440 in cell 8 then cell c4 in the same spreadsheet will determine that the cost of each item will be in spreadsheet 1 cost 1 cell D28 (1440 =two pallets).
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Status
Not open for further replies.

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

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