+ Reply to Thread
Results 1 to 6 of 6

Volatile range of cells in a formula

  1. #1
    Registered User
    Join Date
    07-24-2015
    Location
    Virginia, USA
    MS-Off Ver
    2010
    Posts
    2

    Volatile range of cells in a formula

    Hi,

    First post!

    I want the values in NPV formula to be volatile as I specify the start date and end date.
    So, the formula could be =NPV(5%,N5:T5) or =NPV(5%,F5:L5) depending on start and end date I would have specified in two distinct cells.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Volatile range of cells in a formula

    Welcome to the forum.

    Using your posted workbook, this formula returns the NPV for the referenced range:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Volatile range of cells in a formula

    See the attached file with index/match and indirect.

    Please add the formula on the forum, for the benefit of all.

    I don't know all translations (at the moment).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    07-24-2015
    Location
    Virginia, USA
    MS-Off Ver
    2010
    Posts
    2

    Re: Volatile range of cells in a formula

    Yes, that works. I didn't think of trying INDEX-MATCH on either side of the :
    I thought I would need INDIRECT...

    Many thanks!

  5. #5
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Volatile range of cells in a formula

    Glad you got something you can use!

    If that resolves your issue, please take a moment to mark this thread as SOLVED (from the Thread Tools menu)

    BTW....You can use INDIRECT in your situation, but that function is volatile. That means whenever any cell in the workbook recalculates all cells containing volatile functions also calculate. The end result is often sluggish workbooks. Consequently, I only use them when there's no practical alternative.
    Last edited by Ron Coderre; 07-24-2015 at 04:25 PM.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Volatile range of cells in a formula

    In that case I would appreciate if you also comment on the solution in #3.

+ 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. Non-Volatile Alternative: Cell or Indirect and Address for Named Range Formula
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2015, 10:02 AM
  2. Need to make a Formula non volatile
    By Modify_inc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-02-2015, 02:31 PM
  3. MATCH changing range without volatile INDIRECT()
    By wallock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-03-2014, 02:30 PM
  4. Volatile formula with index/match dynamic range
    By asgersax in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-16-2013, 05:37 PM
  5. Problem with non-volatile dynamic range solution.
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2012, 07:46 AM
  6. Does this solution for non volatile dynamic named range work?
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-22-2012, 01:53 AM
  7. Looking for a formula for non volatile dynamic range
    By foxguy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-13-2011, 07:28 AM

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