+ Reply to Thread
Results 1 to 14 of 14

Formula will not auto calculate

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Formula will not auto calculate

    I am creating a de-dup list of names and i an try to build a formula that will do that.

    the plan was on my sheet 2 the array would search duplicated data on Master1 (sheet 1) and only add its to sheet 2 if and only if its is not already listed on sheet 2. I need this to work for current data and future data that will be entered into the master1 list. every years its over 2000 entries on the master1.

    here is my formula that a another forum writer helped me with:
    =IFERROR(INDEX(Master1!$B$2:$B$12, MATCH(0,COUNTIF(Sheet2!$A$1:A10, Master1!$B$2:$B$12), 0)),"")

    The Major problem is i have to make my calculation switch to manual in order for the formula to take it will not auto-calculate. the sucky part is i have to do this to all 200 entries the i have so far as De-dups from master1 individually for 4 columns or data. This will not do as i am building this so other users that i dont want the to drag to F9 everytime they go into the sheet.

    Any suggestions? my excel will calculate SUM just fine but of this formula that stops the sheet from working correct. I included a TEST sheet of data to show the formulas i have in place. feel free to use it to test

    https://docs.google.com/spreadsheets...it?usp=sharing

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula will not auto calculate

    I didn't look at your file.

    I think the correct formula should be this:

    =IFERROR(INDEX(Master1!$B$2:$B$12,MATCH(0,COUNTIF(Sheet2!$A$1:$A1,Master1!$B$2:$B$12),0)),"")

    Still array entered.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Re: Formula will not auto calculate

    In automatic calculation i get zero still. i still have to go into each cell and F9 on the formula box for the data to show. Any other suggestions or maybe an different equation all together.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula will not auto calculate

    Is the problem happening in an Excel file?

    Your link is to a Google file. I know nothing about Google spreadsheets.

  5. #5
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Re: Formula will not auto calculate

    Yes it happens in my excel file. i just use google docs as a place holder for my test sheet. you can download it into excel and it will not auto calculate.

    or use the my download from googleTeam line upRev1.xlsx

  6. #6
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Re: Formula will not auto calculate

    whats really weird is this formula prevents all other formulas on the same sheet from working unless its in manual. that is also not good.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula will not auto calculate

    Seems to be working OK for me.

    On the Master1 sheet I changed cell B12 from Brown Horse to Purple Horse and on sheet "Second attempt..." the list in column A updated as expected.

    Are you sure you have calculation set to automatic?

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula will not auto calculate

    I'll be going offline for several hours. Don't want to leave you hanging.

  9. #9
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Re: Formula will not auto calculate

    so i have to basically start from scratch and it worked. my excel i was working in was the issue. good thing it was a test copy.

    Another Question: Do you know if there is a way to quicken the speed of checking the array. when i added new data ever new cell entered takes up to 2 minutes to update my sheet 2. any suggestions?
    Last edited by airedale360; 03-26-2015 at 06:29 PM.

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula will not auto calculate

    That particular formula will be slow to calculate on large data sets.

    Here's an alternative that will be faster to calculate on large data sets. However, extracting uniques is a calculation intensive operation by its nature and may still be slow to complete.

    This array formula** entered in A2 on the Second attempt sheet:

    =IFERROR(INDEX(Master1!B:B,SMALL(IF(FREQUENCY(MATCH(Master1!B$2:B$12,Master1!B$2:B$12,0),ROW(Master1!B$2:B$12)-ROW(Master1!B$2)+1),ROW(Master1!B$2:B$12)),ROWS(A$2:A2))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.

  11. #11
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Re: Formula will not auto calculate

    Wow it does calculate quickly. my only issue is i am building this for anouther person to use and i dont want them touching the formula or having to drag it down each time there a new entry. so i expanded the range from B2:B2212 and when i made the correction. the cell A2 is blank with or without an array entered. but if i only plug in the search where data is, it works fine. Thoughts?
    Last edited by airedale360; 03-27-2015 at 03:14 PM.

  12. #12
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula will not auto calculate

    OK, use this version which will account for empty cells:

    =IFERROR(INDEX(Master1!B:B,SMALL(IF(FREQUENCY(IF(Master1!B$2:B$2212<>"",MATCH(Master1!B$2:B$2212,Master1!B$2:B$2212,0)),ROW(Master1!B$2:B$2212)-ROW(Master1!B$2)+1),ROW(Master1!B$2:B$2212)),ROWS(A$2:A2))),"")

    Still array entered.
    Last edited by Tony Valko; 03-27-2015 at 06:21 PM.

  13. #13
    Registered User
    Join Date
    06-03-2013
    Location
    US
    MS-Off Ver
    Excel 2016
    Posts
    41

    Re: Formula will not auto calculate

    That did it. auto calculates and only under a second delay. Thank you so much you are a genius!

  14. #14
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula will not auto calculate

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select 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. [SOLVED] Auto calculate formula help
    By slaters in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2015, 02:29 PM
  2. Replies: 1
    Last Post: 02-02-2013, 02:28 PM
  3. [SOLVED] Formula to auto calculate total amount at the last row of the day
    By Jeffrey Ting in forum Excel General
    Replies: 7
    Last Post: 07-15-2012, 11:42 PM
  4. Auto inset and calculate a formula
    By sjdb001 in forum Excel General
    Replies: 0
    Last Post: 04-19-2012, 09:14 AM
  5. auto-calculate percentage formula
    By Jeebs in forum Excel General
    Replies: 2
    Last Post: 07-03-2008, 02:54 PM

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