+ Reply to Thread
Results 1 to 14 of 14

Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

  1. #1
    Registered User
    Join Date
    05-13-2015
    Location
    Washington DC
    MS-Off Ver
    2012
    Posts
    6

    Cool Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    Hi All
    I am using Excel 2010 on a 64 bit PC using Window 7 Enterprise
    I input data via SQL Server to a blank Excel spreadsheet with some pre-populated formula cells.
    The pre-populated formula cells point to the cells that SQL inputs, but are blank initially.
    When I open the spreadsheet after the process completes, the input data is there, but the cells with equations are blank.
    The equations are there, but will only produce results if I either edit the cell or press alt+ctl+F9.
    It does not work if I just use F9.
    The Calculate mode is set to automatic.
    The cell is formatted to Number.
    When I copy this file to another PC and open the spreadsheet, Same problem.
    I tried to copy and paste to a new worksheet - same problem.
    The original Excel spreadsheet was developed on another PC, (PC-1) using Excel 2010, and worked fine!
    When I copied this file to PC-2 and rerun the process, the problem occurs.
    I've searched the various forums, but all recommend the obvious, set auto calc.
    I made the Advanced Options page on PC-1 exactly the same as PC-2, but I have the same problem.
    I'm out of resolutions.
    Help?

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    I'm grasping at a straw here, but highlight the reluctant columns and press F2 and then save the spreadsheet and try refreshing the data again.

    Are these user defined functions? I have the same issue with some UDFs. If any code fails anywhere in the workbook all my UDFs seem to fail as well. Sometimes Application.Volatile helps.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    How about forcing the re-calc when you open the file

    Private Sub Workbook_Open()
    Application.CalculateFull
    End Sub

  4. #4
    Registered User
    Join Date
    05-13-2015
    Location
    Washington DC
    MS-Off Ver
    2012
    Posts
    6

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    No, Just a simple formula. =IF(A3=0,"",1*A3), I've upload a screenshot of this problem. Note that the equation is in this cell but does not evaluate. Auto Calc is on, and I pressed f9 as well.
    Jack
    Attached Images Attached Images

  5. #5
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    If suggestion in post#03 is not successful, here is something else to try:

    Currently the formulas are in the workbook before the data is dumped. But the data dump does not trigger the calcluation.
    So why not dump the data first and then add the formulas?

  6. #6
    Registered User
    Join Date
    05-13-2015
    Location
    Washington DC
    MS-Off Ver
    2012
    Posts
    6

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    This run through an automated script. The script has worked fine for 2 years on a different PC, but when I switched to a new PC, the formulas stopped updating. Both are running Windows 7.
    Jack

  7. #7
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    Did you try putting this in the ThisWorkbook module?

    Private Sub Workbook_Open()
    Application.CalculateFull
    End Sub

    (needs to be in the file before the data is added)
    Last edited by Kevin#; 03-31-2016 at 08:10 AM.

  8. #8
    Registered User
    Join Date
    05-13-2015
    Location
    Washington DC
    MS-Off Ver
    2012
    Posts
    6

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    The problem with running a macro is that I would need to use .xlsm type file. Unfortunately, SQL Server 2008 does not support .xlsm files, only .xlsx files.

  9. #9
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    That's annoying.

  10. #10
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    Another desperate suggestion. Delete the columns containing the formulas and re-establish them. Don't just blank out the data, remove the columns entirely. You can probably copy and paste the formulas to notepad and then copy and paste them back into the formula bar.

  11. #11
    Registered User
    Join Date
    05-13-2015
    Location
    Washington DC
    MS-Off Ver
    2012
    Posts
    6

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    I not only deleted the columns, I replaced each cell's formula with a simple "=a1" formula, but it still didn't work.
    Now when I open this file in another PC, I do get the correct values. It seems that I must be missing a setting somewhere.

  12. #12
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    I guess you are right. Nothing to do but open the options side-by-side and compare what's checked for each of the versions of Excel.

  13. #13
    Registered User
    Join Date
    05-13-2015
    Location
    Washington DC
    MS-Off Ver
    2012
    Posts
    6

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    I did that already. They match exactly. I was wondering if there may be a setting in Windows 7 that inhibits the auto calculations.

  14. #14
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Excel 2010 formulas won't update till I edit -Auto Calc Set, - cell Format Correct

    This does not solve the issue, but is a workaround.

    Make the SQL update an empty file (= SQLdump.xlsx)

    Have another file (= FileIWant.xlsm) which contains your formulas plus a macro to pull values from SQLdump.xls

    If for any reasons formulas do not fire, then force them to update by including this as the last line in the macro
    Please Login or Register  to view this content.
    If a response has helped then please consider rating it by clicking on *Add Reputation below the post
    When your issue has been resolved don't forget to mark the thread SOLVED (click Thread Tools at top of thread)

+ 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] Excel 2010: Edit formulas so that cells remain blank if no value is in cell E8
    By Kate in Iowa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-14-2015, 05:17 AM
  2. Excel 2010 formulas are not auto-populating
    By JAPbach in forum Excel General
    Replies: 3
    Last Post: 12-17-2012, 12:16 AM
  3. Why does an embedded word doc not auto-update in macro-enabled excel doc 2010?
    By Ryan Nielsen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2012, 03:59 PM
  4. Replies: 5
    Last Post: 03-29-2012, 10:02 AM
  5. Update numbers/cell format to correct sort issue
    By maacmaac in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-03-2012, 12:50 PM
  6. Replies: 2
    Last Post: 07-17-2006, 12:55 PM
  7. auto calc on, but have to edit (f2) cells to force re-calc..help!
    By Curt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2006, 02:10 PM
  8. Auto update till......
    By comotoman in forum Excel General
    Replies: 3
    Last Post: 10-14-2005, 01:05 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