I am making a spreadsheet that automatically alphabetized as data is input by last name then first name for those that have the same last name, problem is I can't figure out how compare the two.
I have helper columns that trim to last name only, and countif <= converts last name into numbers that are numerically the order the last name should be in order to alphabetize.
After this the vlookup I use finds #1 and inputs that name.
Problem I have is if there are two last names that are the same it skips a number and then will have two of the next number, ex. skips 10 then two 11s. This creates a problem for the vlookup when there is no #10 it leaves the space blank.
I have helper columns that trim to last name only, and countif <= converts last name into numbers that are numerically the order the last name should be in order to alphabetize.
After this the vlookup I use finds #1 and inputs that name.
Problem I have is if there are two last names that are the same it skips a number and then will have two of the next number, ex. skips 10 then two 11s. This creates a problem for the vlookup when there is no #10 it leaves the space blank.