Custom Alphanumeric Formatting using Data Validation

Ebreezy757

New Member
Joined
Jul 21, 2017
Messages
3
Hi guys,

I have tried to reverse engineer some formulas that I've found on the forum for my specific case, but I could never get them to work correctly. I was hoping someone might be able to help my lock the input of a cell down to this specific set of characters.

1. First character will always be a letter (text)
2. The next seven characters will always be numbers
3. The ninth character will always be a letter (text)
4. The last four digits will always be numbers.
5. I would like the letters to be remain capital letters

An example would be: N0018712A2345

Thanks in advance for any help you can provide!
 
Rick Rothstein and Tetra, you guys are awesome! Ultimately, the formula with the length test at the end worked perfectly. I REALLY APPRECIATE your hard work and THANK YOU!!
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi to all,

I need to restrict some data in the Excel cells

Here it is the scenarios:

AA:BB:CC:DD:WW:ZZ

Total character = 17
Allowed Numbers or Upper Letters Only
On the 3-rd,6-th,9-th,12 and 15-in position must be only ":" character.

So those are the rule that I want the cell in Excel to follow.

Could you help me on this?
Thank you,
Dritan
 
Upvote 0

Forum statistics

Threads
1,215,336
Messages
6,124,330
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top