+ Reply to Thread
Results 1 to 9 of 9

HELP NEEDED: INDIRECT combined with ROW function

  1. #1
    Registered User
    Join Date
    02-04-2014
    Location
    Charleston, SC
    MS-Off Ver
    2013
    Posts
    9

    Question HELP NEEDED: INDIRECT combined with ROW function

    Please let me know if you can decipher this: INDIRECT($A$1&ROW(A3)-1).

  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
    80,794

    Re: HELP NEEDED: INDIRECT combined with ROW function

    Yes, I can.

    It will return INDIRECT($A$12). Did you need to know anything else about it?
    Last edited by AliGW; 05-20-2016 at 12:39 PM.
    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
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: HELP NEEDED: INDIRECT combined with ROW function

    Hi -

    That formula returns a cell reference based on the text string inside it. I don't think the syntax is quite correct since INDIRECT() expects a text string. I think it should be corrected to be:

    =INDIRECT("$A$1"&ROW(A3)-1)

    The ROW of A3 is 3. Subtract 1 from that gives you 2. Concatenate that onto the end of "$A$1" gives you $A$12.
    This formula will return whatever is stored in cell A12.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: HELP NEEDED: INDIRECT combined with ROW function

    INDIRECT takes a text string and interprets it as a range, then returns that range.

    ROW(A3) will always return 3--the row number of cell A3. Then it subtracts 1.

    Cell A1 must contain a column identifier, like BD. In that example, your formula would return the contents of cell BD2.
    Last edited by 6StringJazzer; 05-20-2016 at 12:32 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: HELP NEEDED: INDIRECT combined with ROW function

    Good point 6StringJazzer. I had not interpreted the cell reference that way.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: HELP NEEDED: INDIRECT combined with ROW function

    Quote Originally Posted by loginjmor View Post
    I don't think the syntax is quite correct since INDIRECT() expects a text string. I think it should be corrected to be:
    The syntax is correct if cell A1 contains a column reference.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: HELP NEEDED: INDIRECT combined with ROW function

    Quote Originally Posted by AliGW View Post
    It will return INDIRECT($A$10). Did you need to know anything else about it?
    I cannot think of any interpretation of that formula that will produce this result.

  8. #8
    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
    80,794

    Re: HELP NEEDED: INDIRECT combined with ROW function

    Quote Originally Posted by 6StringJazzer View Post
    I cannot think of any interpretation of that formula that will produce this result.
    It was a typo - I have corrected my post.

  9. #9
    Registered User
    Join Date
    02-04-2014
    Location
    Charleston, SC
    MS-Off Ver
    2013
    Posts
    9

    Re: HELP NEEDED: INDIRECT combined with ROW function

    Thanks everyone!

+ 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. Multi Tier - Match & Vlookup or INDEX or INDIRECT function help needed
    By yogananda.muthaiah in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2016, 12:32 AM
  2. [SOLVED] Foruma needed to integrate indirect and sumif function
    By VincentNL in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-01-2014, 10:45 AM
  3. [SOLVED] Will an INDIRECT formula combined with a VLOOKUP work?
    By DRFJR in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-02-2014, 09:03 AM
  4. [SOLVED] Countifs,Indirect Function and Vlookup combined
    By Yari1986 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 11:19 AM
  5. Indirect function combined with Array
    By NYRealEstateAnalyst in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-10-2013, 02:46 AM
  6. Use INDEX and INDIRECT functions combined.
    By maancalo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2012, 02:43 PM
  7. Replies: 2
    Last Post: 10-30-2011, 05:15 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