Why not just use the sort function? Because I work with idiots and they'll be using this too.
Problem, I can't get blanks spaces to stop appearing and I can't differentiate between two people with the same last name. When I can, I can't tell it to then look at first name to see who goes first.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]"Alphabetized"[/TD]
[TD]Numbers in case of 0s[/TD]
[TD]Converted to Numbers[/TD]
[TD]Last only[/TD]
[TD]Full Name[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(1,$O$2:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$2:$Q$16,"<="&Q2)-COUNTIF(P2:P5,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q2)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R2," ",REPT(" ",100)),100))[/TD]
[TD]Tyler Bailey[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(2,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$2:$Q$16,"<="&Q3)-COUNTIF(P3:P6,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q3)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R3," ",REPT(" ",100)),100))[/TD]
[TD]Bill Bailey[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(3,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$2:$Q$16,"<="&Q1)-COUNTIF(P4:P7,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q4)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R4," ",REPT(" ",100)),100))[/TD]
[TD]Christian Tanner[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(4,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$1:$Q$16,"<="&Q1)-COUNTIF(P5:P8,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q5)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R5," ",REPT(" ",100)),100))[/TD]
[TD]Kyle West[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(5,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$1:$Q$16,"<="&Q1)-COUNTIF(P6:P9,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q6)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R6," ",REPT(" ",100)),100))[/TD]
[TD]LOL FARM[/TD]
[/TR]
</tbody>[/TABLE]
When it does countif in either line, if there are multiple same last names it skips a number and has two of the next number instead so the "alphabetized" cloumn looks like this...
[TABLE="class: grid, width: 150, align: center"]
<tbody>[TR]
[TD]Blank space[/TD]
[/TR]
[TR]
[TD]Tyler Bailey[/TD]
[/TR]
[TR]
[TD]LOL FARM[/TD]
[/TR]
[TR]
[TD]Christian Tanner[/TD]
[/TR]
[TR]
[TD]Kyle West[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Problem, I can't get blanks spaces to stop appearing and I can't differentiate between two people with the same last name. When I can, I can't tell it to then look at first name to see who goes first.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]"Alphabetized"[/TD]
[TD]Numbers in case of 0s[/TD]
[TD]Converted to Numbers[/TD]
[TD]Last only[/TD]
[TD]Full Name[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(1,$O$2:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$2:$Q$16,"<="&Q2)-COUNTIF(P2:P5,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q2)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R2," ",REPT(" ",100)),100))[/TD]
[TD]Tyler Bailey[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(2,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$2:$Q$16,"<="&Q3)-COUNTIF(P3:P6,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q3)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R3," ",REPT(" ",100)),100))[/TD]
[TD]Bill Bailey[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(3,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$2:$Q$16,"<="&Q1)-COUNTIF(P4:P7,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q4)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R4," ",REPT(" ",100)),100))[/TD]
[TD]Christian Tanner[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(4,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$1:$Q$16,"<="&Q1)-COUNTIF(P5:P8,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q5)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R5," ",REPT(" ",100)),100))[/TD]
[TD]Kyle West[/TD]
[/TR]
[TR]
[TD]=IFERROR(VLOOKUP(5,$O$1:$T$6,4,FALSE),"")[/TD]
[TD]=COUNTIF($Q$1:$Q$16,"<="&Q1)-COUNTIF(P6:P9,"0")[/TD]
[TD]=COUNTIF($Q$2:$Q$6,"<="&Q6)[/TD]
[TD]=TRIM(RIGHT(SUBSTITUTE(R6," ",REPT(" ",100)),100))[/TD]
[TD]LOL FARM[/TD]
[/TR]
</tbody>[/TABLE]
When it does countif in either line, if there are multiple same last names it skips a number and has two of the next number instead so the "alphabetized" cloumn looks like this...
[TABLE="class: grid, width: 150, align: center"]
<tbody>[TR]
[TD]Blank space[/TD]
[/TR]
[TR]
[TD]Tyler Bailey[/TD]
[/TR]
[TR]
[TD]LOL FARM[/TD]
[/TR]
[TR]
[TD]Christian Tanner[/TD]
[/TR]
[TR]
[TD]Kyle West[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]