+ Reply to Thread
Results 1 to 7 of 7

Range with Indirect

  1. #1
    Registered User
    Join Date
    04-11-2020
    Location
    Buenos Aires
    MS-Off Ver
    Google Spreadsheet
    Posts
    8

    Range with Indirect

    I'm trying to use the contents of some cells to determine a range but I'm doing something wrong and I cannot figure out how to solve it. Any ideas?

    Screen Shot 2022-01-22 at 14.05.10.png

    Thanks a lot!

    Gery

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Range with Indirect

    Is this for Google Sheets or Excel?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-11-2020
    Location
    Buenos Aires
    MS-Off Ver
    Google Spreadsheet
    Posts
    8

    Re: Range with Indirect

    I have to use it in both, but the image is in Google sheets.
    Thanks

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Range with Indirect

    You will need to explain exactly what you are trying to achieve. It's a bit vague at present. Please post the formulae to your next post.

  5. #5
    Registered User
    Join Date
    04-11-2020
    Location
    Buenos Aires
    MS-Off Ver
    Google Spreadsheet
    Posts
    8

    Re: Range with Indirect

    I need to use this formula:
    =vlookup($A4,auxData!$A:IL,COLUMN(auxData!IL$1),0)

    but the column "IL" needs to be referenced to a cell (in this case E2).
    I know this can be done with INDIRECT command, but my syntax is wrong and I don't know how to fix it:

    =vlookup($A4,"auxData!$A:"&INDIRECT("E2"),COLUMN("auxData!"&INDIRECT("E2")&"$1"),0)

    Thanks!
    Last edited by gerygg; 01-22-2022 at 02:44 PM.

  6. #6
    Registered User
    Join Date
    04-11-2020
    Location
    Buenos Aires
    MS-Off Ver
    Google Spreadsheet
    Posts
    8

    Re: Range with Indirect

    After many hours, solved it!

    =vlookup($A4,INDIRECT("auxData!$A:"&E2),COLUMN(indirect(E2&1)),0)

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Range with Indirect

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. INDIRECT -- need cell range to change to the INDIRECT method
    By skydivetom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-04-2018, 11:18 AM
  2. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  3. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Andy Wiggins in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 07:05 AM
  4. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Andy Wiggins in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 04:05 AM
  5. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-05-2005, 11:05 PM

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