• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Index match across tables

kerstin boelsen

New Member
Hi

I'm trying to create a index match query that matches the employee ID to another table .
The question is "in table 2, which new product (1-5) is mapped as true for each employee ID? return the true value as '1', False value = '0'
i tried this, but failed impressively

if( index match [position ID, postion id column, ] , match NEW_product 1, table 2[#header], 0 ) , 1, 0)


if (employee ID in table 1) is present in Table 2, match the New product cell with a valueTRUE and return '1' in Table 1 in column product change.


is that possible or do I need to go via several formulae?
81740
 

Attachments

  • example.xlsx
    11.1 KB · Views: 5
Last edited:
if you change the title headers to match
try

=IF(INDEX($K$3:$O$7,MATCH($A3,$J$3:$J$7,0),MATCH(B$2,$K$2:$O$2,0)),1,0)

you will get N/A error if id not found
 

Attachments

  • example (1) - ETAF.xlsx
    11.4 KB · Views: 2
Try,

In B3, formula copied across right and down:

=IFERROR(0+INDEX($K$3:$O$7,MATCH($A3,$J$3:$J$7,0),MATCH("new "&B$2,$K$2:$O$2,0)),"")

81742
 
Back
Top