if formulas

JohnBAH

New Member
Joined
Oct 21, 2009
Messages
4
Im trying to write a formula that calculates progressive values from a single input. If I input Sales in cell A1 I want cell A2 to return the value in A1 if it is <= A1. I then want to set parameters at say 1,000,000 breakpoints for cells A2 - A6. So if Sales in A1 were 3,500,000 then A2 = 1,000,000, A3 = 1,000,000, A4 = 1,000,000, A5 = 500,000, A6 and beyond would be Zero. Can someone help? Thanks.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi and welcome to the board!!
In A1, use
Code:
=MIN(1000000,A1)
In A3, use
Code:
=MAX(MIN($A$1-SUM($A$2:$A2),1000000))
Copy A3 down as needed
Sorry, I didn't use an IF. Hope that's not a problem!!

lenze
 
Last edited:
Upvote 0
Lenze, thanks but I think I may have asked the ? wrong. How would I do this in columns vs. down a single column? I tried to transpose the formula but when I enter $3,500,000 in A1 I keep getting $1,000,000 as a value in every successive column? Sorry
 
Upvote 0
Lenze, thanks but I think I may have asked the ? wrong. How would I do this in columns vs. down a single column? I tried to transpose the formula but when I enter $3,500,000 in A1 I keep getting $1,000,000 as a value in every successive column? Sorry
 
Upvote 0
The Formula in B1 would be the same as I used in A2,The Formula in C1 would be
Rich (BB code):
=MAX(MIN($A$1-SUM($B$1:B$1),1000000),0)
drug across. Note the 2nd formula in 1st post is missing a 0, Should be
Rich (BB code):
=MAX(MIN($A$1-SUM($A$2:$A2),1000000),0)

lenze
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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