+ Reply to Thread
Results 1 to 4 of 4

Formula jumps back to #NA until I hit return

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    Norway
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Formula jumps back to #NA until I hit return

    Hi

    I have a formula in Excel 2007 that uses index/ match. The Match value refers to the sheet name the formula exists on.
    The formula works fine but when I click another cell in another sheet the formula result that originally was ok now shows #NA. I then have to manually hit return to get them all to calculate again.
    Any ideas how I can avoid having to continually hit return?

    =(E2/(SUMPRODUCT(($A$2:$A$59=A2)*$E$2:$E$59)))*((INDEX(INDEXAREA;MATCH(REPLACE(CELL("filename");1;FIND("]";CELL("filename"));"");MATCHROWS;0);MATCH($A2;MATCHCOLUMNS;0))))

    Thanks.
    Neil
    Last edited by Nfraser71; 10-20-2015 at 03:07 AM. Reason: incomplete post

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula jumps back to #NA until I hit return

    Because Cell() is a Volatile function which calculates on any change in the excel application.

    You should not ignore the last argument (Reference) of the Cell() function if you want it to stick with the current file where it resides.

    So your formula should be converted to

    =(E2/(SUMPRODUCT(($A$2:$A$59=A2)*$E$2:$E$59)))*((INDEX(INDEXAREA;MATCH(REPLACE(CELL("filename",$A$1);1;FIND("]";CELL("filename",$A$1));"");MATCHROWS;0);MATCH($A2;MATCHCOLUMNS;0))))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-20-2015
    Location
    Norway
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Re: Formula jumps back to #NA until I hit return

    Thank you Sixthsense!
    Worked perfectly

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula jumps back to #NA until I hit return

    Quote Originally Posted by Nfraser71 View Post
    Thank you Sixthsense!
    Worked perfectly
    Rep added to 6thSense for an excellent and succinct explanation.

    You've received the answer and hopefully you've understood the explanation which is just as important.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. a formula that jumps the same amount of columns
    By top_dog in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2015, 01:29 AM
  2. Return back header name
    By Jacaspace in forum Excel General
    Replies: 2
    Last Post: 07-09-2014, 07:41 AM
  3. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  4. [SOLVED] Entering a formula that jumps a certain number of rows
    By JoanneMorrissey in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-04-2014, 05:31 PM
  5. Double click row to return data to userform for edit then return back to sheet
    By MattRSJ in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 01-31-2014, 06:05 AM
  6. Formula that jumps rows
    By mohitspamz in forum Excel General
    Replies: 3
    Last Post: 10-20-2009, 03:19 PM
  7. Formula to bring back result with soft return
    By melsmiff in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-18-2007, 05: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