Calculating Percentage Increase/Decrease

Thanks Thanks:  0
Likes Likes:  0
Results 1 to 9 of 9

Thread: Calculating Percentage Increase/Decrease

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Column A has dollar amounts from 1999.
    Column B has dollar amounts from 2000.

    I want column C to calculate the percentage increase or decrease from column A to column B.

    For example:
    $16,325 $21,100 +23.7%
    $41,250 $18,145 -56.1%

    I need the + and - signs to be included. How do I write this formula?

  2. #2
    BatCoder
    Join Date
    Feb 2002
    Location
    Turkey
    Posts
    799
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    C1=> =(B1-A1)/A1

    regards

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Posts
    76
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Smozgur got it correct... But without the plus sign. Do you REALLY need the plus sign?

    It can be done but you will loose the ability to treat the cell as a value. Do you still want to do it?

  4. #4
    BatCoder
    Join Date
    Feb 2002
    Location
    Turkey
    Posts
    799
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Oops,

    =IF((B1-A1)/A1<0,"-" & ROUND((B1-A1)/A1*100,2) & "%","-" & ROUND((B1-A1)/A1*100,2) & "%")

    or just first comment and format cells as custom like below:

    +0,00%,-0,00%



  5. #5
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,489
    Post Thanks / Like
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-23 11:16, Harley wrote:
    Column A has dollar amounts from 1999.
    Column B has dollar amounts from 2000.

    I want column C to calculate the percentage increase or decrease from column A to column B.

    For example:
    $16,325 $21,100 +23.7%
    $41,250 $18,145 -56.1%

    I need the + and - signs to be included. How do I write this formula?
    =IF(A1>B1,"-"&ROUND(100*((A1-B1))/A1,1)&"%","+"&ROUND(100*((B1-A1)/B1),1)&"%")

    Darn it. All those cosmetics keeps you editing...

    Aladin

    [ This Message was edited by: Aladin Akyurek on 2002-04-23 11:31 ]

    [ This Message was edited by: Aladin Akyurek on 2002-04-23 11:34 ]

    [ This Message was edited by: Aladin Akyurek on 2002-04-23 11:37 ]

  6. #6
    Board Regular
    Join Date
    Feb 2002
    Posts
    76
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Smozgur just posted what I was thinking of.

    Keep one thing in mind though, you can no longer treat the C column as values. They are now strings.

  7. #7
    BatCoder
    Join Date
    Feb 2002
    Location
    Turkey
    Posts
    799
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    John, it will not loose its ability with formatting way:

    Just goto format cells after applying my first formula and select Custom then use this custom format:

    +0,00%,-0,00%

    (i am not sure about (,) between formats, my version works with ( like this

    +0,00%;-0,00%)


    _________________
    Oz ~ TheWordExpert

    [ This Message was edited by: smozgur on 2002-04-23 11:32 ]

  8. #8
    Board Regular
    Join Date
    Feb 2002
    Posts
    76
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Smozgur,

    Ahaha.. I learned something. Thanks.

  9. #9
    BatCoder
    Join Date
    Feb 2002
    Location
    Turkey
    Posts
    799
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    John,

    me too

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com