Closed Thread
Results 1 to 2 of 2

help with a tough formula

  1. #1
    Registered User
    Join Date
    07-25-2008
    Location
    kendall, ny
    Posts
    12

    help with a tough formula

    I am using this code to referance a list of values:

    =IF(INDEX(Sheet1!C5:C24,MIN(IF(ISERROR(MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0)),"",MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0))))=0,"",INDEX(Sheet1!C5:C24,MIN(IF(ISERROR(MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0)),"",MATCH({"Break","Lunch","whatever"},Sheet1!D5:D24,0)))))

    Code works great but I need to use it repeatedly. Is there a way to get it to skip the value the previous ones found?

    So if the fisrt one found "Break" then the second one will ignore that and only look for the others. It needs to go by what the first one found too. So if the first one found "Lunch" then the second will still try to find "Break" and only ignore "Lunch".

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Please read the Forum Rules about thread titles, and then start a new thread with an appropriate title.

Closed Thread

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