cvincent
Board Regular
- Joined
- Aug 28, 2011
- Messages
- 66
I need some assistance please with a table lookup, wherein I need to lookup the value in column 1, and the value in column 5, and find the match in another table. I think this would be an INDEX and/or MATCH, but I can't seem to get it to work. Any assistance would be much appreciated.
Example:
Table 1 Col A Col B Col C Col D Col E Col F
Code Amt Class Type Payor
112 $1 Ins Y A
114 $5 Med W C
Table 2 Code Payor A Payor B Payor C Payor D Payor E
112 $20 $30 $25 $10 $15
114 $40 $50 $60 $35 $40
I need a formula in Table 1, Col F, that looks at the Code in Table 1, Col A, AND the Payor for that code in Col D, and returns the amount from Table 2 that matches that Code and Payor
i.e. In table 1, first row - Column F would return $20, second row would return $60.
Thank you.
Example:
Table 1 Col A Col B Col C Col D Col E Col F
Code Amt Class Type Payor
112 $1 Ins Y A
114 $5 Med W C
Table 2 Code Payor A Payor B Payor C Payor D Payor E
112 $20 $30 $25 $10 $15
114 $40 $50 $60 $35 $40
I need a formula in Table 1, Col F, that looks at the Code in Table 1, Col A, AND the Payor for that code in Col D, and returns the amount from Table 2 that matches that Code and Payor
i.e. In table 1, first row - Column F would return $20, second row would return $60.
Thank you.