add x euros every 1000 units

nystagmenos

New Member
Joined
Jan 27, 2014
Messages
6
Hello. I am trying to make a function where.
I have a product that costs every 1000 units 4 euros.
So 1000 units cost 4 euros. 2000 units 8 euros etc.
I tried it with ifs but too many arguments till i reach to 1.000.000 lets say or more.

Is there a more easy way to do this?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
What if you have 1500 units?
Would it be 4 euros or 6 euros?

I am just trying to figure out if it really jumps only in increments of 4 euros, or can do partials.

If in increments of 4 only, use this formula for a value in cell A2:
Excel Formula:
=INT(A2/1000)*4

If partials, use:
Excel Formula:
=INT(A2/250)

1736859386225.png
 
Upvote 0
Solution
fantastic mate. Let me ask you something else. There are no partial numbers for begin with. I want a starting price up to 3000 units. So the price is up to 3000 units 50 euros and then add 4 euros every 1000 units. Thank you again.
 
Upvote 0
Hello,

If I got it correctly, i think the formula below gives you the expected result

Excel Formula:
=INT(MAX(0, A2-3000)/1000)*4+50
 
Upvote 0
Do you mean something like this?

1736860719871.png


If that is the case, then the formula would be:
Excel Formula:
=50+MAX(INT((A2-3000)/1000)*4,0)
 
Upvote 0
You are welcome.
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,226,108
Messages
6,188,978
Members
453,516
Latest member
torisemo

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