+ Reply to Thread
Results 1 to 7 of 7

another vlookup q

  1. #1
    Registered User
    Join Date
    06-28-2007
    Posts
    69

    another vlookup q

    I am trying to create a formula in a single cell using VLOOKUP based on 2 separate sets of criterea. Basicall what I would like to accomplish is that if a cell returns "#N/A", then use the next piece of data to fulfill the vlookup.

    In the example attached, the info in the "data to pull from" area contains partial info. The formula should be entered into C3. Hope this makes since on this fine Friday.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I guess you can't use the names to find the matches?

    If not, then maybe this is what you mean?

    In C3, copied down:

    Please Login or Register  to view this content.
    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
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Or you can try:

    Please Login or Register  to view this content.
    Last edited by corinereyes; 09-28-2007 at 11:40 AM.
    Corine

  4. #4
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Or you can try:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by corinereyes
    Or you can try:

    Please Login or Register  to view this content.
    Then why not just lookup B3 in the table in the first place.... it seems to me the OP doesn't want to depend on column B entries (perhaps because of possibility of duplicates?).

  6. #6
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi NBVC,

    (perhaps because of possibility of duplicates?).
    Yeah, but i test, its not working if there's a duplicate name.

    Should try a different approach.

    Thanks !
    Last edited by corinereyes; 09-28-2007 at 12:04 PM.

  7. #7
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    If ever there's a duplicate name, you can try this formula, if there's a no match, it will return blank.

    On c3:

    Please Login or Register  to view this content.
    Formula should be in array CTRL+SHIFT+ENTER, formula will be enclosed with brackets {}.

    some formula based from master Rylo's example
    Last edited by corinereyes; 09-28-2007 at 01:34 PM.

+ 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