+ Reply to Thread
Results 1 to 4 of 4

Can I parameterize vlookup?

  1. #1
    Registered User
    Join Date
    11-25-2021
    Location
    Japan
    MS-Off Ver
    365 for business
    Posts
    4

    Can I parameterize vlookup?

    I have a table that is the target of vlookup that will change over time. Specifically, I expect it to grow.
    What I would like is to refer to the table in a way that would take growth into account without having to edit all of the many places where vlookup is called.

    Can dynamic arrays help with this?
    I can guarantee that any additions will occur at the end of the pre-existing table and that there will be no blank rows.
    It would also be convenient if I could refer to the whole table by name rather than with a range.

    Many thanks,
    Hank C.

  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
    28,192

    Re: Can I parameterize vlookup?

    Use structured tables which "dynamically" re-size as columns/rows are added/deleted.

    Existing VLOOKUPs should not require change if columns are appended to the table.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    11-25-2021
    Location
    Japan
    MS-Off Ver
    365 for business
    Posts
    4

    Re: Can I parameterize vlookup?

    Thanks.
    Now I just need to find the tutorial on structured tables.

    Hank

  4. #4
    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
    28,192

    Re: Can I parameterize vlookup?

    A simple example as attached Tables not my forte!):

    Enter data in A1:D8

    Highlight this range ..Insert>>Table

    Add in E1: Tax Paid

    in e2: "=" (as per formula entry) >> click on C2 then "*" click on D2

    You will see formula is reproduced automatically until last row of table

    Add entry in row 9

    change VLOOKUP parameter in F3 to that of value in A9
    Attached Files Attached Files

+ 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: 5
    Last Post: 12-07-2016, 09:18 AM
  2. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  3. Does Microsoft Query Allow You to Parameterize Operators?
    By scottclayton in forum Excel General
    Replies: 0
    Last Post: 09-24-2013, 06:00 AM
  4. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  5. [SOLVED] Parameterize Inputs
    By fblaze in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2013, 07:43 AM
  6. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  7. Replies: 5
    Last Post: 07-29-2009, 07:53 AM

Tags for this Thread

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