ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   VLOOK ups accross Multiple Tabs (https://www.excelbanter.com/new-users-excel/234175-vlook-ups-accross-multiple-tabs.html)

Kyaba

VLOOK ups accross Multiple Tabs
 
Hi I am a newbie to the forum and have a question about VLookups across tabs
in the same worksheet.

I am trying to do the following:

€¢ Look up values in a data dump and pull values by unique identifier to
populate cells in another tab.
€¢ There can be multiple values for the same unique identifier.

I have tried the following but it doesnt seem to work:

=vlookup(B2, €˜worksheet2!1:65536, €˜worksheet2!5, FALSE)

Plus it doesnt handle the multiple values for the same unique identifier
issue.

Any help would be much appreciated!! Thanks!



Shane Devenshire[_2_]

VLOOK ups accross Multiple Tabs
 
Hi,

Your question refers to multiple tabs but your formula is only for worksheet2?

1. You can't use a single VLOOKUP to pull data from multiple tabs.
2. You can't use a standard VLOOKUP to return multiple results in general.
3. It is probably a bad idea to use a referece like 1:65536. The
references the entire worksheet which tends to slow VLOOKUP down.
4. It is not at all clear what your 3rd argument means - worksheet2!5 ?

What kind of results could be returned based on your data and how would you
want them returned? If there were two results would you want them added
together (numerical results) or concatenated in one cell or in multiple cells?

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Kyaba" wrote:

Hi I am a newbie to the forum and have a question about VLookups across tabs
in the same worksheet.

I am trying to do the following:

€¢ Look up values in a data dump and pull values by unique identifier to
populate cells in another tab.
€¢ There can be multiple values for the same unique identifier.

I have tried the following but it doesnt seem to work:

=vlookup(B2, €˜worksheet2!1:65536, €˜worksheet2!5, FALSE)

Plus it doesnt handle the multiple values for the same unique identifier
issue.

Any help would be much appreciated!! Thanks!




All times are GMT +1. The time now is 01:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com