Excel Sheet Name Reference in Vlookup :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

Sheet Name Reference in Vlookup
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

spg2112
Board Master


Joined: 28 Feb 2002
Posts: 144
Location: Dallas, TX

Status: Offline

 Reply with quote  

Hello all,

I have a workbook with 72 tabs. On one tab I want to summarize units out of each of the 72 sheets. Can't I reference the tab name in the VLOOKUP formula and paste down?

=Vlookup(A2,&"'"A2&"'!"Range,column)

The tab names are the same as the vlookup cell.

Any ideas????

Post Wed Apr 03, 2002 2:49 pm 
 View user's profile Send private message Send e-mail

Ricky Morris
Board Master


Joined: 01 Apr 2002
Posts: 327


Status: Offline

 Reply with quote  

Try:

=Vlookup(A2,indirect("'"&A2&"'!"Range),column)



_________________
It's never too late to learn something new.

Ricky

Post Wed Apr 03, 2002 3:05 pm 
 View user's profile Send private message Send e-mail

spg2112
Board Master


Joined: 28 Feb 2002
Posts: 144
Location: Dallas, TX

Status: Offline

 Reply with quote  

Very Nice! Thanks...One small correction though...

=VLOOKUP(B2,INDIRECT("'"&A2&"'!C:H"),6,FALSE)

Include the range C:H in the text string "'!C:H".

Steve

Post Wed Apr 03, 2002 5:33 pm 
 View user's profile Send private message Send e-mail
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.