+ Reply to Thread
Results 1 to 5 of 5

Calculating percentage values for positive and negative values

Hybrid View

  1. #1
    Registered User
    Join Date
    11-02-2011
    Location
    Midwest, US
    MS-Off Ver
    Excel 2010
    Posts
    43

    Calculating percentage values for positive and negative values

    I looked through the forum and tried some examples none seem to fit what I was looking for, so I apologize in advance if I missed it.

    I need to calculate the percentage difference between negative and positive values. I tried a few options with ABS, etc. but didn't get what I was looking for.

    I want the percetage to calculate properly and show as a postive value. Like the formula that I tried on the first row displayed as -100.00%. I would like it to show as 100.00% without the negative sign.

    Also in cell row 7 I have several instances where I need to calulate the $ difference but to show as a positive value in column D ($ Difference cell) I would also like all the values in Column D to reflect postive values if possible.


    I have attached some sample data so that you can see what I need. I appreciate your help.
    Attached Files Attached Files
    Last edited by dotsofcolor; 01-03-2012 at 05:54 PM.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Calculating percentage values for positive and negative values

    Unless I'm missing something I think the formula for column D is:

    =ABS(A2-B2)

    And for column E it's:

    =ABS(D2/A2)

    But you'll need to format col E as percentage.

  3. #3
    Registered User
    Join Date
    11-02-2011
    Location
    Midwest, US
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Calculating percentage values for positive and negative values

    Perfect thanks, and it helped me get to my next step in the sheet. I was over thinking it on the ABS. Excellent help Andrew, I really appreciate it.

  4. #4
    Registered User
    Join Date
    11-02-2011
    Location
    Midwest, US
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Calculating percentage values for positive and negative values

    I thought that this was solved on my end but came up with this.

    Is there a way to work in an IF statement with the ABS function that if the value in the cell in empty, basically zero can it put in a specific value say 100.00%?

    I would like the percentage to show as 100.00% if there is no value present to divide. Hope that makes sense.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculating percentage values for positive and negative values

    Hi dotsocolor.

    So in this case, put in E5, the follow formula:

    =IF(D5=0;"100,00%";ABS(D5/A5))

    Hope to helps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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