+ Reply to Thread
Results 1 to 3 of 3

VLookup with Variable Data Sheet Source

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VLookup with Variable Data Sheet Source

    Hello :

    I have below formula :

    Please Login or Register  to view this content.
    where MemPaid is name of the sheet where the data is.

    Now I will have the name of the data sheet picked up from Cell P1.
    So basically, if P1 is DonationPaid then the above formula needs to be :

    Please Login or Register  to view this content.
    I hope this is clear.

    Please let me know if you have any questions.
    Thanks.

    RM

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,768

    Re: VLookup with Variable Data Sheet Source

    Try ..

    =VLOOKUP(I8,INDIRECT(P1 &"!" & "$A2:$H$600"),8,0)

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VLookup with Variable Data Sheet Source

    Hi JohnT:

    Thanks a lot...works great
    RM

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 07-21-2015, 10:26 PM
  2. Charts with variable data source
    By Geordie in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 07-22-2014, 12:55 PM
  3. Trying to get a Pivot Table to work with variable source data
    By nakedbamboo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2012, 04:04 AM
  4. Replies: 1
    Last Post: 12-29-2008, 09:03 PM
  5. Replies: 0
    Last Post: 06-19-2007, 01:56 PM
  6. [SOLVED] Variable row data source for combo boxes?
    By AndyRoo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-02-2006, 04:20 PM
  7. Variable VLOOKUP source and target
    By Vindaloo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2006, 10:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1