+ Reply to Thread
Results 1 to 5 of 5

Need a Four-part Conditions Formula

  1. #1
    Registered User
    Join Date
    08-13-2015
    Location
    London
    MS-Off Ver
    14.3.8
    Posts
    10

    Question Need a Four-part Conditions Formula

    Trying to find a formula that changes depending on a (A2) cell's percentage. I have tried for hours and still no luck. I have Excel version 14.3.8 from 2011 version on a MAC. The formula for a three part version of this is =IF(A2<33%, "LOW",IF(A2<67%,"MED","HIGH")). Here are the rules and conditions I would like:

    1) When A2 < 33% - "LOW"
    2) When 33% =< A2 =< 49% - "LOW-MED"
    3) When 49% < A2 < 67% - "HIGH-MED"
    4) When A2 >= 67% - "HIGH"


    Please let me know the formula to use and how to set the conditions so that they can appear on multiple sheets.

    Thanks,

    Alex

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,440

    Re: Need a Four-part Conditions Formula

    Hi,

    The following assumes that A2 is a number with percentage numbering, and not text

    =INDEX({"LOW","LOW-MED","HIGH-MED","HIGH"},MATCH(A2,{0,0.33,0.49,0.67},1))

    If A2 contains text this should work:

    =INDEX({"LOW","LOW-MED","HIGH-MED","HIGH"},MATCH(VALUE(A2),{0,0.33,0.49,0.67},1))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    08-13-2015
    Location
    London
    MS-Off Ver
    14.3.8
    Posts
    10

    Question Re: Need a Four-part Conditions Formula - with conditions

    Hello sweep,

    This is exactly what I wanted, so thank you. Do you know how to make it so that these text results (LOW, LOW-MED, etc) come up with each in a specific font, colour and size whenever the formula is pasted in an Excel spreadsheet? I would like to add it to multiple docs if possible, I believe it involves setting conditions.

    Looking for something like this:
    LOW
    MED-LOW
    MED-HIGH
    HIGH


    Thanks!
    Last edited by AlexNsvc; 08-13-2015 at 10:38 AM.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,062

    Re: Need a Four-part Conditions Formula

    Check out Condtional Formatting
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Registered User
    Join Date
    08-13-2015
    Location
    London
    MS-Off Ver
    14.3.8
    Posts
    10

    Re: Need a Four-part Conditions Formula

    Hello Special-K,

    I have played around with conditional formatting, the only issue is I can't seem to find a way to have it formatted how I want because the text characters are the same in a few cells (the LOW cell colour automatically carries over to the MED-LOW cell). As well, I am unable to change the font size and font style in conditional formatting as it is greyed out. But I can choose to bold the font. Can anyone provide a solution for this?

    Looking for something like this:
    LOW
    MED-LOW
    MED-HIGH
    HIGH


    Thanks!

+ 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: 1
    Last Post: 02-09-2015, 09:52 AM
  2. [SOLVED] Sumifs formula giving #value even though each part individually works as a sum formula
    By carrach in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2015, 10:34 AM
  3. Replies: 7
    Last Post: 02-03-2013, 06:25 PM
  4. [SOLVED] Part name part formula?
    By Dibbley247 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-27-2013, 03:50 PM
  5. Replies: 3
    Last Post: 09-26-2012, 04:29 PM
  6. Removing part of a formula which is identical in same formula in 100s of cells
    By GarryS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2012, 03:15 AM
  7. Replies: 1
    Last Post: 07-20-2006, 03:05 PM

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