Sort

Copper Contributor

Hello all

 

I am getting frustrated. I am trying to sort rows of contiguous data Columns A through M by the cell data in column H. I highlight all the rows and columns. I get a dialog box. It asks me what column I want to sort on. I say column H. It asks what I want to sort on. I say cell value. It asks whether I want ascending or descending. I say descending. Then I click the OK button. Nothing happens. No sort. 

 

I have used the sort function in excel before. I have never had this kind of problem. 

 

Thank you. 

7 Replies

@JeffM27122 

It would help if you attached a sample workbook without sensitive data that demonstrates the problem.

@Hans Vogelaar 

 

This data base is immense. It consists of a summary of results of standardized testing on various topics in various grades of every public school school in Pennsylvania, In fact, it may be the very size of the data base that may be a problem: it has over 48,000 rows, and the number of columns is 13.

 

To bring it down to manageable size, I am trying to break it up into data bases by grade and topic. In what I shown below, I have included just a few rows. I have already tried to eliminate everything not associated with the 4th grade, (grade is indicated in column H). That explains why everything in H should be 0 or 4. My idea then is to sort on H in descending order, and copy only those rows with a 4 to a data base on 4th grade. Then I will repeat that process for the various topics. I will end up with workable data bases, one per grade and topic, that I can actually scroll through to make sure everything is working correctly

 

112011103000007302AdamsBERMUDIAN SPRINGS SDBERMUDIAN SPRINGS EL SCHEnglish Language ArtsAll Students000000
112011103000007302AdamsBERMUDIAN SPRINGS SDBERMUDIAN SPRINGS EL SCHEnglish Language ArtsAll Students412324.437.427.610.6
112011103000007302AdamsBERMUDIAN SPRINGS SDBERMUDIAN SPRINGS EL SCHEnglish Language ArtsAll Students000000
112011103000007302AdamsBERMUDIAN SPRINGS SDBERMUDIAN SPRINGS EL SCHEnglish Language ArtsHistorically Underperforming000000
112011103000007302AdamsBERMUDIAN SPRINGS SDBERMUDIAN SPRINGS EL SCHEnglish Language ArtsHistorically Underperforming46816.230.936.816.2
Hi all

I experimented with Sort on a smaller data base (a much smaller data base). I am running sort correctly. It must be the immense size of the data base I am working with that is causing sort to fail.

Does anyone have any information on the size of data base that excel's sort can work on. I have a suspicion that the state just took something like an SQL data base, dumped it into excel, and never bothered to see whether anyone can actually use the thing.

@JeffM27122 

Excel could sorts all available rows (1048576). Another story that could take time, depend on which version of Excel you are and on which hardware. Version is more critical.

Hi

It is Subscription Service Microsoft 365 Version 2106.

The machine is a Dell Inspiron 3650, 64 bit

A new idea on why it will not sort.

Right now, I have reduced the data base by replicating it using if statements to put 0 in every cell unless the entry in the column representing grade is 4, in which case, I replicate the row. That gives me a data base that appears to consist of thousands of rows of zeroes and several thousand rows of data about fourth grade test results by individual school. My idea was to sort this replicated data base on grade in descending order, and then delete all the all-zero rows, export what was left to a stand-alone 4th grade data base.

Looking at the original file, I see that there are some entries that are not numeric. Perhaps that is the problem of why sort does not seem to work; the data is no consistently numeric. I tried to fix this by setting my if-statement to be explicit about entering a 4 or a 0.
I redid what I explained in my preceding post. And then changed the format of the cells in the column to Number. It still did not sort.
I want to thank everyone who spent time pondering my problem. It is now resolved. I have no idea why the "sort" button in the ribbon did not work on this monster data base, but the "sortby" function did work.