Formula with IF (multiple conditions) and ROUNDUP

rolysudest

New Member
Joined
Oct 22, 2016
Messages
25
Hello everyone!

Can somebody help me?:
I already have the formula: [FONT=&quot]=IF(Z581*200/5000<150,150,Z581*200/5000)
[/FONT]
I would like to add to this formula a rounding up to 10 ([FONT=&quot]ROUNDUP -1)
[/FONT]
But, if Z581 is greater or equal to 5200, I wish the result to remain 300 fixed.

Thank U very much!
 

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.
Maybe ...

=CEILING(MEDIAN(150, Z581/25, 300), 10)
 
Upvote 0
Hi,

Two versions of the same formula:


Book1
ZAA
5815199210
5825199210
Sheet2
Cell Formulas
RangeFormula
AA581=IF(Z581>=5200,300,MAX(150,ROUNDUP((Z581*200/5000),-1)))
AA582=IF(Z582>=5200,300,MAX(150,ROUNDUP((Z582*0.04),-1)))
 
Upvote 0

Forum statistics

Threads
1,215,442
Messages
6,124,886
Members
449,194
Latest member
ronnyf85

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