D
dford
Can VLOOKUP be used to search columns in multiple sheets in a workbook?
Peo Sjoblom said:Yes, if the sheets are identical to each other.
If you have the lookup value in A2 on a summary sheet and the sheets you
want to lookup are Sheet1:Sheet8,
the table is A1:C200 and you want to return the value in the second column
(B)
=VLOOKUP(A2,INDIRECT("'"&INDEX({"Sheet1";"Sheet2";"Sheet3";"Sheet4";"Sheet5";"Sheet6";"Sheet7";"Sheet8"},MATCH(1,--(COUNTIF(INDIRECT("'"&{"Sheet1";"Sheet2";"Sheet3";"Sheet4";"Sheet5";"Sheet6";"Sheet7";"Sheet8"}&"'!A1:A200"),A2)>0),0))&"'!A1:C200"),2,0)
entered with ctrl + shift & enter
if you put all sheet names in a range of cells and give it a name it is
less ugly
=VLOOKUP(A2,INDIRECT("'"&INDEX(MySheets,MATCH(1,--(COUNTIF(INDIRECT("'"&MySheets&"'!A1:A200"),A2)>0),0))&"'!A1:C200"),2,0)
where MySheets would hold the names
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
L. Howard Kittle said:Hi Peo,
WOW....!!
Could you send me an example workbook that demonstrates that lookup
formula, please?
Maybe with some description of some of the details..?
Many thanks, as always, for your contributions.
Regards,
Howard
dford said:I use the formula below to search 1 worksheet. What is the best way to be
able to search multiple worksheets?
=IF(ISERROR(VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE)),0,VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE))
Peo Sjoblom said:On its way
Peo
Peo Sjoblom said:Are your worksheets identical in layout like table construction where they
all are using
$B$1:$E$1000
?
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
dford said:I use the formula below to search 1 worksheet. What is the best way to be
able to search multiple worksheets?
=IF(ISERROR(VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE)),0,VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE))
Peo Sjoblom said:On its way
Peo
Hi Peo,
WOW....!!
Could you send me an example workbook that demonstrates that lookup
formula, please?
Maybe with some description of some of the details..?
Many thanks, as always, for your contributions.
Regards,
Howard
Can VLOOKUP be used to search columns in multiple sheets in a
workbook?
dford said:Yes. All sheets are identical.
Peo Sjoblom said:Are your worksheets identical in layout like table construction where
they
all are using
$B$1:$E$1000
?
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
dford said:I use the formula below to search 1 worksheet. What is the best way to
be
able to search multiple worksheets?
=IF(ISERROR(VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE)),0,VLOOKUP(A9,'[Ingredients
Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE))
:
On its way
Peo
Hi Peo,
WOW....!!
Could you send me an example workbook that demonstrates that lookup
formula, please?
Maybe with some description of some of the details..?
Many thanks, as always, for your contributions.
Regards,
Howard
Can VLOOKUP be used to search columns in multiple sheets in a
workbook?
Peo Sjoblom said:You can download an example here
http://nwexcelsolutions.com/Download/3DVLOOKUP.xls
adapt it to fit your needs
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
dford said:Yes. All sheets are identical.
Peo Sjoblom said:Are your worksheets identical in layout like table construction where
they
all are using
$B$1:$E$1000
?
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
I use the formula below to search 1 worksheet. What is the best way to
be
able to search multiple worksheets?
=IF(ISERROR(VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE)),0,VLOOKUP(A9,'[Ingredients
Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE))
:
On its way
Peo
Hi Peo,
WOW....!!
Could you send me an example workbook that demonstrates that lookup
formula, please?
Maybe with some description of some of the details..?
Many thanks, as always, for your contributions.
Regards,
Howard
Can VLOOKUP be used to search columns in multiple sheets in a
workbook?
dford said:I still haven't quite got it yet. I have named a range with the worksheet
names included called "Catagories" in a workbook called "Ingredients
Spanish
Fork". The Vlookup formula is in a different workbook. How do I refer to
the
the different workbook and range name in the formula?
Peo Sjoblom said:You can download an example here
http://nwexcelsolutions.com/Download/3DVLOOKUP.xls
adapt it to fit your needs
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
dford said:Yes. All sheets are identical.
:
Are your worksheets identical in layout like table construction where
they
all are using
$B$1:$E$1000
?
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
I use the formula below to search 1 worksheet. What is the best way
to
be
able to search multiple worksheets?
=IF(ISERROR(VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE)),0,VLOOKUP(A9,'[Ingredients
Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE))
:
On its way
Peo
Hi Peo,
WOW....!!
Could you send me an example workbook that demonstrates that
lookup
formula, please?
Maybe with some description of some of the details..?
Many thanks, as always, for your contributions.
Regards,
Howard
Can VLOOKUP be used to search columns in multiple sheets in a
workbook?
Peo Sjoblom said:=VLOOKUP(A2,INDIRECT("'[3DVLOOKUP.xls]"&INDEX(MySheets,MATCH(1,--(COUNTIF(INDIRECT("'[3DVLOOKUP.xls]"&MySheets&"'!A2:A200"),A2)>0),0))&"'!A2:C200"),2,0)
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address
dford said:I still haven't quite got it yet. I have named a range with the worksheet
names included called "Catagories" in a workbook called "Ingredients
Spanish
Fork". The Vlookup formula is in a different workbook. How do I refer to
the
the different workbook and range name in the formula?
Peo Sjoblom said:You can download an example here
http://nwexcelsolutions.com/Download/3DVLOOKUP.xls
adapt it to fit your needs
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
Yes. All sheets are identical.
:
Are your worksheets identical in layout like table construction where
they
all are using
$B$1:$E$1000
?
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
I use the formula below to search 1 worksheet. What is the best way
to
be
able to search multiple worksheets?
=IF(ISERROR(VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE)),0,VLOOKUP(A9,'[Ingredients
Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE))
:
On its way
Peo
Hi Peo,
WOW....!!
Could you send me an example workbook that demonstrates that
lookup
formula, please?
Maybe with some description of some of the details..?
Many thanks, as always, for your contributions.
Regards,
Howard
Can VLOOKUP be used to search columns in multiple sheets in a
workbook?
Peo Sjoblom said:=VLOOKUP(A2,INDIRECT("'[3DVLOOKUP.xls]"&INDEX(MySheets,MATCH(1,--(COUNTIF(INDIRECT("'[3DVLOOKUP.xls]"&MySheets&"'!A2:A200"),A2)>0),0))&"'!A2:C200"),2,0)
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address
dford said:I still haven't quite got it yet. I have named a range with the worksheet
names included called "Catagories" in a workbook called "Ingredients
Spanish
Fork". The Vlookup formula is in a different workbook. How do I refer to
the
the different workbook and range name in the formula?
Peo Sjoblom said:You can download an example here
http://nwexcelsolutions.com/Download/3DVLOOKUP.xls
adapt it to fit your needs
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
Yes. All sheets are identical.
:
Are your worksheets identical in layout like table construction where
they
all are using
$B$1:$E$1000
?
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
I use the formula below to search 1 worksheet. What is the best way
to
be
able to search multiple worksheets?
=IF(ISERROR(VLOOKUP(A9,'[Ingredients Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE)),0,VLOOKUP(A9,'[Ingredients
Spanish
Fork.xls]Sheet1'!$B$1:$E$1000,4,FALSE))
:
On its way
Peo
Hi Peo,
WOW....!!
Could you send me an example workbook that demonstrates that
lookup
formula, please?
Maybe with some description of some of the details..?
Many thanks, as always, for your contributions.
Regards,
Howard
Can VLOOKUP be used to search columns in multiple sheets in a
workbook?