+ Reply to Thread
Results 1 to 4 of 4

Formula to Check Values no matter how many, if value exists then return that value.

  1. #1
    Registered User
    Join Date
    11-07-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    3

    Formula to Check Values no matter how many, if value exists then return that value.

    Hi There,

    I have a Risk Matrix which has the Values of "Almost Certain","Likely","Possible","Unlikely" and lastly "Rare".

    I want to check in a range those values in hierarchy and if e.g. "Possible" is there the most then return "Possible".

    Alternatively, in another cell I want to check the same range those values in hierarchy and if e.g. "Possible" is the highest value then return "Possible".

    So far i came up with the following - =IF($J$62:$J$67="Almost Certain","Almost Certain", IF(MATCH("Likely",$J$62:$J$67,0),"Likely", IF(MATCH("Possible",$J$62:$J$67,0),"Possible", IF(MATCH("Unlikely",$J$62:$J$67,0),"Unlikely", IF(MATCH("Likely",$J$62:$J$67,0),"Likely", IF(MATCH("Rare",$J$62:$J$67,0), "Rare","ERROR")))))))

    Problem is I get an error every time?? Any ideas would be awesome for both??

    Thanks!
    Last edited by Bullzye11; 11-07-2018 at 09:58 PM. Reason: SOLVED

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,202

    Re: Formula to Check Values no matter how many, if value exists then return that value.

    Like this:

    =IF(COUNTIF($J$62:$J$67,"Almost Certain")>0,"Almost Certain", IF(COUNTIF($J$62:$J$67,"Likely")>0,"Likely", "next if"))

  3. #3
    Registered User
    Join Date
    11-07-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    3

    Re: Formula to Check Values no matter how many, if value exists then return that value.

    That worked great for the Second scenario!!

    Any thoughts for the first where if "Possible" is return 3/5 times then "Possible"??

    Thanks again AMPhuocam!!!!

  4. #4
    Registered User
    Join Date
    11-07-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    3

    Re: Formula to Check Values no matter how many, if value exists then return that value.

    Quick update, was able to work out the Second scenario.

    =INDEX($J$65:$J$70,MODE(MATCH($J$65:$J$70,$J$65:$J$70,0)))

    Cheers

+ 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. HOW CHECK FILE.NAME HAS EXISTS OR NOT IN FOLDER,if not exists then copy
    By daboho in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2018, 03:50 AM
  2. Replies: 1
    Last Post: 02-06-2015, 02:28 AM
  3. [SOLVED] Modify formula to check if value exists in a different worksheet
    By zigojacko in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2014, 09:25 AM
  4. Replies: 2
    Last Post: 01-21-2013, 12:07 AM
  5. How to Check if exists value and return cell
    By virtualdark in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-15-2011, 08:24 AM
  6. Using a VLOOKUP Formula to Check If a Value Exists
    By skip in forum Tips and Tutorials
    Replies: 2
    Last Post: 07-23-2008, 08:41 PM
  7. check if reference exists, then return its value or return 0
    By doudou in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2005, 03:05 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