IF(ISNA(VLOOKUP I want to add AND

jojoluv377

New Member
Joined
Sep 4, 2009
Messages
10
I need to LookUp G47 in the 'CONTRACT WORKFORCE'!$E$4:$R$99 and once it finds it a D47 has to match Col 5 on 'CONTRACT WORKFORCE'!$E$4:$R$99.

=IF(ISNA(VLOOKUP(G47,'CONTRACT WORKFORCE'!$E$4:$R$99,11,FALSE)),"",VLOOKUP(G47,'CONTRACT WORKFORCE'!$E$4:$R$99,11,FALSE))

I think I should add AND but I am not sure where. Any ideas? I've been working on this for a while.

Jackie
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I need to LookUp G47 in the 'CONTRACT WORKFORCE'!$E$4:$R$99 and once it finds it a D47 has to match Col 5 on 'CONTRACT WORKFORCE'!$E$4:$R$99...

Jackie,
Can you try restating the question? So, after you do the first lookup, what are you trying to do? Use that value to seed another lookup?
 
Upvote 0
Once lookup finds the record (cell), a second cell needs to be matched to return the correct result from column 11.

Thank You
Jackie
 
Upvote 0
Try

=INDEX('CONTRACT WORKFORCE'!$O$4:$O$99,MATCH(1,INDEX((G47='CONTRACT WORKFORCE'!$E$4:$E$99)*(D47='CONTRACT WORKFORCE'!$I$4:$I$99),0),0))
 
Upvote 0
Or this

=INDEX('CONTRACT WORKFORCE'!$O$4:$O$99,MATCH(2,INDEX((G47='CONTRACT WORKFORCE'!$E$4:$E$99)+(D47='CONTRACT WORKFORCE'!$I$4:$I$99),,1),))

=INDEX(OFFSET('CONTRACT WORKFORCE'!$O$3,MATCH(1,INDEX((G47='CONTRACT WORKFORCE'!$E$4:$E$99)*(D47='CONTRACT WORKFORCE'!$I$4:$I$99),),),),)

=INDEX('CONTRACT WORKFORCE'!$E$4:$O$99,MATCH(1,INDEX((G47='CONTRACT WORKFORCE'!$E$4:$E$99)*(D47='CONTRACT WORKFORCE'!$I$4:$I$99),,1),),) 'CONTRACT WORKFORCE'!$O$4:$O$99

Regards
 
Last edited:
Upvote 0
Try

=INDEX('CONTRACT WORKFORCE'!$O$4:$O$99,MATCH(1,INDEX((G47='CONTRACT WORKFORCE'!$E$4:$E$99)*(D47='CONTRACT WORKFORCE'!$I$4:$I$99),0),0))


This worked. Thank you. I am still in the learning process with nesting formulas. But I appreciate the quick response.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top