View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Damien Damien is offline
external usenet poster
 
Posts: 42
Default Index and Match Functions

Good Morning All,

I have read some peoples suggestions as to how to lookup a value based on
two or more criteria using a combination of INDEX and MATCH fuctions. I have
tried to repicate this myself however my fuctions always return a #NA error.
Below is the data and function as it appears normally and under that is the
same range, showing the formula. I am try to match a model and a serial and
return the result (WO or R). I can't see why this formula isn't working, as
far as I've seen its should work on a combination of letters and numbers. If
anyone can see how to correct this could you please let me know.

Unit Serial Result Find Unit Find Serial Produce Result
AOT24RZAL T006183 WO AOT24RZAL T007509 #N/A
AOT24RZAL T005294 R AOT24RZAL T006183 #N/A
AOT24RZAL T007509 WO AOT24RZAL T005294 #N/A

Unit Serial Result Find Unit Find Serial Produce Result
AOT24RZAL T006183 WO AOT24RZAL T007509
=INDEX(C29:C31,MATCH(D29&E29,A29:A31&B29:B31,0))
AOT24RZAL T005294 R AOT24RZAL T006183
=INDEX(C29:C31,MATCH(D30&E30,A29:A31&B29:B31,0))
AOT24RZAL T007509 WO AOT24RZAL
T005294 =INDEX(C29:C31,MATCH(D31&E31,A29:A31&B29:B31,0))