Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to create a custom cell format so that all entries are
force to look as follows? JI-1234567 The (JI-) are constant followed by a combination of seven digits. Can I do this in excel or is a macro needed? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Right click on the cell and select Format Cells. Select Custom under
the Category list box of the Number tab. In the Type field, enter "JI-"####### and leave the quotes intact. Now, any 7 digit number entered in that cell will be preceded by JI-. HTH -Jeff- Little Penny wrote: Is it possible to create a custom cell format so that all entries are force to look as follows? JI-1234567 The (JI-) are constant followed by a combination of seven digits. Can I do this in excel or is a macro needed? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks
Is there a way to make sure they put in the seven digits. I'm mean can I have excel reject if it not in this format On Aug 27, 1:15 pm, JW wrote: Right click on the cell and select Format Cells. Select Custom under the Category list box of the Number tab. In the Type field, enter "JI-"####### and leave the quotes intact. Now, any 7 digit number entered in that cell will be preceded by JI-. HTH -Jeff- Little Penny wrote: Is it possible to create a custom cell format so that all entries are force to look as follows? JI-1234567 The (JI-) are constant followed by a combination of seven digits. Can I do this in excel or is a macro needed?- Hide quoted text - - Show quoted text - |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can use Data Validation. Go to Data--Validation. In the
Settings tab, set the Allow field to Whole Number, the Data field to Between, the Minimum to 1000000, and the Maximum to 9999999. This will force them to enter a number between those two numbers. Now, if they need to enter something that begins in 0, we will have to do a bit more tweaking. HTH -Jeff- Little Penny wrote: Thanks Is there a way to make sure they put in the seven digits. I'm mean can I have excel reject if it not in this format On Aug 27, 1:15 pm, JW wrote: Right click on the cell and select Format Cells. Select Custom under the Category list box of the Number tab. In the Type field, enter "JI-"####### and leave the quotes intact. Now, any 7 digit number entered in that cell will be preceded by JI-. HTH -Jeff- Little Penny wrote: Is it possible to create a custom cell format so that all entries are force to look as follows? JI-1234567 The (JI-) are constant followed by a combination of seven digits. Can I do this in excel or is a macro needed?- Hide quoted text - - Show quoted text - |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at Data=Validation
-- Regards, Tom Ogilvy "Little Penny" wrote: Thanks Is there a way to make sure they put in the seven digits. I'm mean can I have excel reject if it not in this format On Aug 27, 1:15 pm, JW wrote: Right click on the cell and select Format Cells. Select Custom under the Category list box of the Number tab. In the Type field, enter "JI-"####### and leave the quotes intact. Now, any 7 digit number entered in that cell will be preceded by JI-. HTH -Jeff- Little Penny wrote: Is it possible to create a custom cell format so that all entries are force to look as follows? JI-1234567 The (JI-) are constant followed by a combination of seven digits. Can I do this in excel or is a macro needed?- Hide quoted text - - Show quoted text - |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() The first numerical digits does starts with a zero. Example JI-0457895 I guess this opens up a whole new can of worms... On Aug 27, 1:40 pm, Tom Ogilvy wrote: Look at Data=Validation -- Regards, Tom Ogilvy "Little Penny" wrote: Thanks Is there a way to make sure they put in the seven digits. I'm mean can I have excel reject if it not in this format On Aug 27, 1:15 pm, JW wrote: Right click on the cell and select Format Cells. Select Custom under the Category list box of the Number tab. In the Type field, enter "JI-"####### and leave the quotes intact. Now, any 7 digit number entered in that cell will be preceded by JI-. HTH -Jeff- Little Penny wrote: Is it possible to create a custom cell format so that all entries are force to look as follows? JI-1234567 The (JI-) are constant followed by a combination of seven digits. Can I do this in excel or is a macro needed?- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
format cell custom Number format | Excel Worksheet Functions | |||
Format Cell as custom type but data doesn't display like I custom. | Excel Discussion (Misc queries) | |||
Custom Cell format to mimic time format | Excel Discussion (Misc queries) | |||
Format a cell with a custom number format | Excel Worksheet Functions | |||
Custom format that shows blank cell if another cell is empty | Excel Discussion (Misc queries) |