Results 1 to 11 of 11

Lookup 2 values to return 1 value

Threaded View

  1. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    See attached... I just converted column B in Sheet A by selecting the column and going to Data|Text to Columns and clicking Finish.

    When you first enter the formula in G8, confirm it with CSE keys and then copy it across (and down).

    Note: To get rid of those ugly #N/A formulas, use an error trap...

    Replace formula in G8 with:

    =IF(ISNUMBER(MATCH(1,IF(A!$A$2:$A$83=$B8,IF(A!$B$2:$B$83=G$6,1)),0)),INDEX(A!$H$2:$H$83,MATCH(1,IF(A!$A$2:$A$83=$B8,IF(A!$B$2:$B$83=G$6,1)),0)),"")
    and then reconfirm it with CSE keys and then copy across and down.
    Attached Files Attached Files

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