Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kennoc
 
Posts: n/a
Default Formula fails in text formatted cell

I was using IF on data which is mixed alpha and numeric (for example, some
cells were '3+4' , some 'S2' and some were '28') so I had formatted the
entire sheet as text.
When I tried to use IF, following the route of clicking on the Fx button
first, I found that the function performed correctly in the Function
Arguments dialog, but as soon as I clicked OK all I got was the text of the
function - not the result of the function - in the cell.
Reverting to General format fixed the problem; and since the source cells
were text, it seemed to understand that the destination would also be text.
I cannot find any reference to this problem in on-line help, so I thought I
should publicise it.
--
Ken Curwen
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default Formula fails in text formatted cell

This worked by design.

If you format a cell as text, XL assumes you intend for the contents to
be text. Cells formatted as Text, or cells prefixed by an apostrophe (')
are not evaluated by the parser to see if the entry is a formula, date,
etc.

If it didn't work this way, it would be difficult, if not impossible to
enter text starting with an equals sign into a cell.

In article ,
kennoc wrote:

I cannot find any reference to this problem in on-line help, so I thought I
should publicise it.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default Formula fails in text formatted cell

I'm not sure I understand what the "problem" is. If a cell is formatted as
Text, then it seems logical that anything entered into that cell should be
treated as such. Thus, an equals sign is simply just that. An equals sign.

HTH,
Elkar


"kennoc" wrote:

I was using IF on data which is mixed alpha and numeric (for example, some
cells were '3+4' , some 'S2' and some were '28') so I had formatted the
entire sheet as text.
When I tried to use IF, following the route of clicking on the Fx button
first, I found that the function performed correctly in the Function
Arguments dialog, but as soon as I clicked OK all I got was the text of the
function - not the result of the function - in the cell.
Reverting to General format fixed the problem; and since the source cells
were text, it seemed to understand that the destination would also be text.
I cannot find any reference to this problem in on-line help, so I thought I
should publicise it.
--
Ken Curwen

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I concatenate text in cells to make a working formula? Matt S. R. Excel Discussion (Misc queries) 11 November 11th 05 03:44 PM
Using the text from a cell as a range name in a formula Fletch Excel Discussion (Misc queries) 3 June 13th 05 07:57 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Text in cell as Formula SU Excel Discussion (Misc queries) 4 March 9th 05 06:37 PM
Formula with text and reference to a date cell [email protected] Excel Discussion (Misc queries) 1 January 11th 05 08:15 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"