*Always first two characters should be "V" and "-".
*third character should be alphabetic.
*last four characters should be numeric only.
*The length should be seven.
I need a validation like below example.
e.g. V-B0004
Thank you very much guys![]()
*Always first two characters should be "V" and "-".
*third character should be alphabetic.
*last four characters should be numeric only.
*The length should be seven.
I need a validation like below example.
e.g. V-B0004
Thank you very much guys![]()
This formula gives you True if the 4 rules are true and False otherwise
Formula:
Please Login or Register to view this content.
If you want validate the use of lowercase=uppercase you can use UPPER(A2) instead A2
As you posted this in the excel macro section I'll post a macro solution as well
Alf![]()
Please Login or Register to view this content.
If you do not mind attach the VBA file frnd pls![]()
I guess you can't apply the code, so attach a workbook showing where(range) to apply.![]()
Please Login or Register to view this content.
eg : V-B0004
When user enters first character as alphabetic(except capital V) or numeric value or special character -- Validation message should be "First character should be V"
When user enters second character as special character(except -) or numeric value or alphabetic -- Validation message should be "second character should be -"
When user enters third character as special character or numeric value-- Validation message should be "third character should be alphabetic"
When user enters last four characters as special character or alphabetic -- Validation message should be "last four characters should be numeric values"
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks