May 03 2020 10:03 AM
I have a problem with my Excel spreadsheet where I do not get an option to sort numerically in descending order - largest to smallest. I only get an option to sort alphabetically. The cell values are either blank or numeric. Each cell is using the following formula - =IFERROR(VLOOKUP($P10, May3List, 6, FALSE), “”).
May 03 2020 11:01 AM
@RohitNaval Then I suspect that your "numbers" are in fact texts. What do you get when you enter =ISNUMBER(<cell reference>) where the cell reference is a cell where you have the number? FALSE? Then it's not a number. If not, perhaps you can upload an example of your schedule.
May 03 2020 11:41 AM - edited May 03 2020 12:01 PM
SolutionIn addition, you don't have blank cells, you have cells with empty texts returned by =IFERROR(...,""). As soon as we have texts within the range, even empty, Excel suggests to sort alphabetically. With =IFERROR(...,0) most probably that will be numeric sorting.
May 03 2020 11:52 AM
May 03 2020 11:55 AM
@SergeiBaklan That is exactly what's happening. Most of the cells are empty and Excel is defaulting to sort alphabetically. Any way to change that sort option to numeric?
I did change the IFERROR formula from "" to 0 and now the sort works numerically. However I have so many zeros showing now.
May 03 2020 12:01 PM
You may hide zeroes through settings or by custom number format, here is how https://www.techrepublic.com/blog/windows-and-office/pro-tip-three-ways-to-hide-zero-values-in-an-ex...
May 03 2020 12:20 PM
May 03 2020 12:23 PM - edited May 03 2020 12:29 PM
While I have you, when a cell shows a green flag in the upper left corner, what does that indicate and how do I get rid of it? I have to manually get rid of it by selecting 'ignore error'.
May 03 2020 12:41 PM
Green "flag" is usually when one of this error appears if your settings are ON
You may switch above settings off, but I'd not recommend. You may select at once all such cells and ignore if that's only alert or correct if these are actually errors.
Mar 21 2022 12:00 PM
@RohitNaval I tried filtering my numbers but it just went 1, 220, 34, 460 etc instead of smallest to largest. I fixed it by converting the column I was trying to filter into NUMBER and then doing text to column. For some reason it wasn't converting to numbers until I did text to column. After that it allowed me to filter smallest to largest (1, 34, 220, 460 etc).
Mar 21 2022 01:17 PM
Dec 08 2022 06:28 AM
"For some reason it wasn't converting to numbers until I did text to column." YES this finally works now. I was getting so frustrated. @annabellas
Dec 16 2022 11:50 AM
May 03 2020 11:41 AM - edited May 03 2020 12:01 PM
SolutionIn addition, you don't have blank cells, you have cells with empty texts returned by =IFERROR(...,""). As soon as we have texts within the range, even empty, Excel suggests to sort alphabetically. With =IFERROR(...,0) most probably that will be numeric sorting.