vlookup more than 2 range

H

hitesh

dear

i have a database of three sheets, and i want the vlookup in sheet 4, when i
use this formula =IF(ISNA(VLOOKUP($C3,'sheet
8'!$A$2:$F$58,2,FALSE)),VLOOKUP($C3,'sheet
9'!$A$2:$F$50,2,FALSE),VLOOKUP($C3,'sheet 8'!$A$2:$F$58,2,FALSE)), it work
only for 2 sheets. i want that 3rd sheet also covered by this formula, what i
have to do pls make the necessary changes in formula.

regards
anil
 
H

hitesh

dear,
thanks for formula, but its not working, i type the formula this way its not
working
=IF(ISNA(VLOOKUP(C3,INDIRECT("'"&INDEX(Sheet2!,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheet3!&"'!A2:F58"),C3)>0),0))&"'!A2:F58"),2,0)),"",VLOOKUP(C3,INDIRECT("'"&INDEX(Sheet4!,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheet5!&"'!A2:F58"),C3)>0),0))&"'!A2:F58"),2,0))

pls make the changes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

vlookup for more than 2 range 6
VLOOKUP Returns a zero value 2
IF ERROR FORMULA 2
IFERROR TO COMPARE WKSHEET 2
VLookup Formula 5
What am I doing wrong 14
Multiple columns using Vlookup 3
Vlookup for 3 sheets 6

Top