+ Reply to Thread
Results 1 to 6 of 6

Populate Table 1 based on values in Table 2

Hybrid View

  1. #1
    Registered User
    Join Date
    10-18-2007
    Posts
    9

    Bump Populate Table 1 based on values in Table 2

    Hello,

    I have attached a sample file to show my problem.

    I need to populate table 1 with a true or false based on the values in table 2.I have tried using a VLookup but it only retrieves the first value or first occurence.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517

    The old SUMPRODUCT trick

    It's amazing how often this little gem appears in this forum.

    Assume your table 2 is in A2:B11

    Your table 1 has a to g in cells D1 to J1 and 1 to 10 in C2 to C11.
    Set D2 : =NOT(NOT(SUMPRODUCT(-($A2=$C2),-(D$1=$B2))))
    Replicate through the rest of the table.

    This uses the fact that TRUE = 1 and FALSE = 0 ...

    Mark.

  3. #3
    Registered User
    Join Date
    10-18-2007
    Posts
    9
    Thanks,

    Problem Solved

+ 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