ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula displayed; Not calculating? (https://www.excelbanter.com/excel-discussion-misc-queries/209901-formula-displayed%3B-not-calculating.html)

evoxfan

Formula displayed; Not calculating?
 
This is my formula: =LEFT(A8,3)
A8 = "00500"
A8 is formatted as text.
Per the functions argument, the reult should be "005".
Instead, the formula is displayed instead of the result.

Why is this not displayed and how can I correct?

Niek Otten

Formula displayed; Not calculating?
 
The cell was formatted as text when you entered the formula.
Format as General AND re-enter the formula (F2, ENTER)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"evoxfan" wrote in message
...
This is my formula: =LEFT(A8,3)
A8 = "00500"
A8 is formatted as text.
Per the functions argument, the reult should be "005".
Instead, the formula is displayed instead of the result.

Why is this not displayed and how can I correct?



Peo Sjoblom[_2_]

Formula displayed; Not calculating?
 
Change the format in the cell with the formula to general

--


Regards,


Peo Sjoblom

"evoxfan" wrote in message
...
This is my formula: =LEFT(A8,3)
A8 = "00500"
A8 is formatted as text.
Per the functions argument, the reult should be "005".
Instead, the formula is displayed instead of the result.

Why is this not displayed and how can I correct?




ShaneDevenshire

Formula displayed; Not calculating?
 
Hi,

yes, Excel says the argument is text but what it means is that it treat the
argument as text, not that the function should be entered into a cell
formatted as text. The LEFT, RIGHT and MID function return text, which means
if you have a formula such as =LEFT(A1,2) and A1 contains a number 12345
Excel returns the text 12, the result is text not a number. But you can
easily convert it back to a number if need be.

--
Thanks,
Shane Devenshire


"evoxfan" wrote:

This is my formula: =LEFT(A8,3)
A8 = "00500"
A8 is formatted as text.
Per the functions argument, the reult should be "005".
Instead, the formula is displayed instead of the result.

Why is this not displayed and how can I correct?



All times are GMT +1. The time now is 02:51 PM.

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