![]() |
|
#1
|
|||
|
|||
|
Hi, I am trying to restrict certain cells to have to start with "N" followed by 8 digits. For example N12345678 The N has to remain constant but the 8 numbers can change as entered by the user. Any help will be apprceciated. Thank you for your time in advance. |
|
#2
|
||||
|
||||
|
Hi
in A2,try Data - Data Validation - Select " Custom" and enter following formula =AND(LEN(A2)=9,CODE(A2)=78,ISNUMBER(RIGHT(A2,8)*1) ) Adapt the cell to your needs
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
#3
|
|||
|
|||
|
Quote:
I'm not that great with Excel so this may be a noob question, but I wan the "N" to be constant but it can be lower case or upper case is that possible? Thanks. Also I assume I hit the rep button to say thanks on this forum? |
|
#4
|
||||
|
||||
|
Perhaps
Code:
=AND(LEN(A2)=9,or((CODE(A2)=78,(code(a2)=110)),ISNUMBER(RIGHT(A2,8)*1) )
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Selected cell is "copied" whenever I use scroll bar | CrabApple | Excel | 5 | 09-07-2012 03:45 PM |
| 'Linking' entered information to other "cells" from an original "cell" in MS Word | Wade | Word | 6 | 09-03-2012 05:22 PM |
| Outlook 2003, Modify default "entry type" for new journal entries | narichardson | Outlook | 5 | 03-14-2012 08:34 AM |
How to choose a "List" for certain "Heading" from "Modify" tool?
|
Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |
How can I paste cell "A1" contents to cell "B1" if cell "A1" is not blank?
|
Learner7 | Excel | 1 | 04-25-2011 04:39 AM |