+ Reply to Thread
Results 1 to 3 of 3

Search Sequential Rows

  1. #1
    Registered User
    Join Date
    04-12-2007
    Location
    New York, NY
    Posts
    38

    Search Sequential Rows

    On sheet1 of the attached example, I am trying to get column C to return the first value found in columns D though G on the "data" tab. "data" will be a list of securities and D through G are the identifiers associated with it but they are not always consistently populated. In sheet1 column E, I have a formula that will produce a result based on what is returned in column C.

    How can i get the results to return in order, as in if 'data'D1 has a value then that will be returned and if not it will continue to search the next column and so forth until a value is found? Any help is appreciated.
    Attached Files Attached Files
    Last edited by PBROW; 06-15-2010 at 12:56 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Search Sequential Rows

    Try:

    =INDEX(data!$D2:$G2,MATCH(TRUE,INDEX(data!$D2:$G2<>"",0),0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-12-2007
    Location
    New York, NY
    Posts
    38

    Re: Search Sequential Rows

    awesome, works perfectly! thanks!

+ Reply to 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