ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sorting and Blank Cells (https://www.excelbanter.com/excel-worksheet-functions/127954-sorting-blank-cells.html)

Jeff G

Sorting and Blank Cells
 
I have a column which has a formula in each cell pulling data from a second
worksheet. If the cell does not find data in the second worksheet, then a
blank ("") is entered into the cell.

The problem is that I would like the sort ascending the data after it
updates from the second worksheet, but if there are blank cells then they are
placed at the top of my column. I thought that Excel always put blank cells
at the bottom of a sort ascending. Does the formula in the cell make it a
"nonblank" cell?

Thanks.



Pete_UK

Sorting and Blank Cells
 
Yes, Jeff, that is correct. If you want them to sort to the bottom,
perhaps you could amend your formulae to return "zz_Not found" instead
of "".

Hope this helps.

Pete

On Jan 26, 7:43 pm, Jeff G wrote:
I have a column which has a formula in each cell pulling data from a second
worksheet. If the cell does not find data in the second worksheet, then a
blank ("") is entered into the cell.

The problem is that I would like the sort ascending the data after it
updates from the second worksheet, but if there are blank cells then they are
placed at the top of my column. I thought that Excel always put blank cells
at the bottom of a sort ascending. Does the formula in the cell make it a
"nonblank" cell?

Thanks.




All times are GMT +1. The time now is 08:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com