+ Reply to Thread
Results 1 to 21 of 21

Auto Percentage %

  1. #1
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Auto Percentage %

    Dears,

    If I have the below rating,


    Outstanding
    Excellent
    V.Good
    Good
    Need Improvement
    Poor

    And I rank the above rating based on the below percentages,

    0 -10%
    11 - 20%
    21- 30%
    31 - 50%
    51 - 80%
    81 - 100%

    How can automate excel to show Outstanding in a specific cell when the rating cell is between 0-10% and so on?


    Thank you very very much.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Auto Percentage %

    =LOOKUP(A1,{0,0.11,0.21,0.31,0.51,0.81},{"Outstanding","Excellent","V.Good","Good","Need Improvement","Poor"})
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: Auto Percentage %

    =if(A1<=10,6,if(A1<=20,5,if(A1<=30,4,if(A1<=50,3,if(A1<=80,2,1)))))

    Try this function it will work but you have to put percentage values in A1 cell

    _______________________________________________________________________________________
    Please click * to say thank You

  4. #4
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    Thank you very much, its working

    is there a way to modify the formula and automatically insert the word outstanding with bold?

  5. #5
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    Thank you very much, its working

    is there a way to modify the formula and automatically insert the word outstanding with bold?

  6. #6
    Registered User
    Join Date
    08-24-2013
    Location
    INDIA
    MS-Off Ver
    MS OFFICE 2010
    Posts
    2

    Re: Auto Percentage %

    thnx its outstanding

  7. #7
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Auto Percentage %

    Use Conditional Formatting, create a 'New Rule', select the last option 'use a formula to determine which cells to format', type in this formula =B1="Outstanding" (or wherever cell the result for the formula is) then click on 'Format' and in the 'Font' tab, select 'Bold' under 'Font Style' - click 'OK'

  8. #8
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    Thanks,

    lets make more complicated.

    lets say I need to evaluate performance and I need to say,

    If Error % is 0-10% it will = "Outstanding" and if customer files quality = "Outstanding" then the overall ranking ="Outstanding"

    and so on for lower grades and percentages. I think it will be too complicated.

  9. #9
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Auto Percentage %

    Hi Vitorio,

    If you click on Conditional Formatting, then select "New Rule" and the 'New Formatting Rule' dialog box opens and here you can see see 'Select a Rule Type' and without doing anything more look at the standard options and what you are wanting to do can be accomplished using these options - have a play!

  10. #10
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    Thank you for your kind help.

    Appreciate it


    I have missed something that is quite important. The formula is working great to insert a text like 'outstanding' when the percentage is 0%. however, if there is no accounts opened I need the text to 'N/A'.

    I have a column that contains number of accounts opened, Another that contains number of wrong records, third that contains the percentage error rate and finally the column where the text will be inserted automatically. if there is Zero number of account opened, that the final cell should contains N/A


    how can i add that please?

    Thank you

  11. #11
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    I tried using conditional formatting but i could not find the option im looking for.

  12. #12
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Auto Percentage %

    Viitorio may i suggest you upload a smaple of the problem you are having.

  13. #13
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    I have used this formula to get the auto text

    =LOOKUP(A1,{0,0.11,0.21,0.31,0.51,0.81},{"Outstanding","Excellent","V.Good","Good","Need Improvement","Poor"})

    it is like this
    http://img202.imageshack.us/img202/6400/b1i9.jpg


    Thank you for your help

  14. #14
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Auto Percentage %

    Quote Originally Posted by Ursul View Post
    Viitorio may i suggest you upload a smaple of the problem you are having.
    Please upload a sample book! that would be handy to work

  15. #15
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Auto Percentage %

    Quote Originally Posted by Ursul View Post
    Viitorio may i suggest you upload a smaple of the problem you are having.
    Please upload a sample book! that would be handy to work

  16. #16
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    please find the attached sample
    Attached Files Attached Files

  17. #17
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Auto Percentage %

    So you wanted "Outstanding" bold is that right?

    See attached: OUTSTANDING - FORMAT.xlsx

  18. #18
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    and to insert N/A in percentage ranking when there are no accounts opened.

  19. #19
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Auto Percentage %

    Why would there be no accounts open??

    Anyway have a look, I changed the formula so that if there is nothing i.e. blank in col A then the formulae in columns C & D give no results. See A13 is blank hence no results in that row.

    OUTSTANDING - FORMAT.xlsx

  20. #20
    Registered User
    Join Date
    08-04-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Auto Percentage %

    Thanks for your help, I really appreciate it.

    I need to have ZERO accounts opened because I'm rating bank branches toward opening new customer accounts. It happens that some branches does not get a single customer account during the report period which means the value has to be zero in the report (where it says account opened). In such scenario I need the formula to check that if account opened are Zero, then the rating will be N/A. otherwise it is going to be outstanding because there is not errors and that's wrong and not fare to other branches.

    Thanks again for your help, you are very kind.

  21. #21
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Auto Percentage %

    Vitorio you are more than welcome and thanks for the feedback

+ 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. auto generate based on percentage?
    By tondrey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-12-2010, 03:38 PM
  2. Auto Complete/Auto Percentage Formulas
    By AgentDirtySanchez in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-08-2010, 09:49 PM
  3. Auto Complete/Auto Percentage Formulas
    By AgentDirtySanchez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2010, 03:11 PM
  4. auto-calculate percentage formula
    By Jeebs in forum Excel General
    Replies: 2
    Last Post: 07-03-2008, 02:54 PM
  5. Auto Calculate new total when changing a percentage
    By DrEvilAces in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-28-2007, 09:37 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