Here is what I would like to do:
Input an account number in A1
I would like B1 to have a formula to determine what type of account it is.
* * * *
I want to insert a 15-16 digit account number into A1. But only the first 8 digits of that account number is all I want to determine the type of account it is.
So, let's say account #s 11111111XXXXXXXX, 22222222XXXXXXXX, 33333333XXXXXXXX, etc are all ABC account, so I want B1 to display "ABC" if it meets the criteria (There are 7 different account numbers total that would fall under this criteria).
If the criteria is not met for the above 7 account numbers, then I would like Excel to automatically assume its XYZ account, and display "XYZ" in B1.
Remember, only the First Eight of the account number should be used into figuring out the account type, but I need all 15-16 digits of the account number to be in the A1 cell.
If a formula will not help, perhaps something in VBA?
Thanks so much in advance! I hope this thing I am attempting to do is possible!
Input an account number in A1
I would like B1 to have a formula to determine what type of account it is.
* * * *
I want to insert a 15-16 digit account number into A1. But only the first 8 digits of that account number is all I want to determine the type of account it is.
So, let's say account #s 11111111XXXXXXXX, 22222222XXXXXXXX, 33333333XXXXXXXX, etc are all ABC account, so I want B1 to display "ABC" if it meets the criteria (There are 7 different account numbers total that would fall under this criteria).
If the criteria is not met for the above 7 account numbers, then I would like Excel to automatically assume its XYZ account, and display "XYZ" in B1.
Remember, only the First Eight of the account number should be used into figuring out the account type, but I need all 15-16 digits of the account number to be in the A1 cell.
If a formula will not help, perhaps something in VBA?
Thanks so much in advance! I hope this thing I am attempting to do is possible!