Hello profs., I am having a long table containing about 20,000 rows (format is in numbers having 15 characters long), I need to get only the first 6 digits in the left for each number and then need to do an if statement with 12 conditions so to map each code with its correspondent company name to be as follow noting that i am using office 2013:
553667 it is "Company 1 name"
443213 it is "Company 2 name"
654345 it is "Company 3 name"
986543 it is "Company 4 name"
098837 it is "Company 5 name"
634533 it is "Company 6 name"
847564 it is "Company 7 name"
982474 it is "Company 8 name"
837464 it is "Company 9 name"
263535 it is "Company 10 name"
263637 it is "Company 11 name"
948373 it is "Company 12 name"
Appreciate getting your support and many thanks in advance
553667 it is "Company 1 name"
443213 it is "Company 2 name"
654345 it is "Company 3 name"
986543 it is "Company 4 name"
098837 it is "Company 5 name"
634533 it is "Company 6 name"
847564 it is "Company 7 name"
982474 it is "Company 8 name"
837464 it is "Company 9 name"
263535 it is "Company 10 name"
263637 it is "Company 11 name"
948373 it is "Company 12 name"
Appreciate getting your support and many thanks in advance