Hello Everyone,
I am stuck on figuring out how to make this work. I have a huge worksheet to populate from essentially a giant table with multiple criteria that needs to be checked. I am able to use Index Match to return a value from a column based on multiple criteria but am unable to make one to work for the table across columns. This example will hopefully explain it better, the real table has a lot of different plans and with about 20 columns based on rates. I am moving this data into a format essentially where each row is one of the rates with all of the information behind it. It is about 14k total rows. We are sending our data from an easily read format to their crappy format but we have to do it. I have also used SUMIFS to find the correct code. I essentially want to use a formula that will find match the first 4 rows and then match the column and return the value at that intersection. If not, I have to create 20 different formulas for each column and paste it 1k times. Thank you!
[TABLE="width: 0"]
<tbody>[TR]
[TD]Plan Code
[/TD]
[TD]COA
[/TD]
[TD]Age Group
[/TD]
[TD]Funding
[/TD]
[TD]Base Rate
[/TD]
[TD]Tax Rate
[/TD]
[TD]Rate Range
[/TD]
[TD]IGT Rate
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD] $ 50.00
[/TD]
[TD] $ 3.00
[/TD]
[TD] $ 4.00
[/TD]
[TD] $ 1.50
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Adult
[/TD]
[TD]19 & Over
[/TD]
[TD]Both
[/TD]
[TD] $ 45.00
[/TD]
[TD] $ 3.25
[/TD]
[TD] $ 5.00
[/TD]
[TD] $ 1.25
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]SPD
[/TD]
[TD]All Ages
[/TD]
[TD]Medical
[/TD]
[TD] $ 47.00
[/TD]
[TD] $ 2.39
[/TD]
[TD] $ 6.00
[/TD]
[TD] $ 1.10
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD] $ 48.00
[/TD]
[TD] $ 3.40
[/TD]
[TD] $ 5.50
[/TD]
[TD] $ 1.39
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Adult
[/TD]
[TD]19 & Over
[/TD]
[TD]Both
[/TD]
[TD] $ 49.00
[/TD]
[TD] $ 5.10
[/TD]
[TD] $ 4.50
[/TD]
[TD] $ 1.40
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]SPD
[/TD]
[TD]All Ages
[/TD]
[TD]Medical
[/TD]
[TD] $ 51.00
[/TD]
[TD] $ 4.30
[/TD]
[TD] $ 3.00
[/TD]
[TD] $ 1.50
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD] $ 53.00
[/TD]
[TD] $ 2.50
[/TD]
[TD] $ 3.70
[/TD]
[TD] $ 1.70
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Adult
[/TD]
[TD]19 & Over
[/TD]
[TD]Both
[/TD]
[TD] $ 54.00
[/TD]
[TD] $ 3.80
[/TD]
[TD] $ 4.80
[/TD]
[TD] $ 1.30
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]SPD
[/TD]
[TD]All Ages
[/TD]
[TD]Medical
[/TD]
[TD] $ 55.00
[/TD]
[TD] $ 1.80
[/TD]
[TD] $ 1.50
[/TD]
[TD] $ 1.90
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 0"]
<tbody>[TR]
[TD]Plan Code
[/TD]
[TD]COA
[/TD]
[TD]Age Group
[/TD]
[TD]Funding
[/TD]
[TD]Rate Category
[/TD]
[TD]Rate
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Base Rate
[/TD]
[TD] Formula Here
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Tax Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Rate Range
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]IGT Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Base Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Tax Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Rate Range
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]IGT Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Base Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Tax Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Rate Range
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]IGT Rate
[/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
I am stuck on figuring out how to make this work. I have a huge worksheet to populate from essentially a giant table with multiple criteria that needs to be checked. I am able to use Index Match to return a value from a column based on multiple criteria but am unable to make one to work for the table across columns. This example will hopefully explain it better, the real table has a lot of different plans and with about 20 columns based on rates. I am moving this data into a format essentially where each row is one of the rates with all of the information behind it. It is about 14k total rows. We are sending our data from an easily read format to their crappy format but we have to do it. I have also used SUMIFS to find the correct code. I essentially want to use a formula that will find match the first 4 rows and then match the column and return the value at that intersection. If not, I have to create 20 different formulas for each column and paste it 1k times. Thank you!
[TABLE="width: 0"]
<tbody>[TR]
[TD]Plan Code
[/TD]
[TD]COA
[/TD]
[TD]Age Group
[/TD]
[TD]Funding
[/TD]
[TD]Base Rate
[/TD]
[TD]Tax Rate
[/TD]
[TD]Rate Range
[/TD]
[TD]IGT Rate
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD] $ 50.00
[/TD]
[TD] $ 3.00
[/TD]
[TD] $ 4.00
[/TD]
[TD] $ 1.50
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Adult
[/TD]
[TD]19 & Over
[/TD]
[TD]Both
[/TD]
[TD] $ 45.00
[/TD]
[TD] $ 3.25
[/TD]
[TD] $ 5.00
[/TD]
[TD] $ 1.25
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]SPD
[/TD]
[TD]All Ages
[/TD]
[TD]Medical
[/TD]
[TD] $ 47.00
[/TD]
[TD] $ 2.39
[/TD]
[TD] $ 6.00
[/TD]
[TD] $ 1.10
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD] $ 48.00
[/TD]
[TD] $ 3.40
[/TD]
[TD] $ 5.50
[/TD]
[TD] $ 1.39
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Adult
[/TD]
[TD]19 & Over
[/TD]
[TD]Both
[/TD]
[TD] $ 49.00
[/TD]
[TD] $ 5.10
[/TD]
[TD] $ 4.50
[/TD]
[TD] $ 1.40
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]SPD
[/TD]
[TD]All Ages
[/TD]
[TD]Medical
[/TD]
[TD] $ 51.00
[/TD]
[TD] $ 4.30
[/TD]
[TD] $ 3.00
[/TD]
[TD] $ 1.50
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD] $ 53.00
[/TD]
[TD] $ 2.50
[/TD]
[TD] $ 3.70
[/TD]
[TD] $ 1.70
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Adult
[/TD]
[TD]19 & Over
[/TD]
[TD]Both
[/TD]
[TD] $ 54.00
[/TD]
[TD] $ 3.80
[/TD]
[TD] $ 4.80
[/TD]
[TD] $ 1.30
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]SPD
[/TD]
[TD]All Ages
[/TD]
[TD]Medical
[/TD]
[TD] $ 55.00
[/TD]
[TD] $ 1.80
[/TD]
[TD] $ 1.50
[/TD]
[TD] $ 1.90
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 0"]
<tbody>[TR]
[TD]Plan Code
[/TD]
[TD]COA
[/TD]
[TD]Age Group
[/TD]
[TD]Funding
[/TD]
[TD]Rate Category
[/TD]
[TD]Rate
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Base Rate
[/TD]
[TD] Formula Here
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Tax Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Rate Range
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]IGT Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Base Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Tax Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Rate Range
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]IGT Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Base Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Tax Rate
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]Rate Range
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Child
[/TD]
[TD]Under 19
[/TD]
[TD]Both
[/TD]
[TD]IGT Rate
[/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]