Is there a formula for calculating multiples

taffmorgan7274

New Member
Joined
Aug 29, 2021
Messages
14
Office Version
  1. 365
Platform
  1. MacOS
Is there a formula for calculating the sum if the price of an item is £20 but on offer for 3 for £50. I would have the £20 price in cell A1 and I would like to find out a formula which would calculate if somebody purchased multiples of 3 or calculate a multiple of 3 and anything which is non multiple eg if a customer bought 5 items.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
With each Qty 3, deduct 10
Qty = 3 , deduct 10
Qty = 4-5 , deduct 10
Qty = 6-8 , deduct 20
...

=Price*Qty-INT(Qty/3)*10

Assume A1 is Price; A2 is Qty

=A1*A2-INT(A2/3)*10
 
Upvote 0
Solution
With each Qty 3, deduct 10
Qty = 3 , deduct 10
Qty = 4-5 , deduct 10
Qty = 6-8 , deduct 20
...

=Price*Qty-INT(Qty/3)*10

Assume A1 is Price; A2 is Qty

=A1*A2-INT(A2/3)*10
Thank you very much for this, it will save the aching brain cell!
 
Upvote 0

Forum statistics

Threads
1,214,521
Messages
6,120,018
Members
448,937
Latest member
BeerMan23

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