Hello
Please assist me in setting up a formula for if statement alongwith vlookup. Here are two tables: I would like to populate PAN number on the sheet 2 if my PNI and First Name Matches, If not then I want none value as a result.
Sheet 1
[TABLE="width: 221"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]PNI[/TD]
[TD]PAN[/TD]
[TD]First Name[/TD]
[/TR]
[TR]
[TD="align: right"]1003000720[/TD]
[TD="align: right"]2560646[/TD]
[TD]Otniel[/TD]
[/TR]
[TR]
[TD="align: right"]1003000902[/TD]
[TD="align: right"]1614854[/TD]
[TD]Jaivanti[/TD]
[/TR]
[TR]
[TD="align: right"]1003001058[/TD]
[TD="align: right"]2622283[/TD]
[TD]Ayumi[/TD]
[/TR]
[TR]
[TD="align: right"]1003001298[/TD]
[TD="align: right"]1584144[/TD]
[TD]Kasey[/TD]
[/TR]
[TR]
[TD="align: right"]1003001736[/TD]
[TD="align: right"]3237787[/TD]
[TD]Ronaldo[/TD]
[/TR]
[TR]
[TD="align: right"]1003002817[/TD]
[TD="align: right"]1635460[/TD]
[TD]Nayvis[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 221"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]PNI[/TD]
[TD]First Name[/TD]
[TD]PAN[/TD]
[/TR]
[TR]
[TD="align: right"]1003000720[/TD]
[TD]Otniel[/TD]
[TD]Vook up[/TD]
[/TR]
[TR]
[TD="align: right"]1003000902[/TD]
[TD]Jaivanti[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003001058[/TD]
[TD]Ayumi[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003001298[/TD]
[TD]Kasey[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003001736[/TD]
[TD]Ronaldo[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003002817[/TD]
[TD]Nayvis[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Please assist me in setting up a formula for if statement alongwith vlookup. Here are two tables: I would like to populate PAN number on the sheet 2 if my PNI and First Name Matches, If not then I want none value as a result.
Sheet 1
[TABLE="width: 221"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]PNI[/TD]
[TD]PAN[/TD]
[TD]First Name[/TD]
[/TR]
[TR]
[TD="align: right"]1003000720[/TD]
[TD="align: right"]2560646[/TD]
[TD]Otniel[/TD]
[/TR]
[TR]
[TD="align: right"]1003000902[/TD]
[TD="align: right"]1614854[/TD]
[TD]Jaivanti[/TD]
[/TR]
[TR]
[TD="align: right"]1003001058[/TD]
[TD="align: right"]2622283[/TD]
[TD]Ayumi[/TD]
[/TR]
[TR]
[TD="align: right"]1003001298[/TD]
[TD="align: right"]1584144[/TD]
[TD]Kasey[/TD]
[/TR]
[TR]
[TD="align: right"]1003001736[/TD]
[TD="align: right"]3237787[/TD]
[TD]Ronaldo[/TD]
[/TR]
[TR]
[TD="align: right"]1003002817[/TD]
[TD="align: right"]1635460[/TD]
[TD]Nayvis[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 221"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]PNI[/TD]
[TD]First Name[/TD]
[TD]PAN[/TD]
[/TR]
[TR]
[TD="align: right"]1003000720[/TD]
[TD]Otniel[/TD]
[TD]Vook up[/TD]
[/TR]
[TR]
[TD="align: right"]1003000902[/TD]
[TD]Jaivanti[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003001058[/TD]
[TD]Ayumi[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003001298[/TD]
[TD]Kasey[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003001736[/TD]
[TD]Ronaldo[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1003002817[/TD]
[TD]Nayvis[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]