ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula or function displays after edit and not its result (https://www.excelbanter.com/excel-worksheet-functions/173479-formula-function-displays-after-edit-not-its-result.html)

DaveR

Formula or function displays after edit and not its result
 
I'm using vlookup(). When first entered, the formula shows the proper result.
If I edit the formula in any way like simply retyping a part of it, the
result of the vlookup() is no longer displayed, only the cell formula is
displayed. Even if I change back to the original "working" entry. Here is a
specific example: =VLOOKUP($E$1,'F:\DocumentControl\Documents\DOC-001-D
(MODEL_NO)\[DOC-001-D (MODEL_NO).XLS]MODEL_NO'!$A$3:$AZ$1200,2)
Originally the "col_index_num" was a cell reference such as "M2" to a cell
containing a number "2". When the cell reference was changed to the actual
number "2", the spreadsheet failed and the function cell showed the function
itself and not the result of the function. Changing back to "M2" didn't fix
the problem. Any innocuous edit seemed to cause this problem.

Pete_UK

Formula or function displays after edit and not its result
 
Your cell might be formatted as Text - format it as General, and then
double-click the cell as if to edit it then press <enter to bring
about the change in format.

It might also be that your worksheet has been set to manual
calculation - Tools | Options | Calculation tab, and set to Automatic.

Hope this helps.

Pete

On Jan 17, 5:28*pm, DaveR wrote:
I'm using vlookup(). When first entered, the formula shows the proper result.
If I edit the formula in any way like simply retyping a part of it, the
result of the vlookup() is no longer displayed, only the cell formula is
displayed. Even if I change back to the original "working" entry. Here is a
specific example: =VLOOKUP($E$1,'F:\DocumentControl\Documents\DOC-001-D
(MODEL_NO)\[DOC-001-D (MODEL_NO).XLS]MODEL_NO'!$A$3:$AZ$1200,2)
Originally the "col_index_num" was a cell reference such as "M2" to a cell
containing a number "2". When the cell reference was changed to the actual
number "2", the spreadsheet failed and the function cell showed the function
itself and not the result of the function. Changing back to "M2" didn't fix
the problem. Any innocuous edit seemed to cause this problem.



DaveR

Formula or function displays after edit and not its result
 
Thank you very much. I was reading similar responses with same result. Simply
reformating the spreadsheet or specifically the cells in question, didn't fix
the problem. After a general "reformat" to General, In the formula bar I had
to copy the entry, clear the cell, then paste it back. That fixed it.

Thank you for your speedy response. ~Dave

"Pete_UK" wrote:

Your cell might be formatted as Text - format it as General, and then
double-click the cell as if to edit it then press <enter to bring
about the change in format.

It might also be that your worksheet has been set to manual
calculation - Tools | Options | Calculation tab, and set to Automatic.

Hope this helps.

Pete

On Jan 17, 5:28 pm, DaveR wrote:
I'm using vlookup(). When first entered, the formula shows the proper result.
If I edit the formula in any way like simply retyping a part of it, the
result of the vlookup() is no longer displayed, only the cell formula is
displayed. Even if I change back to the original "working" entry. Here is a
specific example: =VLOOKUP($E$1,'F:\DocumentControl\Documents\DOC-001-D
(MODEL_NO)\[DOC-001-D (MODEL_NO).XLS]MODEL_NO'!$A$3:$AZ$1200,2)
Originally the "col_index_num" was a cell reference such as "M2" to a cell
containing a number "2". When the cell reference was changed to the actual
number "2", the spreadsheet failed and the function cell showed the function
itself and not the result of the function. Changing back to "M2" didn't fix
the problem. Any innocuous edit seemed to cause this problem.




Pete_UK

Formula or function displays after edit and not its result
 
You're welcome, Dave - glad you got it working.

Pete

On Jan 17, 5:52*pm, DaveR wrote:
Thank you very much. I was reading similar responses with same result. Simply
reformating the spreadsheet or specifically the cells in question, didn't fix
the problem. After a general "reformat" to General, In the formula bar I had
to copy the entry, clear the cell, then paste it back. That fixed it.

Thank you for your speedy response. ~Dave



"Pete_UK" wrote:
Your cell might be formatted as Text - format it as General, and then
double-click the cell as if to edit it then press <enter to bring
about the change in format.


It might also be that your worksheet has been set to manual
calculation - Tools | Options | Calculation tab, and set to Automatic.


Hope this helps.


Pete


On Jan 17, 5:28 pm, DaveR wrote:
I'm using vlookup(). When first entered, the formula shows the proper result.
If I edit the formula in any way like simply retyping a part of it, the
result of the vlookup() is no longer displayed, only the cell formula is
displayed. Even if I change back to the original "working" entry. Here is a
specific example: =VLOOKUP($E$1,'F:\DocumentControl\Documents\DOC-001-D
(MODEL_NO)\[DOC-001-D (MODEL_NO).XLS]MODEL_NO'!$A$3:$AZ$1200,2)
Originally the "col_index_num" was a cell reference such as "M2" to a cell
containing a number "2". When the cell reference was changed to the actual
number "2", the spreadsheet failed and the function cell showed the function
itself and not the result of the function. Changing back to "M2" didn't fix
the problem. Any innocuous edit seemed to cause this problem.- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 01:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com