+ Reply to Thread
Results 1 to 5 of 5

Using cell results as cell reference in formulas

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    66

    Using cell results as cell reference in formulas

    I have a formula that returns a column letter (i.e. AB) in cell BK7. Is there a way to put this result in another cell reference (to be used in formulas like vlookup). For example:

    =$BK7$10

    would yield the value in AB10.

    Thanks.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Using cell results as cell reference in formulas

    Use INDIRECT function

    hence,

    =INDIRECT(BK7&10)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-14-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Using cell results as cell reference in formulas

    Ace - Thanks for the quick reply! That definitely works. The next question is how to put this into a formula that uses data from another worksheet. 'Sheet1' cannot be followed by the INDIRECT function.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Using cell results as cell reference in formulas

    try..

    =INDIRECT("Sheet1!"&BK7&10)

  5. #5
    Registered User
    Join Date
    09-14-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: Using cell results as cell reference in formulas

    That works well. Is it possible to use two INDIRECTS. For example, INDIRECT("Sheet1!"&BK7&6):INDIRECT("Sheet1!"&BK7&1101) to get a range (with the semi-colon). I was unable to get something like this to work.

+ 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