+ Reply to Thread
Results 1 to 2 of 2

Command Button to switch VLOOKUP Values

  1. #1
    Registered User
    Join Date
    08-09-2010
    Location
    gearhart, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    1

    Command Button to switch VLOOKUP Values

    Hello everyone,
    I'm trying to build a command button or something there of that would allow me to switch list values.

    I have the main sheet for data input, second sheet as two tables of different values, how can I make it so user can choose table1 or table2 to lookup the values?

    Any pointers appreciated,
    Bill

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Command Button to switch VLOOKUP Values

    Welcome to the forum.

    =vlookup(a1, if(b1, table1, table2), 2)

    B1 controls the table used.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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