Question : why both "lookup" and "match" function in Excel were not working on my case

I need bring the matched text from cells C33-C50 in File A to cells C33-C50 in File B based on matching cells DA33-DA50 in both files.
on C33 in File A, I used the following formular and none worked.
 LOOKUP(DC33,[FileB]DC$33:$DC$50,[FileB]$F$33:$F$52)
 or MATCH(DC33,[FileB]DC$33:$DC$50,[FileB]$F$33:$F$52)
Please help.

Answer : why both "lookup" and "match" function in Excel were not working on my case

LOOKUP isn't normally suitable for exact matches, use INDEX/MATCH, i.e.

=INDEX(sheet2!$F$33:$F$52,MATCH(DC33,sheet2!DC$33:$DC$50,0))

Insert file names as necessary

regards, barry

Random Solutions  
 
programming4us programming4us