#1   Report Post  
Posted to microsoft.public.excel.misc
Mur Mur is offline
external usenet poster
 
Posts: 4
Default EXCEL FORMULA

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default EXCEL FORMULA

Your formula will always tell you the difference between A1 and B1 no matter
what signs they have
A B C
9 3 6
3 9 -6

This formula will tell you by what % A differs from B
=(A1-B1)/B1 and format the cell percentage

And this will display the variance only when it is greater than 25%
IF(ABS((A1-B1)/B125%, (A1-B1)/B1,"")

best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Mur" wrote in message
...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 03:31 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 04:38 AM


All times are GMT +1. The time now is 01:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"