Why does my Google Sheets formula not automatically recalculate?

后端 未结 3 1530
攒了一身酷
攒了一身酷 2020-12-21 06:04

I have this formula in a cell in a \'Summary\' sheet which is waiting for a new sheet to be created with its name being a date:

=IFERROR(VLOOKUP($A3, INDIREC         


        
相关标签:
3条回答
  • 2020-12-21 06:23
    • This is due to INDIRECT.

    • A partial workaround:

      =IFERROR(INDIRECT("'"&C9&"'!A1"),RAND())
      
    • Use this instead of just INDIRECT in your formula. It still won't update on opening and closing. But it'll update, Whenever there's a edit anywhere in the sheet (making this a double volatile combo with RAND()).

    • Also, Try turning on recalculations every 6 hours or so in spreadsheet settings.

    PS: Your Spreadsheet might burn

    0 讨论(0)
  • 2020-12-21 06:27

    Sorry for the late response, but I believe I have a solution that works a little better. I was experiencing the same problem with formulas involving almost exactly the same set of formulas.

    Basically, just add in a check to see if now() equals an impossible time (0), and when it fails (every time), have it execute the formula that won't update on its own.

    =IF(NOW()=0,"",
    IFERROR(VLOOKUP($A3, INDIRECT("'"&TEXT(BN$2,"m/d/yyyy")&"'!$E$6:$o$100"), 11, false), "")
    )
    
    0 讨论(0)
  • 2020-12-21 06:30

    based on idea similar to TheMaster I defined a named range refresh and refered to it in the else portion of the IFERROR formula. Whenever I create a new sheet, rename an existing one, or feel the need to make sure all indirects are updated I simply edit the content of refresh, and put it back to blank.

    =arrayformula(iferror(indirect(B11&"!D42:H42");refresh))
    
    0 讨论(0)
提交回复
热议问题