Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Excel, by Sorting the blank character should come first

Tags:

sorting

excel

I try to sort the data in Excel 2010 The blank character always comes at the end of the result. I sorted A-Z order an in Z-A Order. No effect by blank rows..?

Any idea how i can do that?

like image 421
Kayser Avatar asked Feb 10 '12 15:02

Kayser


People also ask

What is the sort order in Excel?

Sort quickly Select a single cell in the column you want to sort. Click Sort A to Z to perform an ascending sort (A to Z or smallest number to largest). Click Sort Z to A to perform a descending sort (Z to A or largest number to smallest).


2 Answers

There's no way to do that without a helper column that would have values in it. In the column next to all of this put the formula =A1="" this will return a false for non-blanks and a true for blanks. Then do custom sort, first by the true/false then ascending for the other value

like image 56
Raystafarian Avatar answered Sep 21 '22 15:09

Raystafarian


It's a pain, but you can highlight your data, then press F5, select special, then select blanks. You can then color them or fill them with the single space others have suggested by hitting F2, then typing your space, and holding CTRL when you press enter.

I recommend color though, as you don't actually have to modify your data in a way that won't matter if you aren't otherwise using color to identify your data.

like image 30
David Avatar answered Sep 21 '22 15:09

David