The task is this:
If I have a part number like.....
775-7 (or higher)
786-7 (or higher)
809-8 (or higher)
69-1 (or higher)
...... then check for a certain thing to happen.
Now, I import part numbers as text because of the dashes that are in some of the part numbers. Here are some of the part numbers that I would be checking:
775-7-6-4 (would qualify because it is a version of 775-7)
775-6-2 (would not qualify because it is lower than 775-7)
786-8-7-2 (would qualify because it is higher than 786-7)
69-1-0 (would qualify because it is a version of 69-1)
As you can see, the only thing I really need to confirm in this situation is if the first number after the dash is equal to or greater than a certain number. But, as I said prior, I import part numbers in as text.
I think I want something like this:
Return the first character after the dash, convert it to a number, is it greater than or equal to 7 if the part number starts with 775, if the part number starts with 809, is it greater than or equal to 8........
..
Since I'm only dealing with 10 total scenarios, I don't mind just building a 10 option if statement.
Please let me know your suggestions on how best to deal with this.