shmiggs_2010
New Member
- Joined
- Jul 2, 2014
- Messages
- 3
I have a workbook that I use as a template to import into a billing program. The only issue with is that the software we use, has its an odd naming protocol for the tax areas. I was able to export all the data into a workbook.
I need a formula that is able to search for the State, then the City, and output the Tax Area. There were a couple of promising solutions but they involved numbers, and unfortunately our software doesn't associate the cities to any numbers.
This is an array formula that I found on exceltactics.com, but it uses a number to output a result.
{=INDEX(A4:C1159,MATCH(1,(A4:A1158=A2)*(B4:B1158=B2),0),4)}
This is a sample of how I have things set up, there are about 2500 rows of cities we bill and would really like a solution. [TABLE="class: outer_border, width: 800"]
<tbody>[TR]
[TD]State (input)[/TD]
[TD]City (input)[/TD]
[TD]Tax Area (result)[/TD]
[/TR]
[TR]
[TD]AL[/TD]
[TD]Auburn[/TD]
[TD]=INDEX(A4:C10,MATCH(1,(A4:A10=A2)*(B4:B10=B2),0),3)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]State (static info)[/TD]
[TD]City (static info)[/TD]
[TD]Tax Rate/Area (static info)[/TD]
[/TR]
[TR]
[TD]AL[/TD]
[TD]AUBURN[/TD]
[TD]AUBURN AL[/TD]
[/TR]
[TR]
[TD]AL[/TD]
[TD]BALDWIN[/TD]
[TD]BALDWIN AL[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]LOS BANO[/TD]
[TD]LOS BANOCA[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]SOUTH SA[/TD]
[TD]SOUTH SACA[/TD]
[/TR]
[TR]
[TD]GA[/TD]
[TD]BALDWIN[/TD]
[TD]BALDWIN GA[/TD]
[/TR]
[TR]
[TD]IA[/TD]
[TD]DES MOIN[/TD]
[TD]DES MOINIA[/TD]
[/TR]
</tbody>[/TABLE]
I hope I explained myself well enough, thank you!
I need a formula that is able to search for the State, then the City, and output the Tax Area. There were a couple of promising solutions but they involved numbers, and unfortunately our software doesn't associate the cities to any numbers.
This is an array formula that I found on exceltactics.com, but it uses a number to output a result.
{=INDEX(A4:C1159,MATCH(1,(A4:A1158=A2)*(B4:B1158=B2),0),4)}
This is a sample of how I have things set up, there are about 2500 rows of cities we bill and would really like a solution. [TABLE="class: outer_border, width: 800"]
<tbody>[TR]
[TD]State (input)[/TD]
[TD]City (input)[/TD]
[TD]Tax Area (result)[/TD]
[/TR]
[TR]
[TD]AL[/TD]
[TD]Auburn[/TD]
[TD]=INDEX(A4:C10,MATCH(1,(A4:A10=A2)*(B4:B10=B2),0),3)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]State (static info)[/TD]
[TD]City (static info)[/TD]
[TD]Tax Rate/Area (static info)[/TD]
[/TR]
[TR]
[TD]AL[/TD]
[TD]AUBURN[/TD]
[TD]AUBURN AL[/TD]
[/TR]
[TR]
[TD]AL[/TD]
[TD]BALDWIN[/TD]
[TD]BALDWIN AL[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]LOS BANO[/TD]
[TD]LOS BANOCA[/TD]
[/TR]
[TR]
[TD]CA[/TD]
[TD]SOUTH SA[/TD]
[TD]SOUTH SACA[/TD]
[/TR]
[TR]
[TD]GA[/TD]
[TD]BALDWIN[/TD]
[TD]BALDWIN GA[/TD]
[/TR]
[TR]
[TD]IA[/TD]
[TD]DES MOIN[/TD]
[TD]DES MOINIA[/TD]
[/TR]
</tbody>[/TABLE]
I hope I explained myself well enough, thank you!