Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to have the cell format set as text but display numbers
like $123,456.1234 while still having the data be just 123456.1234 I know that it would be easier to set the cell format to number, but I want to manipulate the data and the number format messes that up. I can start out with the cell format set at text, manipulate the data, and -then- set the cell format to number to get the proper display, which works fine until the user enters a number in that cell a second time and now the format is set to number. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use FormatCellsCustom then in the box above the suggested custom styles
type: "$###,##0.0000_"; ($###,##0.0000) Then click OK "RC" wrote: I would like to have the cell format set as text but display numbers like $123,456.1234 while still having the data be just 123456.1234 I know that it would be easier to set the cell format to number, but I want to manipulate the data and the number format messes that up. I can start out with the cell format set at text, manipulate the data, and -then- set the cell format to number to get the proper display, which works fine until the user enters a number in that cell a second time and now the format is set to number. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Or, just select currency and set the decimal places to 4.
"RC" wrote: I would like to have the cell format set as text but display numbers like $123,456.1234 while still having the data be just 123456.1234 I know that it would be easier to set the cell format to number, but I want to manipulate the data and the number format messes that up. I can start out with the cell format set at text, manipulate the data, and -then- set the cell format to number to get the proper display, which works fine until the user enters a number in that cell a second time and now the format is set to number. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Mar 23, 2:17 pm, JLGWhiz wrote:
Or, just select currency and set the decimal places to 4. "RC" wrote: I would like to have the cell format set as text but display numbers like $123,456.1234 while still having the data be just 123456.1234 I know that it would be easier to set the cell format to number, but I want to manipulate the data and the number format messes that up. I can start out with the cell format set at text, manipulate the data, and -then- set the cell format to number to get the proper display, which works fine until the user enters a number in that cell a second time and now the format is set to number. Thanks, I will try both of the above suggestions, it looks like they don't mess up the data, so I can still manipulate the numbers as a 'text' string. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I format a cell to have the same text with a number | Excel Worksheet Functions | |||
how do i format the text displayed in a drop down menu? | Excel Discussion (Misc queries) | |||
Count number of times a specific number is displayed in a cell ran | Excel Worksheet Functions | |||
Displayed number format | Excel Worksheet Functions | |||
data imported into EXCEL as text displayed as exponential number | Excel Programming |