MS Excel showing the formula in a cell instead of the resulting value

前端 未结 8 1421
不思量自难忘°
不思量自难忘° 2021-02-18 21:13

\"excel

The above image shows 3 cells containing the form

相关标签:
8条回答
  • 2021-02-18 21:40

    If all else fails, Ctrl-H (search and replace) with "=" in both boxes (in other words, search on = and replace it with the same =). Seems to do the trick.

    0 讨论(0)
  • 2021-02-18 21:40

    Make sure that...

    • There's an = sign before the formula
    • There's no white space before the = sign
    • There are no quotes around the formula (must be =A1, instead of "=A1")
    • You're not in formula view (hit Ctrl + ` to switch between modes)
    • The cell format is set to General instead of Text
    • If simply changing the format doesn't work, hit F2, Enter
    • Undoing actions (CTRL+Z) back until the value shows again and then simply redoing all those actions with CTRL-Y also worked for some users
    0 讨论(0)
  • 2021-02-18 21:41

    Try this if the above solution aren't working, worked for me

    Cut the whole contents in the worksheet using "Ctrl + A" followed by "Ctrl + X" and paste it to a new sheet. Your reference to formulas will remain intact when you cut paste.

    0 讨论(0)
  • 2021-02-18 21:42

    If you are using VBA to enter formulas, it is possible to accidentally enter them incompletely:

    Sub AlmostAFormula()
        With Range("A1")
            .Clear
            .NumberFormat = "@"
            .Value = "=B1+C1"
            .NumberFormat = "General"
        End With
    End Sub
    

    A1 will appear to have a formula, but it is only text until you double-click the cell and touch Enter .

    Make sure you have no bugs like this in your code.

    0 讨论(0)
  • 2021-02-18 21:47

    I had the same problem and solved with below:

    Range("A").Formula = Trim(CStr("the formula"))

    0 讨论(0)
  • 2021-02-18 21:48

    Check for spaces in your formula before the "=". example' =A1' instean '=A1'

    0 讨论(0)
提交回复
热议问题