+ Reply to Thread
Results 1 to 25 of 25

How to calculate amount to come up with percentage

  1. #1
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Question How to calculate amount to come up with percentage

    Can someone help me with a formula for this situation.
    A=1
    B=0
    C=-1
    example:
    if i have 5a, 1b and 2c..what will be the formula for the average.

    and another formula for:

    D= #'s of A for the average to reach 80%
    example:
    *using manual computation*
    5a, 1b and 2c, the average is 37.5%, so how many A do i need to reach 80%?

    I'm just new with Excel, please help.

    Thanks in advance!
    Last edited by pengshue; 07-30-2015 at 02:26 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,660

    Re: Help with making Formula

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  3. #3
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: Help with making Formula

    Update already, sorry just new with the Forum..thanks btw

  4. #4
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: Formula Problem

    kamusta pengshue???
    Last edited by bhenlee; 07-30-2015 at 01:38 PM.
    If I've helped U pls click on d *Add Reputation

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula Problem

    Pengshue, the title should represent something you might enter into a search engine. Something like "Calculating Avg with multiple duplicates" or "How to calculate amount to come up with percentage"
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Formula Problem

    pengshue, welcome to the forum

    "Formula Problem" is hardly any more descriptive of what you want, than "help with making a formula" is

    Think google search terms. Perhaps "how to calc averages from multiple values?"

    edit: ChemistB beat me to it
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: Formula Problem

    thanks for the info guys appreciated.

  8. #8
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to calculate amount to come up with percentage

    kamusta pengshue?

    eto try this formula:

    =IFERROR(COUNTA(A:A)*(80%-AVERAGE(A:A))/(1-80%),0)

    I included the IFERROR statement in case you're already at 80%

  9. #9
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate amount to come up with percentage

    thanks bhenlee :D

  10. #10
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to calculate amount to come up with percentage

    *walang anuman pengshue!!! (*you're welcome)

    if you're satisfied with the resolution please take time to mark this thread as solved & adding a rep to those who've helped you

    ingat pengshue

  11. #11
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate amount to come up with percentage

    I tried it bhenlee, it's not working :D or maybe i did something wrong, not really good at this..

  12. #12
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to calculate amount to come up with percentage

    could you attached a sample file pengshue so i can check..

    in what range are your values entered?

    remember this formula:=IFERROR(COUNTA(A:A)*(80%-AVERAGE(A:A))/(1-80%),0)

    assumes that the values are in column A.

  13. #13
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to calculate amount to come up with percentage

    I'm not sure how you come up with 37.5% with 5,1,2

    With the numbers you want to apply in in B1:B3 and your values in A1:A3

    =SUMPRODUCT(A1:A3,B1:B3)/SUM(B1:B3)

    = 0.78 or 78%?
    Attached Files Attached Files

  14. #14
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to calculate amount to come up with percentage

    attached is a sample file pengshue.

    with your example you will need 17 more a's to meet your target of 80%

    the formula in cell E1 will tell you how many a's you need

    =IFERROR(COUNTA($B:$B)*(80%-AVERAGE($B:$B))/(1-80%),0)

    let me know if it works for you.
    Attached Files Attached Files

  15. #15
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to calculate amount to come up with percentage

    Ahh, c = -1 not 1. Still now I get Average = 0.333 not 0.375. Close but no cigar

  16. #16
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to calculate amount to come up with percentage

    I get 17 for how many additional 1's do you require. Fixed my previous errors.
    With original average in B4, required average in B6 (0.8) and number of previous values in B1:B3

    =(SUM($B$1:$B$3)*(B6-B4)/(1-B6))

    See attached spreadsheet
    Attached Files Attached Files

  17. #17
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to calculate amount to come up with percentage

    weird ChemistB..

    that should be 1,1,1,1,1,0,-1,-1

    and i get 37.5%

  18. #18
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to calculate amount to come up with percentage

    I just read the first post wrong. :/ Now everything matches up with your calculations although I set it up differently

  19. #19
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate amount to come up with percentage

    bhenlee, i saw urs, and it's correct, thanks for it..but this is my file..can you check maybe you can do it here?
    Attached Files Attached Files

  20. #20
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate amount to come up with percentage

    im trying to do it in my file, i think i made something wrong with it.. -_-"

  21. #21
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate amount to come up with percentage

    ChemistB thanks a lot! sorry i was not able to see you post earlier. it did work! thanks man!

  22. #22
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate amount to come up with percentage

    another question bhenlee and ChemistB, why is that when i change the value of A=100 B=0 C=-100, the result for #'s of A is different?

  23. #23
    Registered User
    Join Date
    07-30-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2013
    Posts
    13

    Re: How to calculate amount to come up with percentage

    dont mind it btw, i got it now :D thanks a lot guys!

  24. #24
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to calculate amount to come up with percentage

    Glad you got it working

  25. #25
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to calculate amount to come up with percentage

    thanks for the rep ChemistB

+ 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. Decision-Making Formula
    By andrewc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-20-2013, 07:21 AM
  2. Making a Robust IF then formula
    By wallstreetballa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2013, 02:33 AM
  3. [SOLVED] Making drop-down-box with formula
    By JohnnyWalker in forum Excel General
    Replies: 7
    Last Post: 11-18-2012, 05:43 AM
  4. Making calculate formula.
    By Wicket in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2009, 10:08 AM
  5. Making a formula work across each row!
    By ivygivy in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-19-2009, 09:44 PM
  6. Making a schedule, but need to use a sum formula.???
    By twotaileddemon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2007, 11:11 PM
  7. Making a certain formula
    By DogStar5988 in forum Excel General
    Replies: 5
    Last Post: 08-01-2007, 05:33 AM
  8. Making a formula continuous
    By Neil_Pattison in forum Excel General
    Replies: 4
    Last Post: 10-07-2005, 02:05 PM

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