+ Reply to Thread
Results 1 to 7 of 7

Correct formula for a percentage comparison of two fields

  1. #1
    Registered User
    Join Date
    11-21-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    8

    Correct formula for a percentage comparison of two fields

    Hello,

    I am trying to compare to fields to obtain a percentage difference whether positive or negative. The first formula I utilized was (b11-a11)/b11. This gave me a negative percentage amount of -798%. The amount should be no more than 100% or -100%. Then I tried (b11/a11)-1 and the number i got was -88% which seems to make sense. Why did this occur? Oh yeah B11 = $36,400 and A11 = $327,120.

    Lastly, for my other comparisons within my worksheet, the formula of (b#-a#)/b# seems to get me the correct percentage difference. The only time the (b#/a#)-1 seemed to work was for my example I listed above. I am wondering why is this the case.

    Thanks for your assistance.
    Hector

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Correct formula for a percentage comparison of two fields

    Which value is the starting value?

    Which value is the ending value?

    What do you expect the answers to be?

    Give 3 examples.


    Based on the example you gave initially, I would think -88% is the correct answer, the second value is an 88% drop in value from the first value.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,731

    Re: Correct formula for a percentage comparison of two fields

    do you want the percentage based on a base number of A or B cells

    So if A was 120 and B 100 and you wanted to know the increase from B to A
    then its
    (A-B)/B
    20/100
    =20%

    the difference between B11 & A11 is 290,720
    And so if you divide that by 36,400
    Then its 7.986
    so 798.6%
    which is how much more the figure is
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    11-21-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    8

    Re: Correct formula for a percentage comparison of two fields

    Hello,

    Thank you for your assistance.

    Here are the values:

    #1 Example - B11 = $36,400 A11 = $327,120
    #2 Example - B13 = $8,190,758.13 A13 = $9,165,089.69
    #3 Example - B49 = $6,389,492.47 A49 =$5,270,564.57

    Thanks again.
    Hector

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Correct formula for a percentage comparison of two fields

    My belief is the formula =(B11/A11)-1 is the correct one to use for all examples given.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-21-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    8

    Re: Correct formula for a percentage comparison of two fields

    Thank you for info. This has really helped!

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,731

    Re: Correct formula for a percentage comparison of two fields

    you are welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 02-23-2019, 10:51 AM
  2. [SOLVED] Formula to tally total percentage based on whether or not certain fields are blank
    By Mvaldesi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-29-2016, 11:12 AM
  3. Replies: 4
    Last Post: 08-08-2014, 10:31 PM
  4. [SOLVED] IF Comparison Function Not Returning Correct Data
    By emlit in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-24-2014, 01:44 PM
  5. Help with Price comparison / percentage change...
    By Crispyglock in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2012, 11:19 AM
  6. Comparison:get a correct score
    By :-) in forum Excel General
    Replies: 7
    Last Post: 02-18-2010, 10:12 AM
  7. Formula not showing the correct percentage...
    By Steve-B in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-03-2008, 11:27 AM

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