Closed Thread
Results 1 to 11 of 11

If Formula with Conditional Formating

  1. #1
    Registered User
    Join Date
    06-04-2018
    Location
    Punjab, Pakistan
    MS-Off Ver
    2016
    Posts
    61

    Lightbulb If Formula with Conditional Formating

    Dear Experts,

    I need a if formula that solve my problem with conditional Formatting.
    Like, Production scores reports grading on below Illustration:
    i) less then 33% Grade Result F and showing in red
    ii) 34% to 40% Grade Result E and showing in yellow
    iii) 40% to 50% Grade Result D and showing in Green
    iii) 50% to 60% Grade Result C and showing in Blue
    iv) 60% to 70% Grade Result B and showing in Orange
    v) 70% to 80 % Grade Result A and showing in Orange
    vi) 80% to 100 % Grade Result A+ and showing in orange.

    I need a formula for result (A+, A, B, C, D, E, F) and (color of condition formatting).

    Regards
    Navi_G

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: If Formula with Conditional Formating

    Here is a formula, with your data in A1;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then set conditional formatting based on the letter that is contained as a result of the formula.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,198

    Re: If Formula with Conditional Formating

    Whilst the above works perfectly, this is where people get dragged into nested ifs where a lookup table is simpler.

    =VLOOKUP(A1,{0,"F";0.34,"E";0.4,"D";0.5,"C";0.6,"B";0.7,"A";0.8,"A+"},2)

    or
    =VLOOKUP(A1,A4:B10,2)

    if a4:b10 is
    0 F
    0.34 E
    0.4 D
    0.5 C
    0.6 B
    0.7 A
    0.8 A+

  4. #4
    Registered User
    Join Date
    06-04-2018
    Location
    Punjab, Pakistan
    MS-Off Ver
    2016
    Posts
    61

    Re: If Formula with Conditional Formating

    Please help on Conditional Formatting with Formula....
    Thanks & Regards,
    Navi_G

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,416

    Re: If Formula with Conditional Formating

    Rule 08: Cross-posting Without Telling Us

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question. If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    If you have less than 10 posts, do not try to copy and paste the link. Instead, type the link out in your thread.

    No further help to be offered, please, until the OP has complied with this request.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    06-04-2018
    Location
    Punjab, Pakistan
    MS-Off Ver
    2016
    Posts
    61

    Re: If Formula with Conditional Formating

    Sory for rule violation but i don't know this rule....
    Thanks for guidence and next time i avoide.
    Navi _G
    Last edited by Navi_G; 06-07-2018 at 12:27 AM. Reason: Delete quote.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,416

    Re: If Formula with Conditional Formating

    Unfortunately, this is not enough: you must provide links to where you have asked the same question on other forums. Without these, you will get no further help. Sorry.

    You should always read the rules when you join a forum: you agreed to them on joining!

  8. #8
    Registered User
    Join Date
    06-04-2018
    Location
    Punjab, Pakistan
    MS-Off Ver
    2016
    Posts
    61

    Re: If Formula with Conditional Formating


  9. #9
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: If Formula with Conditional Formating

    Hasn't this already been answered on the other forum?

    You don't say what you've tried from the suggestions, you keep asking what the answer is.

    Specifically Post #2 on the other forum gives you the complete answer.

  10. #10
    Registered User
    Join Date
    06-04-2018
    Location
    Punjab, Pakistan
    MS-Off Ver
    2016
    Posts
    61

    Re: If Formula with Conditional Formating

    ok ok dear i m not read proper rules sorry but i told you i never post duplicate again please close this discussion.....

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,416

    Re: If Formula with Conditional Formating

    Closed at OP's request.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Conditional formating formula with if & and
    By dimitrioskal in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-27-2014, 06:53 AM
  2. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  3. Conditional formating formula
    By paconsta in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2012, 05:14 PM
  4. Conditional formating or formula
    By buckshot in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2010, 09:01 PM
  5. Conditional formating formula
    By jacko311 in forum Excel General
    Replies: 12
    Last Post: 02-02-2010, 12:04 PM
  6. Conditional formating-What formula do i need to use in conditional formating
    By warrima in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2009, 12:33 AM
  7. [SOLVED] Formula for Conditional Formating - Help!
    By Mark Campbell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2006, 03:00 AM

Tags for this Thread

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