How to calculate percentage in Excel - formula examples

In this tutorial, you will lean a quick way to calculate percentages in Excel, find the basic percentage formula and a few more formulas for calculating percentage increase, percent of total and more.

Calculating percentage is useful in many areas of life, whether it is restaurant tipping, reseller commission, your income tax or interest rate. Say, you've been lucky enough to get a 25% off promotion code on a new plasma TV. Is this a good deal? And how much will you eventually have to pay?

In this tutorial, we are going to explore a few techniques that will help you efficiently calculate percent in Excel and learn the basic percentage formulas that will take the guesswork out of your calculations.

Percentage basics

The term "per cent" is derived from the Latin per centum, meaning "by the hundred". As you probably remember from high school math class, a percentage is a fraction of 100 that is calculated by dividing the numerator by the denominator and multiplying the result by 100.

The basic percentage formula is as follows:

(Part/Whole)*100 = Percentage

For example, if you had 20 apples and you gave 5 to your friends, how much did you give, percentage wise? By performing a simple calculation =5/20*100 you get the answer - 25%.

This is how you normally calculate percentages in school and everyday life. Computing percentage in Microsoft Excel is even easier since Excel performs some operations for you automatically, in the background.

Regrettably, there is no universal Excel formula for percentage that would cover all possible scenarios. If you ask someone "Which percent formula do I use to get the result I want?", most likely, you will get an answer like "Well, that depends on what exactly result you want to achieve."

So, let me show you a few simple formulas for calculating a percent in Excel such as a percentage increase formula, a formula to get percentages of a total and more.

Basic Excel percentage formula

The basic formula to calculate percentage in Excel is this:

Part/Total = Percentage

If you compare it to the basic math formula for percentage, you will notice that Excel's percentage formula lacks the *100 part. When calculating a percent in Excel, you do not have to multiply the resulting fraction by 100 since Excel does this automatically when the Percentage format is applied to a cell.

And now, let's see how you can use the Excel percentage formula on real-life data. Suppose, you have the number of "Ordered items" in column B and "Delivered items" in column C. To find out the percentage of delivered products, perform the following steps:

  • Enter the formula =C2/B2 in cell D2, and copy it down to as many rows as you need.
  • Click the Percent Style button (Home tab > Number group) to display the resulting decimal fractions as percentages.
  • Remember to increase the number of decimal places if needed, as explained in Percentage tips.
  • Done! : )

The same sequence of steps shall be performed when using any other percentage formula in Excel.

In the following example, column D displays a rounded percent of delivered items, without any decimal places showing. Using the basic Excel percentage formula

Calculating percentage of total in Excel

In fact, the above example is a particular case of calculating percentages of a total. Now, let's investigate a few more examples that will help you make quick work of calculating a percent of a total in Excel on different data sets.

Example 1. The total is at the end of the table in a certain cell

A very common scenario is when you have a total in a single cell at the end of a table. In this case, the percentage formula will be similar to the one we've just discussed with the only difference that a cell reference in the denominator is an absolute reference (with $).The dollar sign fixes the reference to a given cell, so that it never changes no matter where the formula is copied.

For example, if you have some values in column B and their total in cell B10, you'd use the following formula to calculate percentages of the total:

=B2/$B$10

You use a relative cell reference to cell B2 because you want it to get changed when you copy the formula to other cells of column B. But you enter $B$10 as an absolute cell reference because you want to leave the denominator fixed on B10 when auto-filling the formula down to row 9.

Tip. To make the denominator an absolute reference, either type the dollar sign ($) manually or click the cell reference in the formula bar and press F4.

The screenshot below demonstrates the results returned by the formula, the Percentages of Total column is formatted as percentage with 2 decimal places showing. Calculating percentage of a total in Excel

Example 2. Parts of the total are in multiple rows

In the above example, suppose you have several rows for the same product and you want to know what part of the total is made by all orders of that particular product.

In this case, you can use the SUMIF function to add up all numbers relating to a given product first, and then divide that number by the total, like this:

=SUMIF(range, criteria, sum_range) / total

Given that column A contains all product names, column B lists corresponding quantities, cell E1 is the name of the product you are interested in, and the total is in cell B10, your real-life formula may look similar to this:

=SUMIF(A2:A9 ,E1, B2:B9) / $B$10 A formula to calculate a percentage of the total when items are in multiple rows

Naturally, you can put the product name directly in the formula, like this:

=SUMIF(A2:A9, "cherries", B2:B9) / $B$10

If you want to find out what part of the total a few different products make, add up the results returned by several SUMIF functions, and then divide that number by the total. For example, the following formula calculates the percent of cherries and apples:

=(SUMIF(A2:A9, "cherries", B2:B9) + SUMIF(A2:A9, "apples", B2:B9)) / $B$10

For more information about the SUM function, please check out the following tutorials:

How to calculate percent difference in Excel

Of all formulas for calculating percentage in Excel, a percent change formula is probably the one you would use most often.

Excel formula for percent increase / decrease

To calculate the percentage of difference between two values A and B, the generic formula is:

Percent Change = (B - A) / A

When applying this formula to real data, it is important that you correctly determine which value is A and which is B. For example, yesterday you had 80 apples and how you have 100, meaning that now you have 20 apples more than before, which is 25% increase. If you had 100 apples and now you have 80, your number of apples has reduced by 20, which is 20% decrease.

Considering the above, our Excel formula for percentage change takes the following shape:

(New Value - Old Value) / Old Value

And now, let's see how you can use this formula for calculating percent difference in your spreadsheets.

Example 1. Calculating percent difference between 2 columns

Suppose you have the last month prices in column B and this month prices in column C. Then your percent change formula takes this form:

=(C2-B2)/B2

To calculate the percent difference between two numbers correctly, carry out these steps.

  1. Enter the formula in any blank cell in row 2, say D2. This will output the result as a decimal number.
  2. Select the formula cell and click the Percent Style button on the Home tab to convert the decimal number to percentage.
  3. Drag the formula down to copy it to the below cells.

As the result, the formula calculates the percentage of change in this month (column C) comparted to last month (column B). Positive percentages that show percentage increase are formatted in usual black, while negative percentages (percent decrease) are formatted in red. To have this done automatically, set up a custom format for negative percentages as explained in this tip. Excel formula to calculate percent change between 2 columns

Example 2. Calculating percentage difference between two numbers

In case you have one column of numbers, say column C that lists weekly or monthly sales, you can calculate the percentage change between the previous week/month and the current one using this formula:

=(C3-C2)/C2

Where C2 and C3 are the numbers you are comparing.

Note. Please pay attention that you should skip the first row with data and put your percent difference formula in the 2nd cell, which is D3 in this example.

To display decimals as percentages, apply the percent format to the cells containing your formula, and you will get the following result: Excel formula to calculate percent change between rows

To calculate the percentage of change between a certain number and all other numbers, fix the address of that cell by using the $ sign, e.g. $C$2.

For instance, to calculates the percent increase / decrease for each month compared to January (C2), the formula in D3 is:

=(C3-$C$2)/$C$2

When copying the formula to the below cells, the absolute reference ($C$2) will remain the same, while the relative reference (C3) will change to C4, C5, and so on based on a relative position of the row where the formula is copied. Calculating a percentage change compared to January

For more formula examples, please see How to calculate percentage change in Excel.

Calculating amount and total by percentage

As you've just seen, calculating percentages in Excel is easy, and so is calculating amounts and totals if you know the percentage.

Example 1. Calculate amount by total and percentage

Suppose you are buying a new laptop for $950 and they charge 11% VAT on this purchase. The question is - how much do you have to pay on top of the net price? In other words, what is 11% of $950?

The following formula will help:

Total * Percentage = Amount

Assuming that the total value is in cell A2 and percent in B2, the above formula turns into a simple =A2*B2 and returns 104.50. Calculating amount by total and percentage

Remember, when you type a number followed by the percent sign (%) in Excel, the number is interpreted as a hundredth of its value. For example, 11% is actually stored as 0.11 and Excel uses this underlying value in all formulas and calculations.

In other words, the formula =A2*11% is equivalent to =A2*0.11. Naturally, you are free to use the decimal number corresponding to the percentage directly in a formula if this works better for your worksheets.

Example 2. Calculating total by amount and percentage

For example, you friend offered you his old computer for $400, which is 30% off the original price. You want to know what the original price was.

Since 30% is the discount, you deduct it from 100% first to know what percentage you actually have to pay (100% - 30% = 70%). Now you need the formula to calculate the original price, i.e. to find the number whose 70% equals 400.

The formula goes as follows:

Amount / Percentage = Total

Applied to real data, it may take any of the following shapes:

=A2/B2

or

=A2/0.7

or

=A2/70% Calculating the total by amount and percentage

Tip. To get an answer to a more difficult question - how to calculate the interest amount of a loan payment knowing an interest rate - check out the IPMT function.

How to increase / decrease a number by percentage

The holiday season is upon us and this indicates a change in your usual weekly spendings. You may want to consider different options to find out your optimum weekly allowance.

To increase an amount by a percentage, use this formula:

= Amount * (1 + %)

For example, to increase the value in cell A1 by 20%, the formula is:

=A1*(1+20%)

To decrease an amount by a percentage:

= Amount * (1 - %)

For instance, to reduce the value in cell A1 by 20%, the formula is:

=A1*(1-20%)

In our example, if A2 is your current expenditures and B2 is the percentage you want to increase or reduce that amount by, here are the formulas you'd enter in cell C2:

Increase by percentage:

=A2*(1+B2)

Reduce by percentage:

=A2*(1-B2) Excel formula to increase a number by percentage

How to increase / reduce an entire column by a percentage

Suppose, you have a column of numbers that you want to increase or reduce by a certain percent, and you want to have the updated numbers in the same column rather than add a new column with the formula.

Here are 5 quick steps to handle this task:

  1. Enter all the numbers you want to increase or decrease in some column, column B in this example.
  2. In an empty cell, enter one of the below formulas:

    Increase by percentage:

    =1+20%

    Reduce by percentage:

    =1-20% A formula to increase an entire column of numbers by a certain percentage

    Naturally, you are free to replace 20% in the above formulas with the percentage you want.

  3. Select the cell with the formula (C2 in our case) and copy it by pressing Ctrl + C.
  4. Select the range of cells you want to change, right click the selection and then click Paste Special… Use Paste Special to increase an entire column of numbers by percentage
  5. In the Paste Special dialog window, select Values under Paste, Multiply under Operation and click OK. In the Paste Special dialog window, select Values under Paste, Multiply under Operation.

And here's the result - all the numbers in column B are increased by 20%: All the numbers in column B are increased by 20%.

In the same fashion, you can multiply or divide a column of numbers by a certain percentage. Simply enter the desired percentage in an empty cell and follow the steps above.

This is how you calculate percentage in Excel. And even if working with percentages has never been your favorite kind of math, by using these basic percentage formulas you can get Excel to do the work for you. That's all for today, thank you for reading!

715 comments

    • I need an Excel formula for this - if i charge 3% for every $10 i loan for 2 weeks, how much will I earn for $200 I loan for 2 weeks

  1. 100×6+1%=606
    How can i get this answer in excel.
    Tell me formula to get this answer.

  2. In Cell B14, calculate the Cost of Sales by multiplying the Sales Amount 60%. (Hint; In your formula, multiply the value in cell B6 times.6.) Copy the Formula to the range C14:E14.

    I'm sorry I am trying to figure this out. Like i know that there is a hint there but at the same time this is my first time doing this. Can someone help me asap before the night is over I would appreciate it

  3. Hello,

    I have to keep track of all the annual training for all the employees. The employess that have finished a training I mark the cell green, and for the training not yet completed I mark the cell red. I want to calculate percentage of green cells. How do I do that?

    Thank you very much!
    Iza

  4. You can use this formula for quick understand:-

    For eg.,

    Given amount is Rs. 18000. Interest 3%.

    Answer = (18000/100*3), is 540.

  5. Dear sir,
    please post easy percentage formula

  6. I have a total increase of 5%. Product A increased by 9%, Product B increased by 7%. How can I tell how much % Product A and B contributed to the overall increase?

  7. i have 14% but i want it to show as -84% what formula do i put it to make it show this?

    • Hi Vicki,

      You probably meant -14%? To reverse the sign, you can simply multiply the value by -1, e.g. =A1*-1

      If you want to reverse the sign in existing cells, you can use the Paste Special function:

      - Enter -1 into any blank cell, and then copy that cell.
      - Select the range of cells where you want to change the sign.
      - Right click the range, select Paste Special > Multiply.

      • sorry i meant i want it to say -86%

  8. Hi,
    if i have number 811 then how to calculate 5.20% out of them.
    Regards,

    Rajeev Mishra

    • Hi Rajeev,

      This is the general formula:
      Total * Percentage = Amount

      In your case, =811*5.2% or =811*0.052

      Either way, the result is 42.172.

  9. i need a percentage of pass + fail. I have 10 tests, 3 pass and 4 fail. What is the % that was tested?

    • Hi Sammy,

      You can use the following simple formula, replace values with corresponding cell references, and apply the percentage formal to the cell with the formula:
      =(3+4)/10

  10. Hi everyone,

    I am building a spreadsheet with a number of columns holding information regarding audits that have been carried out on various establishments. About 10 of the columns will relate to regulatory articles and may or may not have a numerical figure entered in the row to the related establishment. What I want to do is find the percentage of rows within that column that have an entry against the total of audits (number of rows) completed.

    Hope someone can be of help.

    Many thanks.

  11. Hi,
    I want to calculate in percentage the adherence to plan in the work place
    Example 1: Planned 100 CTNS VS actual 90 Ctns = 90%
    Example 2: planned 100 Ctns VS Actaul 110 Ctns = because it was overproduced, i want the formula to calculate the inverse result, no 110%

  12. Hi,

    Hope you can help me on this, I have a spreadsheet with the left and right margins set at 0 and top and bottom set at 0.25. My paper size is 8 1/2x11” Landscape. My work is within the margins but when I do a print screen it shows 2 pages to print. The second page is blank. I am not sure way this happens.

    Thanks

  13. What a great article. As an example I would like to track percentage of sales Ytd vs lytd
    Customer x spent 25,000 last year and I have put in a 10% budget increase and this ytd has spent 8,000 what formula would I use to calculate percentage of budget ytd
    Thanks

  14. Hi, I have a question, I am trying to calculate up a percentage and can't figure out the formula… can you help me?
    I have a wholesale price of $25
    I know the retailer wants to make 20%
    How do I calculate the consumer price - but if I times 25x20%, i only get $5, and added to the original $25 is $30. But 20% of $30 is $60. I can't figure out the formula in Excel. Thanks!

    • Karin,
      $5 is 20% of $25.00 total. 20% of $30.00 is $6 not $60.
      (where A1 is the total of $25) you will enter the following in B1 =A1x5%

      • use the * not the x in the cell B1 ...sorry just noted that after it posted.

  15. i wanna buy something..86500 that's the price..but the seller says that he will give me 50% + 20% off..what does it meant?? how much should i pay? n how to make the formula ??

    • Most likely your price is 34600:

      =86500*50%*(100%-20%)
      or
      =86500*0.5*0.8

      But you'd better check with the seller anyway because the offer is not crystal clear...

      • that's the formula i need...thank you very much Ms.svetlana

    • i wanna buy something..62.23 that's the price.and tax price is 12% where as rate is 66.23 how to write a formula on excel ....

  16. i have multiple percentage 50% + 20% off from the price list..how to make the formula to know how much should i pay??..thanks before

    • Hi Ali,

      If you want to calculate the discounted price, you can use a formula similar to this: =A1*(100%-20%)

      Where A1 is the full price and 20% is the discount.

      If you are looking for something different, please clarify.

      • i wanna buy something..86500 that's the price..but the seller says that he will give me 50% + 20% off..what does it meant?? how much should i pay? n how to make the formula ??

  17. I have cells in multiple non-consecutive columns(all on the same row) that I need to total, others identical that I need to total and then find a percentage of the difference between those two totals. IE: Total merits/total demerits= what%.
    The reason is because they are broken down into individual sections(columns) that already display a %, now I need an overall %. Hope that is enough info. Thanks!

  18. I'm try to get an equation like this can you guys for my excel help ..
    Example

    1075*7% + 5% + 70+ 45 +108 =342 .

    In other word

    $1,075 * $75 +$54+70+45+108 =342

  19. Hello, I need some help creating a % increase

    Im looking to have column "F" increased by 12%, so that column "G" shows the product

    I can not seem to get the formula correct.

  20. Hi, I hope you are fine.

    I have cities two month sales and percentage of two months sales. after I want to give 900 TV give form all cities by percentage of sales. when I drag it not show me correct.

    TVGift 900
    City Month1 Month2 Percentage
    Kabul 100,000 490000 20% 184
    Mazar 200,000 490000 41% 75
    Badghis 120,000 490000 24% 18
    Farah 30,000 490000 6% 1
    Helmand 40,000 490000 8% 0
    490,000 100% 278
    In here must be 100% Not correct.

    Best regards

  21. Am very much happy to learn from excel sheet. I do hope to learn more its great helpful to me.

    Kindly also send me thru my email on how to work more on calculating pls

    With regards,

    Henh

  22. If I wanted to get percentage of Pass per month? For example In January with 31 days X person achieved the goal (passed) 18 days which would be 58% percent for January for that person. Any ideas would be appreciated. There are 23 employees being track on one spreadsheet, per day, with a pass or fail grade. I tried a pivot table but its not what I need. Thanks!!!

  23. This is all very helpful. Thanks!

    Column A of per person cost.
    Column B of number of people.
    I need to multiply the per person cost by the number of people. THEN add 8.25% sales tax to the multiplied amount.

    Per Person x number of people + 8.25% sales tax.

    I cannot figure it out for the life of me. Please help.

  24. How can I calculate a percentage of rows for a specific Username (column) that have "Yes" values out of the total number or rows for that same Username to obtain Individual metrics? This is easy to do with a Pivot table and Yes/No fields as distinct columns, but I am trying to find a way to obtain percentages from the source data.

    • Hi Kevin,

      You can use the COUNTIF function to count the "yes" values in a column, and ROWS function to count all cells. And then devide the former by the latter to get a percentage. For example:

      =COUNTIF(A2:A100, "yes")/ROWS(A2:A100)

      If you want to exclude blank cells from the total count, then use COUNTA instead if ROWS:

      =COUNTIF(A2:A100, "yes")/COUNTA(A2:A100)

  25. Hello
    may you please help in my fomulas also
    I need to calculate the outcome for sales people
    the conditions are the following
    Target is 7 811
    Person will receive max 15% in case 100% of target is achieved
    Person will receive zero in case only 85% of target is achived
    Outcome is 7 609, which represents 97.4%
    How much % the person will receive?

    appreciate on your support!

  26. I have a column of discounts that I want to apply to a column of subtotals, but some of the rows contain a 0% (or no) discount. If I apply any of the formulas above, multiplying the subtotal by 0 will result in a total of $0 instead of simply transferring the subtotal into the total column. How do I get around that in Excel?

    I would appreciate any advice you could provide! Thank you!

    • Hi Teresa,

      You can use an IF formula similar to this:

      =IF(B2>0, A2*B2, A2)

      Where A is sub-total and B is discount %.

  27. Ho to calculate current percents??
    750000,how is calculate 750000 current percents?
    Thanks

  28. If my A product is increased by $120,000 but B product is decresed by 10%, how can I write it with only 1 formula as I have to calculate the total amount either by the value or percentage. In other words, no matter i put percentage or value in the column, I still can get the same total amount.

  29. HI,

    HOW TO CALCULATE THE PERCENTAGE OF THE TOTAL MARKS

  30. How do I write a formula that determines that a number is equal to 60% of what number? I need a formula to account for 40% loss. The scenario involvers a withdrawal from a 401(k). I know that if I need $60,000, I must withdraw $100,000 to account for the 40% loss in taxes. How do I write that in a formula?

    • Hi Frank,

      If my understanding is correct you know the amount (60,000) and percentage (60%) and you want to calculate the total. If so, use one of the following formulas:

      =A1/0.6 or =A1/60% where A1 is $60,000

      =A1/B1 where A1 is amount ($60,000) and B1 is percentage (60%)

  31. I want to return a monthly value for fixed starting number that increases at a fixed percentage over a year. Let me show you the example:
    Base number (we'll call it January) = 1,000 (B1)
    Annual Increase = 40% (A1)
    What is the increase in each month Feb- Dec (A2-A12) of the year (expressed as the base + one-twelfth of the percentage? When I do the .40/12 in the formula I come up with 1,434. I think it should be 1,400. (1000 *.4 +1000)

    I'm missing something.

    Thanks!

  32. Hello,
    I want to calculate the following:

    6 = 2014 average (cell C23)
    8 = Jan 15 total (cell D23)
    5 = Feb 15 total (cell E23)

    I need to calculate the % increase/decrease between the 2015 average (8+5/2=6.5) and the 2014 avg (6). Note, I will need to continually update the formula to include future months (cells F23-O23).

    Thanks in advance,
    Mark

  33. How do I add 40% to the first 100 dollars and then 29% after the first 100??

  34. Hello, I am Cambodian, Please help me, How to find average and what is the formula to find it? please :)

    • Hi!

      You can use the AVERAGE function. For example the formula =AVERAGE(A1:A10) returns the average of values in cells A1 through A10.

  35. Thank you for this article
    I am struggling to find out the percentage of my quantitative data,
    I had multiple choose questionnaires from (1 to 5)
    1. I need to find out how many of participants chose number 1, 2, 3, 4,5 to put in table
    2. I need the percentage of each number such is how many participants chose number 3

    This is one example of my questionnaires
    1 never 2 rarely 3 sometimes 4 very often 5 always
    Q1.
    Q2 .
    Q3.

    Thanks in advance

  36. I calculate an agents effectiveness using this formula =(AHT/ agreed AHT)*100. results are either less than or equals to 100. but sometimes i get results over 100. how do i calculate for such agent over 100%?

  37. Thanks for the article, it is very helpful! I am trying to show the percent change between two columns. I am ending up with the correct number, but there is not a '%' How do I get the percent sign to show up? This is the formula I am using; =((C5-B5)/B5)*100 Thanks!

  38. how to know the percentage of a number from within
    e.g 20% is 25% on top
    or 150% is 60% from within what is the formula

  39. My total amount is for example $3500,I want to know the amount of 5.5% including total amount in $3500.When I Add the amount + 5.5% amount it should come =$3500.

    • Hi Muralli,

      If my understanding is correct, you want to calculate 5.5% of the total ammount and then add it to the total. If so, you can use any of the follwoing formulas:

      =3500+(3500*5.5%)
      =A1+(A1*5.5%)
      =A1+(A1*0.055)

      Where A1 is your total ammount.

  40. In my spreadsheet "column C row 9 has $75.00" in column D row 9 I want it show 30% off of the $75.00 with the total being $52.50 in column D row 9. How do i enter that formula

    Thank you

      • Thank you

        How did you get that number because I also now have to but in that column in different rows 15% 25%.

        Jeff

        • Just subtract it from 100%. For example, 100% - 15% = 85% or 0.85 in the decimal form.

  41. how to use if i give 12 pieces of item to shop keeper so i put 12 item then auto it increase 1 item in scheme if i put 24 item then auto it increase 2 item in scheme.

  42. %GE OF SERVICE TAX IN DIFFERENT PERIODS.
    PLEASE HELP ME, HOW TO WRITE FORMULA IN EXCEL SHEET
    REGARDS
    T K MITRA

  43. HOW TO CALCULATE SERVICE TAX IN THREE DIFFERENT PERIODS, E.G.

    DATES : 31/12/13 = 31/12/13 : 12.36%, >= 01/04/2015 : 14%

    PL. WRITE THE FORMULA IN EXCEL SHEET

    REGARDS

  44. How to use absolute cell references as necessary so that you can copy the formula, in cell G4, construct a formula to calculate the Percent of Total Sales for the first region. Copy the formula down for the remaining regions.

  45. Please can you help?
    I need an efficient workaround to discount a select group of products (given in a table with the percentage to reduce/increase price) from a huge database of products (given in a seperate list). the result should be updated prices for those products which should be discounted and all other product prices not affected by discount to remain the same.

  46. =IF(ISERROR((($K7+$M7)/$I7)),0,(($K7+$M7)/$I7))

    Please explain what this formula means.... I think my percentages are not calculating correctly.

    • it means you've put to many nested if's in your formula.

  47. Hello ,
    I need to make an excel sheet for my rate reference to update prices.
    in the first column i would have the net rate ( different base rates) and next column i need to add say 10 % to the net rate of the first column and in the third column i need 15 % of the net rates given in the first column .
    how can i do this ?? Hope u understand
    I only need to get different percentage of the net prices fixed in column one .

    • Hello George,

      Please enter these formulas into the 2nd cell of each column and then copy and paste them across the columns:

      Second column
      =A2*110%

      Third column
      =A2*115%

      Insert these formulas and then copy/paste them down across columns.

  48. Hie

    Let say .. i have 10 customer. Total Sales : $1,000

    Customer A : $100 ; Total contribution : 10%
    Customer B : $200 ; Total contribution for A + B = 30%
    Customer C : $100 ; Total contribution for A + B + C = 40%

    How to do i do the % contribution in formula ?

  49. Hi there,

    I want to calculate a percentage of the number of "Yes" response of the total given the option of three - yes, No amd Inappropriate.

    How will I calculate the % of how many responses are "YES" out of the three responses

    Please Help

    • Hi Priyanka,

      I believe the COUNTIF function may help:
      =COUNTIF(A1:A10, "yes")/10

      Where A1:A10 are the cells with responses and 10 is the total number of cells.

      After entering the formula, remember to click the Percent Style icon on the ribbon (Home tab > Number group) to display the result as percentage.

      • Svetlana,
        How about if the column from which the formula is pulling continuously grows? the "/10" portion of the formula would have to be altered to match the ever-changing number of cells. Can the formula be set to match the total number of cells in the column?
        I know you could do (A1:A99999), and that would take care of the first part of the formula, but if there's a way to make the "divide by" value equal the number of "active" cells, that would be great!

        • Hi Kyle,

          You can use COUNTA to get the total count of non-blank cells, like this:
          =COUNTIF(A1:A99999, "yes")/COUNTA(A1:A99999)

      • Hi Svetlana,

        I am currently using the following percentage formula for calculating "Yes" vs "No" but not including the blanks.

        =IFERROR(COUNTIF(C12:ZZ12,"Yes")/COUNTA(C12:ZZ12),"")

        I am trying to add a third option of "Maybe" that I want to be counted as a "Yes" in the percentage. Any thoughts would be helpful as I am running out of ideas.

      • I need to formula to check if current "Yes" survey response is 71% for X number of responses how many more "Yes"survey responses will I need to get the score of 80%

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)