+ Reply to Thread
Results 1 to 5 of 5

The difference displayed as a %

  1. #1
    Registered User
    Join Date
    07-26-2008
    Location
    NW
    Posts
    11

    The difference displayed as a %

    Hi there,

    I have been playing about with this for a while to no avail.

    Basically I have 2 numbers in 2 columns and in a 3rd I would like to display the difference as a + / - %

    So for example:

    Column 1 = 4.00

    Column 2 = 3.00

    4.00 is 25% higher than 3.00

    but if they were the other way around

    3.00 is 25% less than 4.00

    so if 4.00 were first it would be +25%

    and if 3.00 were first -25%

    Any ideas????

    File attached.
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: The difference displayed as a %

    Hi,

    4.00 is 25% more than 3.00, but 3.00 is 33% less than 4.00, not 25%!!!

    try

    =1-(D5/C5)

    format as %
    Last edited by teylyn; 11-29-2009 at 08:09 AM.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: The difference displayed as a %

    To generate your +/- 25 then

    =(1-(MIN(C5:D5)/MAX(C5:D5)))*SIGN(D5-C5)

    However I would argue that 4 is 33.3% higher than 3: (4-3)/3 and 3 is 25% lower than 4: (3-4)/4 ... and that would be:

    =(D5/C5)-1

  4. #4
    Registered User
    Join Date
    07-26-2008
    Location
    NW
    Posts
    11

    Re: The difference displayed as a %

    Thanks for the quick response.

    I may be confused or just being confusing with my explanation, either way I have the equation I was looking for. Thanks.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: The difference displayed as a %

    Hi,

    That's fine if you are quite sure that the numbers are what you or others are expecting. However I would double check, particularly given your thread title.

    What the others have said here is what most businesses would expect when expressing an increase from 3 to 4, or a reduction from 4 to 3. i.e. +33% and -25%.

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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