Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
C1 has a "Text" format and it contains: 123456
When I insert a new column (D), the format of its cells is (by default) "Text". In D1, I enter the formula: =VALUE(c1/100) Because the format of D1 is "Text", D1 contains the literal "=VALUE(c1/100)" I then do FORMAT/CELLS, click GENERAL then click "OK". When I press f2 and press "Enter", D1 now contains the value: 1234.56 However, if I later change the formula of D1, the "General" format changes back to "Text" and it again contains the literal "=VALUE(c1/100)" How can I prevent the format from changing? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I don't think you can change the way excel likes to help.
But maybe you could just drop the Text formatting (keep the cell formatted as General), but do your data entry as '123456 (include that leading apostrophe). wrote: C1 has a "Text" format and it contains: 123456 When I insert a new column (D), the format of its cells is (by default) "Text". In D1, I enter the formula: =VALUE(c1/100) Because the format of D1 is "Text", D1 contains the literal "=VALUE(c1/100)" I then do FORMAT/CELLS, click GENERAL then click "OK". When I press f2 and press "Enter", D1 now contains the value: 1234.56 However, if I later change the formula of D1, the "General" format changes back to "Text" and it again contains the literal "=VALUE(c1/100)" How can I prevent the format from changing? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Dave,
I just noticed that the cells have a "text" format when their column is inserted NEXT TO a column with "text"-formatted cells. However, the cells have a "general" format when their column is inserted a few columns AWAY FROM a column with "text"-formatted cells. gary |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yep. Excel likes to help. It's sometimes (usually???) irritating.
I would import an ASCII file and want to make sure a column was treated as text. Then insert that adjacent column and have to remember to change the format back to General. wrote: Hi Dave, I just noticed that the cells have a "text" format when their column is inserted NEXT TO a column with "text"-formatted cells. However, the cells have a "general" format when their column is inserted a few columns AWAY FROM a column with "text"-formatted cells. gary -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom Formats | Excel Discussion (Misc queries) | |||
Too many different cell formats | Excel Discussion (Misc queries) | |||
Maximum Number of Cell Formats | Excel Discussion (Misc queries) | |||
How do I find out how many different cell formats an existing wor. | Excel Discussion (Misc queries) | |||
Too Many Different Cell Formats | Excel Worksheet Functions |