Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Sort when I have blank cells

Hello,

I am trying to sort ascending a range containing blank cells. After sorting,
the blank cells will be displayed on top and the cells woth text at the end.

e.g, if I sort column A1:A10, I get B1:B10.

A B C
1 1
3 2
3
4 4
2 1 5
2 6
3
6 4
5
5 6


What should I do to hace an ascending sorted range displaying the cells with
text first and the empty cells at the bottom, as in C1:C10?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sort when I have blank cells

When I sorted a list of numbers, they always moved to the top.

If I sorted text, then all the really empty cells moved to the bottom. But the
cells that weren't empty, but still looked blank (evaluated to ="" or a
contained a space character) would sort to the top.

So you could clean up those cells that look blank by hitting the delete key and
really making them empty.

Or you could add a helper column and use a formula that would plop in a value
that would sort to the bottom. Then you could sort by that.

=if(a1="","zzzzzzzzzzzz",a1)



C. Corodan wrote:

Hello,

I am trying to sort ascending a range containing blank cells. After sorting,
the blank cells will be displayed on top and the cells woth text at the end.

e.g, if I sort column A1:A10, I get B1:B10.

A B C
1 1
3 2
3
4 4
2 1 5
2 6
3
6 4
5
5 6


What should I do to hace an ascending sorted range displaying the cells with
text first and the empty cells at the bottom, as in C1:C10?

Thanks,


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Index/match - make blank cells return a blank value. diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM
sort and sum data range with some blank cells rldjda Excel Worksheet Functions 1 March 23rd 08 06:19 AM
Maximum Number of Blank Cells between Non Blank Cells in a Range Mal Excel Worksheet Functions 5 November 3rd 07 08:21 AM
Why arent my blank cells moved to the end when I do a sort? George New Users to Excel 3 May 31st 06 09:34 PM
Imported Data creates blank cells that aren't really blank JackieD Excel Worksheet Functions 14 February 23rd 06 12:57 AM


All times are GMT +1. The time now is 09:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"