+ Reply to Thread
Results 1 to 4 of 4

How to rebuild this formula without the (volatile) INDIRECT function?

  1. #1
    Registered User
    Join Date
    09-25-2009
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    40

    How to rebuild this formula without the (volatile) INDIRECT function?

    I have this formula:

    =MATCH("ON",INDIRECT("$A$"&$A14+1&":$A$500"),0)+A14

    ..which looks for the word "ON" in column A froms rows 25 to 500. For reasons I won't bore you with, cell A14 contains the number 25.

    I've recently learnt that, sadly, INDIRECT is volatile. How could I reconstruct this formula using a non-volatile function?


    Background:

    I've discovered I can use:

    =INDEX(A:A,A14)

    ..to target a specific cell, but I don't know how to transform that into referencing a full range, as per the above.


    As always, all help appreciated and I'll give thanks and happily mark the thread as solved when appropriate!

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,708

    Re: How to rebuild this formula without the (volatile) INDIRECT function?

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-25-2009
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    40

    Re: How to rebuild this formula without the (volatile) INDIRECT function?

    Superb. I can't believe the syntax was that simple! Thank you so much

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,708

    Re: How to rebuild this formula without the (volatile) INDIRECT function?

    You're welcome & thanks for the feedback.

+ 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. If indirect function is volatile within named range?
    By jaryszek in forum Excel General
    Replies: 8
    Last Post: 03-28-2022, 09:47 AM
  2. Refer to cell name without volatile INDIRECT function
    By jaryszek in forum Excel General
    Replies: 12
    Last Post: 09-24-2020, 12:26 AM
  3. [SOLVED] Indirect in Data validation list as volatile function
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2019, 03:59 AM
  4. How to avoid indirect volatile function
    By jaryszek in forum Excel General
    Replies: 19
    Last Post: 03-11-2019, 08:47 AM
  5. Is INDIRECT function volatile within an IF function?
    By Monimonika in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-29-2017, 12:53 PM
  6. Non-volatile substitute for INDIRECT function
    By AndyFarrell79 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-24-2014, 03:29 AM
  7. [SOLVED] Non-volatile replacement for INDIRECT in SUMIFS formula
    By Lotrking1010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2013, 11:06 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