+ Reply to Thread
Results 1 to 8 of 8

Show % Difference between two numbers

  1. #1
    Jana
    Guest

    Show % Difference between two numbers

    I am trying to show the percentage difference between two numbers and also
    show the overage in red....Help!

  2. #2
    DaveO
    Guest

    RE: Show % Difference between two numbers

    Assuming cell A1 has your 1st value and B1 your 2nd.

    Cell C1 should be =A1/B1

    Then format that cell to be a % and it'll work.

    For the average of the 2 number cell D1 should be =(A1+B1)/2

    Then fomat font to br red.

    HTH.

    "Jana" wrote:

    > I am trying to show the percentage difference between two numbers and also
    > show the overage in red....Help!


  3. #3
    Bernard Liengme
    Guest

    Re: Show % Difference between two numbers

    Numbers in A1 and B1
    percentage difference =(B1-A1)/A1 or B1/A1 - 1
    This is the change in B relative to A; for the change in A relative to B
    just use (A1-B1)/B1
    Percentage means different thing to different folks!

    define 'overage'; do you mean the difference is positive or negative?

    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "Jana" <[email protected]> wrote in message
    news:[email protected]...
    >I am trying to show the percentage difference between two numbers and also
    > show the overage in red....Help!




  4. #4
    Gary''s Student
    Guest

    RE: Show % Difference between two numbers

    If the first value is in A1 and the second is in B1 then =(B1-A1)/A1
    (formatted as a %) is the percent difference.

    A positive value will mean a percent increase and a negative value will be a
    percent decrease
    --
    Gary''s Student


    "Jana" wrote:

    > I am trying to show the percentage difference between two numbers and also
    > show the overage in red....Help!


  5. #5
    Jana
    Guest

    RE: Show % Difference between two numbers

    Thank you soooo much.

    One more question though, the formula works unless 1 of the numbers is 0,
    then I get a "#DIV/0!" in the cell.

    "Gary''s Student" wrote:

    > If the first value is in A1 and the second is in B1 then =(B1-A1)/A1
    > (formatted as a %) is the percent difference.
    >
    > A positive value will mean a percent increase and a negative value will be a
    > percent decrease
    > --
    > Gary''s Student
    >
    >
    > "Jana" wrote:
    >
    > > I am trying to show the percentage difference between two numbers and also
    > > show the overage in red....Help!


  6. #6
    Jana
    Guest

    Re: Show % Difference between two numbers

    Yes Positive or Negative

    "Bernard Liengme" wrote:

    > Numbers in A1 and B1
    > percentage difference =(B1-A1)/A1 or B1/A1 - 1
    > This is the change in B relative to A; for the change in A relative to B
    > just use (A1-B1)/B1
    > Percentage means different thing to different folks!
    >
    > define 'overage'; do you mean the difference is positive or negative?
    >
    > --
    > Bernard V Liengme
    > www.stfx.ca/people/bliengme
    > remove caps from email
    >
    > "Jana" <[email protected]> wrote in message
    > news:[email protected]...
    > >I am trying to show the percentage difference between two numbers and also
    > > show the overage in red....Help!

    >
    >
    >


  7. #7
    Bernard Liengme
    Guest

    Re: Show % Difference between two numbers

    =IF(A1<>0,(B1-A1)/A1,NA())


    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "Jana" <[email protected]> wrote in message
    news:[email protected]...
    > Thank you soooo much.
    >
    > One more question though, the formula works unless 1 of the numbers is 0,
    > then I get a "#DIV/0!" in the cell.
    >
    > "Gary''s Student" wrote:
    >
    >> If the first value is in A1 and the second is in B1 then =(B1-A1)/A1
    >> (formatted as a %) is the percent difference.
    >>
    >> A positive value will mean a percent increase and a negative value will
    >> be a
    >> percent decrease
    >> --
    >> Gary''s Student
    >>
    >>
    >> "Jana" wrote:
    >>
    >> > I am trying to show the percentage difference between two numbers and
    >> > also
    >> > show the overage in red....Help!




  8. #8
    mvl
    Guest

    RE: Show % Difference between two numbers

    Jana

    I have to do this also...here's what I do....

    I usually hilight one cell, then on the tool bar select Format, Conditional
    Formatting, for Condition 1 select "Cell Value is" from the dropdown list,
    select "less than", enter 1. Click on Format, in the color selection, select
    red.

    Then I copy the cell, hilight all cells that applies and paste format.

    Hope this helps.


    "Jana" wrote:

    > I am trying to show the percentage difference between two numbers and also
    > show the overage in red....Help!


+ 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