I AM TRYING TO USE VLOOKuP FEATURE TO LOOKUP TWO DIFFERENT CELLS AND PULL OUT VALUE FROM TWO DIFFERENT TABLE. SORRY IF MY EXPLANATION IS NOT CLEAR BUT HERE IS WHAT I AM TRYING TO Do
LOOK UP TABLES:
[TABLE="width: 500"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]TAX RATE[/TD]
[TD]COUNTY[/TD]
[TD]TAX RATE[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]9%[/TD]
[TD]LA[/TD]
[TD]9.25%[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]9.5%[/TD]
[TD]SA[/TD]
[TD]8.5%[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]9%[/TD]
[TD]SB[/TD]
[TD]7.25%[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]10%[/TD]
[TD]OC[/TD]
[TD]8.5%[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]10.5&[/TD]
[TD]SL[/TD]
[TD]8%[/TD]
[/TR]
</tbody>[/TABLE]
CELLS TO MATCH AND MATCH INPUT FROM THE LOOK UP TABLES:
[TABLE="width: 500"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]COUNTY[/TD]
[TD]LA[/TD]
[/TR]
[TR]
[TD]TAX RATE[/TD]
[TD]RETURN VALUE SHOULD BE THE VALUE OF THE CITY WHICH IS %9 AND IGNORE THE COUNTY[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]COUNTY[/TD]
[TD]LA[/TD]
[/TR]
[TR]
[TD]TAX RATE[/TD]
[TD]RETURN VALUE SHOULD BE THE COUNTY BECAUSE THE CITY IS NOT LISTED. VALUE WILL BE %9.25[/TD]
[/TR]
</tbody>[/TABLE]
THANK YOU VERY MUCH
LOOK UP TABLES:
[TABLE="width: 500"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]TAX RATE[/TD]
[TD]COUNTY[/TD]
[TD]TAX RATE[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]9%[/TD]
[TD]LA[/TD]
[TD]9.25%[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]9.5%[/TD]
[TD]SA[/TD]
[TD]8.5%[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]9%[/TD]
[TD]SB[/TD]
[TD]7.25%[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]10%[/TD]
[TD]OC[/TD]
[TD]8.5%[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]10.5&[/TD]
[TD]SL[/TD]
[TD]8%[/TD]
[/TR]
</tbody>[/TABLE]
CELLS TO MATCH AND MATCH INPUT FROM THE LOOK UP TABLES:
[TABLE="width: 500"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]COUNTY[/TD]
[TD]LA[/TD]
[/TR]
[TR]
[TD]TAX RATE[/TD]
[TD]RETURN VALUE SHOULD BE THE VALUE OF THE CITY WHICH IS %9 AND IGNORE THE COUNTY[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]COUNTY[/TD]
[TD]LA[/TD]
[/TR]
[TR]
[TD]TAX RATE[/TD]
[TD]RETURN VALUE SHOULD BE THE COUNTY BECAUSE THE CITY IS NOT LISTED. VALUE WILL BE %9.25[/TD]
[/TR]
</tbody>[/TABLE]
THANK YOU VERY MUCH