I am attempting to go through a large spreadsheet with a first column containing 12 digit id numbers. Within the 12 digit number is an identification trailer on the very last digit. I would like to sort the spreadsheet by grouping any 12 digit id number that ends in 1, 2 or 3. If I had an if then statement that could assign a 1 to the next column that would work great. I could sort easily by the next column of assigned 1's. It does not matter whether the last digit is a 1, 2 or 3 only that I seperate it from the remaining rows of data. Could someone please help! Thank you in advance!