Is it possible to do 2 VLOOKUPs?
boeno
-
guilders -
guilders -
Hello,
actually, I wrote this:
=IF(ISERROR(VLOOKUP($A5,[childrenname.xls]Sheet1!$B4:$B4,0,FALSE)=$A5),DATE([childrenname.xls]Sheet1!$F4,[childrenname.xls]Sheet1!$G4,[childrenname.xls]Sheet1!$H4),"")
I would like to know if it is possible to put two VLOOKUPs in the IF to verify that the result of the first one is correct...
thank you in advance
boeno
actually, I wrote this:
=IF(ISERROR(VLOOKUP($A5,[childrenname.xls]Sheet1!$B4:$B4,0,FALSE)=$A5),DATE([childrenname.xls]Sheet1!$F4,[childrenname.xls]Sheet1!$G4,[childrenname.xls]Sheet1!$H4),"")
I would like to know if it is possible to put two VLOOKUPs in the IF to verify that the result of the first one is correct...
thank you in advance
boeno
9 réponses
Hello
Well, actually I just want to know if we can do two searches in a row
I understand that you absolutely want to use VLOOKUP,
even though it apparently doesn't serve any purpose, as I said.
So you can stack several of them, just "concatenate" :
= VLOOKUP($A5;[nomenfants.xls]Sheet1!$B4:$B40;0;FALSE)&VLOOKUP($A5;[nomenfants.xls]Sheet2!$B4:$B40;0;FALSE)&VLOOKUP($A5;[nomenfants.xls]Sheet3!$B4:$B40;0;FALSE)(
it's the character "&" that concatenates the results.
You can also, of course, check the result beforehand: IF(ISERROR(...
and let us know the formula you obtained so that I can understand the reason.
Good luck
--
always zen
Well, actually I just want to know if we can do two searches in a row
I understand that you absolutely want to use VLOOKUP,
even though it apparently doesn't serve any purpose, as I said.
So you can stack several of them, just "concatenate" :
= VLOOKUP($A5;[nomenfants.xls]Sheet1!$B4:$B40;0;FALSE)&VLOOKUP($A5;[nomenfants.xls]Sheet2!$B4:$B40;0;FALSE)&VLOOKUP($A5;[nomenfants.xls]Sheet3!$B4:$B40;0;FALSE)(
it's the character "&" that concatenates the results.
You can also, of course, check the result beforehand: IF(ISERROR(...
and let us know the formula you obtained so that I can understand the reason.
Good luck
--
always zen