+ Reply to Thread
Results 1 to 4 of 4

Formula for showing positve and negative percentage differences

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Formula for showing positve and negative percentage differences

    Hi all

    I have a table showing visits to a website that shows weeks in column a and visits to a website in column b.

    I want to show the percentage increase/decrease across the weeks and am using this forumula:

    abs=(b3/b2)/B2

    This shows me the % difference between w/c 25/7 and w/c 01/08 is 12.3% - which is fine and dandy. But - this is a drop of 12.3% (whereas there is an increase of 6% the follwoing week). Is there a formula I can use which will highlight in the table which are negative and which are positive differences? Preferably with a minus sign, but anything helpful.

    Thanks

    G
    Last edited by Glayva; 09-02-2011 at 06:57 AM. Reason: solved

  2. #2
    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: Formula for showing positve and negative percentage differences

    Hi,

    Please upload an example workbook showing your data and the result you expect to see. It's always much easier to help you if we can see your request in context.

    Regards
    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.

  3. #3
    Registered User
    Join Date
    04-18-2011
    Location
    Surrey, UK
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Formula for showing positve and negative percentage differences

    Hi Glayva,

    Could you not use a formula with the format of:

    difference = (( A2 - A1 ) / A1 * 100

    If A2 (this weeks value) is bigger than A1 (last weeks value) the percentage change will be positive, otherwise its negative.

    Once you have the formula in place, negative numbers will have a minus sign in front of them by default.

    If you wanted to add a bit more emphasis you could also highlight the positive and negative values (e.g. negative is red, positive is green or whatever) using conditional formatting from the "Format ---> Conditional Formatting" menu.

    Kind regards,

    Paul

  4. #4
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Formula for showing positve and negative percentage differences

    Thanks @PaulG2011. I used =(B3-B2)/B2*100 and that worked fine and dandy.

    Apologies Richard - I tried three times to add a copy of the table but it wasn't working and I was gettting called into a meeting with my boss!

    G

+ 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