+ Reply to Thread
Results 1 to 4 of 4

FORMULA for returning a text value if greater than but less than...

  1. #1
    Registered User
    Join Date
    10-30-2020
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    1

    FORMULA for returning a text value if greater than but less than...

    I need a formula that will take a figure from the cell on the left and automatically populate the next cell with "Low Risk", "Moderate Risk", "High Risk" or "Extreme Risk" based on the the below values:

    1 - 3 Low Risk
    4 - 6 Moderate Risk
    8 -12 High Risk
    15 - 25 Extreme Risk

    For example - if cell A1 is >1 but <3, then "low risk", >4 but <6, then "moderate risk", >8 but <12 then "high risk", >15 but <25 , then "extreme risk".

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: FORMULA for returning a text value if greater than but less than...

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But, it has to be said, your risk ranges have gaps ... this doesn't.

    If you are ok with the gaps, maybe:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: FORMULA for returning a text value if greater than but less than...

    Try:
    =IF(OR(A1>6,A1<8,A1>25),"No gap",LOOKUP(A1,{1,3.1,8.1,12.1},{"Low","Moderate","High","Extream"}&" risk"))
    Quang PT

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: FORMULA for returning a text value if greater than but less than...

    @bebo: assuming the risk values are integer, you could probably just use =7 or > 25. Otherwise, I think you need to AND the A1>6,A1<8.

+ 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: 2
    Last Post: 08-27-2020, 03:47 PM
  2. [SOLVED] IF greater than function not returning expected result
    By robbo1172 in forum Excel General
    Replies: 3
    Last Post: 09-29-2018, 10:07 AM
  3. Replies: 6
    Last Post: 08-23-2018, 10:26 PM
  4. [SOLVED] Formula for if B4 = TEXT ´CT` and If M4 is greater than 0 than C4=M4?
    By Mr.Castle in forum Excel General
    Replies: 2
    Last Post: 08-23-2018, 02:54 PM
  5. Returning the Greater Value
    By pluto_ljd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-08-2017, 11:36 AM
  6. [SOLVED] Returning Text with Multiple Criteria (Including greater than/less than)
    By freybe06 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-22-2014, 11:38 AM
  7. Returning 'greater than' from an array
    By fkalinx in forum Excel General
    Replies: 1
    Last Post: 07-03-2014, 07:09 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