ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Displaying a custom formatted number (https://www.excelbanter.com/excel-discussion-misc-queries/152294-displaying-custom-formatted-number.html)

wx4usa

Displaying a custom formatted number
 
I would like a person to enter a number up to 2 digits, followed by a
dash "-" then 2 more digits.

Example: enter 23-67 or 45-09 or 01- 35 is entered into a cell and
excel wants to convert it to dates and times etc.

How do I do this?


Dallman Ross

Displaying a custom formatted number
 
In .com, wx4usa
spake thusly:

Example: enter 23-67 or 45-09 or 01- 35 is entered into a cell
and excel wants to convert it to dates and times etc.


Just format the cells to Text and the values entered will no
longer look like dates.

--
dman

wx4usa

Displaying a custom formatted number
 
On Jul 30, 5:42 pm, Dallman Ross <dman@localhost. wrote:
In .com, wx4usa
spake thusly:

Example: enter 23-67 or 45-09 or 01- 35 is entered into a cell
and excel wants to convert it to dates and times etc.


Just format the cells to Text and the values entered will no
longer look like dates.

--
dman


Thank you, very much!


Dallman Ross

Displaying a custom formatted number
 
In . com, wx4usa
spake thusly:

Thank you, very much!


You're welcome!

--
dman


All times are GMT +1. The time now is 12:15 AM.

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