• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Excel help

ManBearPig

Diamond Member
How would i calculate something as $2.50 or 5% of the material costs, whichever is greater?

Would it be an if statement?
 
=If(A1*.05>2.5,A1*.05,2.5)

I think that will work, I can't test it I don't have excel installed at the moment.
 
cool...thanks alot.

so how exactly would you say that?

if a1*.05 is greater than 2.5............? fill in the rest please? 😀

 
If (MaterialCost * 5% > 2.5)
IfTrue MaterialCost * 5%
IfFalse 2.5

the cell formula itself is
=IF((A1*5% > 2.5), (A1*5%), 2.5)

Where A1 is whatever cell MaterialCost is.

- JaAG
 
The IF statement will work, but it is probably slightly more efficient to use the Max function:

=Max(A1*0.05,2.50)

That way you only have to evaluate the 5% of A1 one time. Not that you will notice the difference.
 
mayest is correct if this is a formula that you will be using on a lot of rows, it will use less memory

both work though
 
Back
Top