+ Reply to Thread
Results 1 to 5 of 5

calc percentages of difference when entries are negative to positive or pos to neg, etc

  1. #1
    Registered User
    Join Date
    11-28-2016
    Location
    seattle
    MS-Off Ver
    2016
    Posts
    17

    calc percentages of difference when entries are negative to positive or pos to neg, etc

    Hi, I am trying to calc the percentage of difference between two columns. The part giving me trouble is that some numbers are negatives and I can't figure out a formula that can handle this. I put an example below. Thank you!



    Beginning Column Ending Column
    -3,540.02 -4,344.98
    -2600.54 -1365.59
    - 22,951.15 32,512.66
    -252.13 -252.13
    70,922.57 85,271.01
    71,725.29 53,723.50

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: calc percentages of difference when entries are negative to positive or pos to neg, et

    Hi Todd- perhaps (in C2):
    =B2/A2-1
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,889

    Re: calc percentages of difference when entries are negative to positive or pos to neg, et

    It might be more of a math question than an Excel question.

    The standard "percent difference/change" formula is (b-a)/ABS(a) (which is algebraically equivalent to leelnich's formula when both values are positive). I think this formula works well when both values are positive or when both values are negative. The real challenge is that it doesn't work very well when one value is positive and one is negative. When the signs are different, you can have scenarios where the percent change gets smaller as the difference between the values gets larger. This tends to make interpreting the percent change difficult, since one can no longer infer "larger/smaller" change based on the result. I recommend that you think very carefully about what you are trying to do here so you can come up with a way to measure whatever you need to measure here. Of course, if you already know how you want to calculate this quantity, let us know and we can help you program that into Excel.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    11-28-2016
    Location
    seattle
    MS-Off Ver
    2016
    Posts
    17

    Re: calc percentages of difference when entries are negative to positive or pos to neg, et

    Thank you,

    I was hoping that excel had a way to deal with this. I tried nesting some if statements with the ABS function. But did not get it to work. I do use sumifs frequently and thought it might help here but have not gotten far there either.

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,889

    Re: calc percentages of difference when entries are negative to positive or pos to neg, et

    Spreadsheets don't do magic, and MSFT's programmers (generally) implement consensus "best" formulas and algorithms. In this case, I am not aware of any consensus on how to calculate percent change/difference when the values are opposite sign (except maybe "percent change is not defined when values are of opposite sign"). I am afraid you are going to be disappointed in this case. You will need to come up with your own definition/formula for percent change that will "correctly" measure a meaningful quantity for your data. That probably means considering what kind of data you have, what the difference really means, what kind of analysis are you trying to do, and how will this "percent change" quantity help in making that analysis.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula for the difference between positive & negative numbers
    By buyshirts in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2016, 07:11 AM
  2. [SOLVED] How to sum values/time difference as they switch between positive & negative
    By watkincm in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-23-2015, 09:24 PM
  3. Percentages between positive and negative numbers
    By PISTOLERO in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2014, 07:09 AM
  4. changing positive and negative numbers to percentages to equal zero
    By dabears50 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2013, 07:48 PM
  5. [SOLVED] SUM if difference is positive / negative
    By Ricardo Mass in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-23-2013, 05:42 AM
  6. negative and positive calc
    By jw01 in forum Excel General
    Replies: 4
    Last Post: 09-25-2013, 04:40 PM
  7. [SOLVED] how to calculate difference in two columns either positive or negative ?
    By spandan21 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-29-2012, 10:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1