Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 07-19-2008, 02:52 PM
joeu2004
 
Posts: n/a
Re: Division % error

On Jul 18, 11:34 pm, marc...@excite.com wrote:
> can you tell me what the "SIGN" and the "ABS"
> do in this formula.


SIGN() returns -1, 0 or 1 for negative, zero and positive numbers.
Note that 1 is 100%.

ABS() returns the magnitude or "absolute value" of a number; that is,
the number without its sign. For example, ABS(-100) is 100, and
ABS(100) is also 100.

The formula works the way we think of percentage change intuitively.
The gain or loss is determined by the direction of change. The
percentage is determined by the ratio of change over the magnitude of
the base value.

ERRATA.... I wrote:
> 2. A change from 50 to 0 will be a 100% loss (100%),
> and from 50 to -50 will be a 200% loss (-200%).


Obvious typo: I should have written "(-100%)".


----- original posting -----

On Jul 18, 11:34*pm, marc...@excite.com wrote:
> wow!!! *impressed, works great.
> can you tell me what the "SIGN" and the "ABS" do in this formula.
>
> thanks,
>
> On Jul 18, 10:52*pm, joeu2004 <joeu2...@hotmail.com> wrote:
>
>
>
> > On Jul 18, 9:50*pm, marc...@excite.com wrote:

>
> > > Thanks, I am thinking maybe this is the way excel
> > > calculates!!!!

>
> > Excel does not calculate any particular "way". *You tell Excel how you
> > want something calculated, and Excel does it. *Whether or not the
> > calculation makes sense is entirely up to you.

>
> > > (A) $3799.95 is sales for June 2008
> > > (B) $-210 is sales for June 2007 [....]
> > > So in this case I would like to know in June 2008
> > > how many +/- % is it.

>
> > Okay, you do indeed have the right idea. *If the more-recent number
> > (2008) is in A3 and the older number (2007) is in B3, I think the
> > following formula will give you the result you desire:

>
> > =IF(B3=0, SIGN(A3), (A3-B3)/ABS(B3))

>
> > If the old number was zero, any positive change will be treated as
> > 100%, and any negative change will be treated as -100%. *This is an
> > arbitrary choice. *There is no right answer.

>
> > Otherwise:

>
> > 1. A change from -50 to 0 will be a 100% gain, and from -50 to 50 will
> > be a 200% change. *Likewise for 50 to 100 and 50 to 150.

>
> > 2. A change from 50 to 0 will be a 100% loss (100%), and from 50 to
> > -50 will be a 200% loss (-200%). *Likewise for -50 to -100 and -50 to
> > -150.

>
> > In your case, a change from -210 to 3800 about a 1910% gain.- Hide quoted text -

>
> - Show quoted text -


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT. The time now is 03:36 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Personal Loans | Cash ISA | Credit Card Consolidation | Free Ringtone | eBay



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114