Results 1 to 8 of 8

Macro to determine values

Threaded View

  1. #1
    Registered User
    Join Date
    06-08-2009
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Macro to determine values

    I'm using the following formula:
    =IF(ISNUMBER(MATCH(1,IF($A$2:$A$500=A322,IF($L$2:$L$500="Failed",1)),0)),"Failed",IF(ISNUMBER(MATCH(1,IF($A$2:$A$500=A322,IF($L$2:$L$500="Not Completed",1)),0)),"Not Completed","Passed"))

    However, I want to incorporate a couple more things into the formula and can't figure it out. I want the following to happen:
    1) If anything is Failed the result should be Failed
    2) If everything is Passed the result should be Passed
    3) If it's No Run and Passed the result should be Not Completed
    4) If everything is No Run the result should be No Run

    Those are the scenarios that the formula should cover. Any help is greatly appreciated.

    Thanks in advance.
    Last edited by rylo; 06-10-2009 at 06:06 PM.

Thread Information

Users Browsing this Thread

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

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