Thread: EXCEL FORMULA
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Yanick Yanick is offline
external usenet poster
 
Posts: 28
Default EXCEL FORMULA

The following will always return Ã* positive number. You can then check if it
is 25% of A1

=if(A1-B1 < 0,(A1-B1)*2+A1-B1,A1-B1)

--
Yanick


"Mur" wrote:

Need help with an excel formula.

Cell A1 is 10 an input
Cell B1 is 5 anther input
Cell C1 is 5 but a formula A1 - B1

I want to only analize variances that are greater than 25% of cell A1. I
can create this formula but only if C is a postiive number. If cell A1 is
less than B1 then I'd also like to see the variance if its outside of 25% but
can't get it to work if its a negative number. Any help would be appreciated