+ Reply to Thread
Results 1 to 3 of 3

Reference cell value in a formula

  1. #1
    Registered User
    Join Date
    04-15-2005
    Posts
    9

    Reference cell value in a formula

    Hi, im trying to reference the value of a cell to be placed in a VLOOKUP formula.

    Value of cell A1 = A100 (this is the start of the array)
    Value of cell B1 = B125 (this is the end of the array)
    Value of cell A2 = A200
    Value of cell B2 = B225
    etc., etc.

    But i want the values of those cells to be placed in a vlookup formula like so..

    =VLOOKUP(B14,Sheet1!$(Value of cell A1):$(Value of cell B2),3,FALSE)

    does that make sense?
    Last edited by kollizion; 04-15-2005 at 02:29 PM.

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try...

    =VLOOKUP(B14,INDIRECT("'Sheet1'!"&A1&":"&B2),2,FALSE)

    Of course, a column index of '3' would be invalid since in this case the table array is made up of only two columns.

    Hope this helps!

  3. #3
    Registered User
    Join Date
    04-15-2005
    Posts
    9

    worked perfect!

    worked perfect! thanks!

+ 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