Alphabetize column with formula, not filter

HeRoseInThree

Board Regular
Joined
Jan 11, 2018
Messages
103
I am trying to sort column u (u1:u84) and My co-worker hooked me up with this formula: =INDEX($U$2:$U$88,MATCH(ROWS($U$2:U3),COUNTIF($U$2:$U$88,"<="&$U$2:$U$88),0))

It works great, except it left out 2 names. I messed around with it and can't seem to get it.

Any ideas?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Does your data start in row 1 or row 2?

row 1: =INDEX($U$1:$U$88,MATCH(ROWS($U$1:U1),COUNTIF($U$1:$U$88,"<="&$U$1:$U$88),0))
row 2: =INDEX($U$2:$U$88,MATCH(ROWS($U$2:U2),COUNTIF($U$2:$U$88,"<="&$U$2:$U$88),0))
 
Upvote 0
It starts in 1.

I tried your row 1 formula, and when I pasted it into my spreadsheet I get #N/A error. I actually have data only in 1 - 84, but it only works when I go to 88...
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top