mwhite0788
New Member
- Joined
- Aug 25, 2014
- Messages
- 8
Hello,
What I am trying to accomplish is the following, One of the columns in my spreadsheet has Item Numbers in the form of ABC-123-100X50 for the Prefix ABC and DEF-123-50 for the prefix DEF, What i want to do is have a check that will see if the Prefix is ABC then the string must contain "-","-","X", otherwise it errors or warnings and if it has the Prefix DEF it must contain "-","-" or it errors. Any ideas on how I can accomplish this.
Thanks,
Mike
What I am trying to accomplish is the following, One of the columns in my spreadsheet has Item Numbers in the form of ABC-123-100X50 for the Prefix ABC and DEF-123-50 for the prefix DEF, What i want to do is have a check that will see if the Prefix is ABC then the string must contain "-","-","X", otherwise it errors or warnings and if it has the Prefix DEF it must contain "-","-" or it errors. Any ideas on how I can accomplish this.
Thanks,
Mike