Candyland25
New Member
- Joined
- Dec 2, 2016
- Messages
- 33
Hello,
I am trying to lookup a data from table 1 to table 2 however, the vlookup is not matching locations and picking up the first role it finds: See below:
Column A Column B Column C Column D Column E Column F Column G Column H
[TABLE="width: 638"]
<colgroup><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"] Austin[/TD]
[TD="colspan: 3"]Austin, Hill[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]75th[/TD]
[TD]80th[/TD]
[TD]90th[/TD]
[TD]75th[/TD]
[TD]80th[/TD]
[TD]90th[/TD]
[/TR]
[TR]
[TD]Austin[/TD]
[TD]Program Analyst, Expert[/TD]
[TD="align: right"]125000[/TD]
[TD="align: right"]135000[/TD]
[TD="align: right"]135500[/TD]
[TD="align: right"]125200[/TD]
[TD="align: right"]135300[/TD]
[TD="align: right"]135900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD="align: right"]145000[/TD]
[TD="align: right"]155000[/TD]
[TD="align: right"]155500[/TD]
[TD="align: right"]145100[/TD]
[TD="align: right"]155500[/TD]
[TD="align: right"]155900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Analyst, Senior[/TD]
[TD="align: right"]125000[/TD]
[TD="align: right"]135000[/TD]
[TD="align: right"]135500[/TD]
[TD="align: right"]125500[/TD]
[TD="align: right"]135000[/TD]
[TD="align: right"]135900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Business Analyst[/TD]
[TD="align: right"]115000[/TD]
[TD="align: right"]120000[/TD]
[TD="align: right"]120500[/TD]
[TD="align: right"]115200[/TD]
[TD="align: right"]120500[/TD]
[TD="align: right"]120700[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD="align: right"]149200[/TD]
[TD="align: right"]157300[/TD]
[TD="align: right"]157500[/TD]
[TD="align: right"]149500[/TD]
[TD="align: right"]157000[/TD]
[TD="align: right"]157500[/TD]
[/TR]
</tbody>[/TABLE]
Column A Column B Column C Column D
[TABLE="width: 300"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 382"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Table 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Percentile [/TD]
[TD] Range
[/TD]
[/TR]
[TR]
[TD]Austin[/TD]
[TD]Program Analyst, Expert[/TD]
[TD]75th[/TD]
[TD="align: right"]125000[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD]90th[/TD]
[TD="align: right"]155900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Analyst, Senior[/TD]
[TD]75th[/TD]
[TD="align: right"]125500[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Business Analyst[/TD]
[TD]80th[/TD]
[TD="align: right"]120500[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD]80th[/TD]
[TD="align: right"]155500[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This is my formula for Table two cell (125000)
=IF(AND($C15=$C$3,$A15=$C$2),VLOOKUP($B15,$B$2:$H$8,2,0),IF(AND($C15=$D$3,$A15=$C$2),VLOOKUP($B15,$B$2:$H$8,3,0),IF(AND($C15=$E$3,$A15=$C$2),VLOOKUP($B15,$B$2:$H$8,4,0),IF(AND($C15=$F$3,$A15=$F$2),VLOOKUP($B15,$B$2:$H$8,5,0),IF(AND($C15=$G$3,$A15=$F$2),VLOOKUP($B15,$B$2:$H$8,6,0),IF(AND($C15=$H$3,$A15=$F$2),VLOOKUP($B15,$B$2:$H$8,7,0)))))))
The issue is Program Manager listed with 155500 is wrong because it should be 157300 since the location is "Austin, Hill" at 80th percentile listed in table 1. How do I Vlookup to lookup Role based on Location and Percentile?
I also tried index and match formula but that didn't work.
Thank you all of your help.
Thank you
I am trying to lookup a data from table 1 to table 2 however, the vlookup is not matching locations and picking up the first role it finds: See below:
Column A Column B Column C Column D Column E Column F Column G Column H
[TABLE="width: 638"]
<colgroup><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"] Austin[/TD]
[TD="colspan: 3"]Austin, Hill[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]75th[/TD]
[TD]80th[/TD]
[TD]90th[/TD]
[TD]75th[/TD]
[TD]80th[/TD]
[TD]90th[/TD]
[/TR]
[TR]
[TD]Austin[/TD]
[TD]Program Analyst, Expert[/TD]
[TD="align: right"]125000[/TD]
[TD="align: right"]135000[/TD]
[TD="align: right"]135500[/TD]
[TD="align: right"]125200[/TD]
[TD="align: right"]135300[/TD]
[TD="align: right"]135900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD="align: right"]145000[/TD]
[TD="align: right"]155000[/TD]
[TD="align: right"]155500[/TD]
[TD="align: right"]145100[/TD]
[TD="align: right"]155500[/TD]
[TD="align: right"]155900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Analyst, Senior[/TD]
[TD="align: right"]125000[/TD]
[TD="align: right"]135000[/TD]
[TD="align: right"]135500[/TD]
[TD="align: right"]125500[/TD]
[TD="align: right"]135000[/TD]
[TD="align: right"]135900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Business Analyst[/TD]
[TD="align: right"]115000[/TD]
[TD="align: right"]120000[/TD]
[TD="align: right"]120500[/TD]
[TD="align: right"]115200[/TD]
[TD="align: right"]120500[/TD]
[TD="align: right"]120700[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD="align: right"]149200[/TD]
[TD="align: right"]157300[/TD]
[TD="align: right"]157500[/TD]
[TD="align: right"]149500[/TD]
[TD="align: right"]157000[/TD]
[TD="align: right"]157500[/TD]
[/TR]
</tbody>[/TABLE]
Column A Column B Column C Column D
[TABLE="width: 300"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 382"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Table 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Percentile [/TD]
[TD] Range
[/TD]
[/TR]
[TR]
[TD]Austin[/TD]
[TD]Program Analyst, Expert[/TD]
[TD]75th[/TD]
[TD="align: right"]125000[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD]90th[/TD]
[TD="align: right"]155900[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Analyst, Senior[/TD]
[TD]75th[/TD]
[TD="align: right"]125500[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Business Analyst[/TD]
[TD]80th[/TD]
[TD="align: right"]120500[/TD]
[/TR]
[TR]
[TD]Austin, Hill[/TD]
[TD]Program Manager[/TD]
[TD]80th[/TD]
[TD="align: right"]155500[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This is my formula for Table two cell (125000)
=IF(AND($C15=$C$3,$A15=$C$2),VLOOKUP($B15,$B$2:$H$8,2,0),IF(AND($C15=$D$3,$A15=$C$2),VLOOKUP($B15,$B$2:$H$8,3,0),IF(AND($C15=$E$3,$A15=$C$2),VLOOKUP($B15,$B$2:$H$8,4,0),IF(AND($C15=$F$3,$A15=$F$2),VLOOKUP($B15,$B$2:$H$8,5,0),IF(AND($C15=$G$3,$A15=$F$2),VLOOKUP($B15,$B$2:$H$8,6,0),IF(AND($C15=$H$3,$A15=$F$2),VLOOKUP($B15,$B$2:$H$8,7,0)))))))
The issue is Program Manager listed with 155500 is wrong because it should be 157300 since the location is "Austin, Hill" at 80th percentile listed in table 1. How do I Vlookup to lookup Role based on Location and Percentile?
I also tried index and match formula but that didn't work.
Thank you all of your help.
Thank you