Numbers sort feature leaves 10-20 rows unsorted

I am new to Numbers and having trouble with the sort feature. I have approximately 150 rows I need to sort by descending number in column B. When I choose sort descending from column B, only rows 20+ sort properly. The first several rows (sometimes 10, sometimes more) are repositioned, but are not sorted in descending order.
It appears to be a random number of unsorted rows each time. These rows are not being counted as header/footer rows. What am I doing wrong?
Below is a screenshot of what I get instead:
Dallas County, Texas
6.16272662955231
Camden County, New Jersey
7.53842289268443
Bexar County, Texas
7.13165979878903
Alameda County, California
9.35124058812435
Union County, New Jersey
13.7824579371627
Suffolk County, Massachusetts
12.1752925835509
District of Columbia, District of Columbia
12.0803018122768
Norfolk County, Massachusetts
11.7036709563547

Is it possible that some of these cells are formatted as text and others as numbers?
The table above has the cells formatted as text and sorted descending.  It is correctly sorted in descending order based on first character: 9,7,7,6,1,1 and then the second character, etc..  A mix of numbers and text would look all messed up with the topmost cells being numbers sorted numerically and the bottommost cells sorted as text.
I am not sure this explains your problem.  The sort you are showing doesn't seem to fit the pattern unless some of the text "numbers" have leading spaces or something.

Similar Messages

  • How can I leave an empty row?

    Hi,
    If I want to use GridBagLayout, how can I leave an empty row? Or empty column? When I create the buttons on a frame, are they created sequentially? so Is that mean I can't put something back to the first row later in the program? Thx.
    Adrian

    I'm just guessing, since I havent done Java for a long time... but if you want an empty row... what pops up in my mind first is like putting in an empty JLabel/Label... for that row... but then if you wanna fill it in... i dunno...

  • Macbook pro numbers applying a formula to all rows

    macbook pro, numbers: applying a formula to all rows...
    I am trying to apply the same formula to successive row in a spreadsheet that I am using...how do I go about this?

    Apologies for not replying immediately! I have now managed to organise my entire stock list for my business; I just had a major brain blockage as to how to copy and paste formulae in columns, added to which I've never had any formal training in IT.  I'm not too old to try and have a can do attitude and so far I managed ok. Now I've started my own business I'm putting what I've taught myself in to practice and I'm pleasantly surprising myself with the results.
    Thank you again for your help,
    Regards....charlie.

  • I recently downloaded CC into my iMac. The Bridge sort feature causes my computer to crash.

    I use the sort feature in Bridge to sort my images by file type and date created. The sort feature causes my iMac to crash and of course does not sort. The CC is a recent download, and my iMac is new and updated.

    Hi, and welcome to the forums.
    That's a *kernel panic.*
    They are usually caused by hardware problems, but can be software.
    If you have any other peripherals, disconnect them all. Reconnect one at a time to be sure it's really the external disk, and only the external disk.
    Run the Apple Hardware Test, from the separate disc that came with your Mac.
    More kernel panic info:
    http://support.apple.com/kb/HT1392
    http://www.index-site.com/kernelpanic.html
    http://www.thexlab.com/faqs/kernelpanics.html

  • Can numbers sort by more than one column? How?

    Can numbers sort by more than one column? How?

    Open the "Sort & Filter" options:
    Then add columns.  You can set sort ASCENDING or DESCSANDING then drag the items to set the which column is sorted first

  • Question / Suggestion - OrderBy (Sorting) Feature by Clicking.

    Maybe there is a way to do this and someone can fill me in, or maybe this will be another suggestion for consideration.
    When I open a connection to an oracle DB, then click on a specific table. A worksheet popups with Columns Tab in focus. I'd like to sort the columns listed by name. In many programs this is done simply by clicking on the Column Name Title Field.
    Any extensions or settings to do this today? If not please consider putting in the ability to sort on any field simply by Single Left Clicking on a column's title field.
    This would be useful when viewing the column properties of a table, or even viewing the column data that is returned from a select into the work sheet. I know that for data I can use the sort feature, and that does work well (although a single click would be faster), but there is no way to do it that I know when I'm just viewing the columns and their properties for a particular table.
    Sincerely,
    Lee

    All that they will say is that 1.1 is coming out this half of the year.. so sometime in the next 4 months. I think that they want to get it out at or just before open world.
    Eric

  • Can I add just cells in numbers without creating a whole new row?

    can I add just cells in numbers without creating a whole new row?

    Thanks to Jerrold Green1 for the answer to this back in Dec. 09.  Numbers is so logical, it worked perfectly.

  • HT1879 Sort Features in iTunes 11

    The sort feature does not work in parts of iTunes 11 - such as when you search for a song, go to show all, there is no ability to sort by columns - such as "popularity" or "artist".  Need a fix or a tutorial.

    First, are you in the US? iRadio wasn't released outside of the US initially.
    If you are in the US and having a problem, take a look at this article to troubleshoot: http://support.apple.com/kb/HT5848
    Good luck.

  • ?Why is the sorting feature in Libray mode so limited?

    I truly love to work with lighroom
    However, I hope that in the next adbobe update , that a more advanced but fundamental search/sort feature is added to the library mode.
    specifically - in Library mode --under folders -- there is no way to sort the folders other than alphabetically
    why not -- like most, even primitive photo editing software, can one not sort by date, time taken, place etcetc ... at least by date!!
    [email protected]

    Thanks – I am aware of that sorting function and do use it
    I probably did not phrase my question correctly
    In the left hand panels in LR –
    If one chooses Folders and then as an example “ My Pictures”
    There should be a simple approach to sort the order of the folders by Date Taken etc?
    I guess one can work around it – but it seems to simple – I do not understand why Adobe does not include this sorting option
    Other programs in photo editing  do …..
    Thanks
    [email protected]

  • I only must have back the sort feature via file names, lost in PhSE11 (my current version). !! Sham

    I only must have back the sort feature via file names, lost in PhSE 11 (my current version). !! Shame o the one who have had this  stupid idea, far away from any situation in practice! Why I have now to  pay so much money for an upgrade to PE12??

    Judy444 wrote:
    .. Is there a How To beginners tutorial for this program?
    here: http://www.apple.com/findouthow/movies/
    and the built-in Help of iMovie (as any other Apple app) explains a lot..

  • Leave RSM1_CHECK_DM_GOT_REQUEST in row 70; Req_State ''

    I am currently working on BW 3.5. I want to delete a request from Infocube 0FIGL_C10. The request was in green status, which i manually turned to red and then tried deleting the request.But the Deletion job is getting failed in SM37 with following job log:
    Job started
    Step 001 started (program RSDELPART1, variant &0000000001143, user ID 10282879)
    Delete is running: Data target 0FIGL_C10, from 3.191 to 3.191
    FB RSM1_CHECK_DM_GOT_REQUEST called from PRG RSDELPART1; row 000875
    Request '3.191'; DTA '0FIGL_C10'; action 'D'; with dialog 'X'
    Leave RSM1_CHECK_DM_GOT_REQUEST in row 70; Req_State ''
    Please Help.

    Hi Amit,
    I think deletion job is active better. kill the active job from sm55 and try to delete the request again. if you face the same issue then delete the content from the cube it will delete all the request.
    hope it helps.
    Thanks,
    Vachan

  • Why does the sort feature no longer work in numbers for maverick since the latest upsates?

    I have followed the instructions to sort rows in the latest version of numbers, however since the latest update it no longer functions and ideas? it is version 3.1 [1769]

    salwolfe wrote:
    Until recently, I was able to watch both SnagFilms and Hulu within the Safari Browser successfully.  In both movie sites, I no longer get video and am asked to download Adobe Flash Player (which I already have 14.0.0.125) but my system indicates that Plug-In PPADI has not been installed?...
    The problem is that your Flash Player is not current. Check this to see what the current version is (vs what you have) and here to get the latest version. There is supposed to be a major security issue in the version you've got so Apple is blocking its use. In any case, don't get Flash Player from anywhere except Adobe.

  • Numbers: sorting by results

    i have a list, part of which are figures put in manually, others that are the result of a calculation.
    To sort that column, what I normally did in Excel was to export as txt file, then reimport, and then do the recalculation.
    What's the way to do it for Numbers?

    Here is an other script achieving more tasks than the first one.
    --{code}
    --[SCRIPTtable2textFile]
    Enregistrer le script en tant que Script : table2textFile.scpt
    déplacer le fichier créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner au moins une cellule dans la table à exporter.
    menu Scripts > table2textFile
    Le script créera un fichier texte avec le contenu de la table
    puis ouvrira celui ci dans Numbers.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++++
    Save the script as a Script : table2textFile.scpt
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select at least one cell in the table to export.
    menu Scripts > table2textFile
    The script will create a text file with the table's contents and will open it in Numbers.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    +++++++++
    Yvan KOENIG (Vallauris FRANCE)
    2011/08/07
    --=====
    on run
              local dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2, enTexte, fName, p2t
              my activateGUIscripting()
              try
                        set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    Select every cells of the table *)
                        tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
                                  set selection range to range ("A1:" & name of last cell)
                        end tell
    Copy to clipboard *)
                        my raccourci("Numbers", "c", "c")
                        delay 0.2
    Extract the clipboard contents *)
                        set enTexte to the clipboard as text
    Build an unique fileName *)
                        set fName to (do shell script "date " & quote & "+_%Y%m%d-%H%M%S" & quote) & "." & "txt"
    Grabs the pathname of Temporary Items folder*)
                        set p2t to path to temporary items from user domain
    Create a new text file *)
                        tell application "System Events" to make new file at end of p2t with properties {name:fName}
    Store the table contents in the text file *)
                        write enTexte to file ((p2t as text) & fName)
    Open the text file in Numbers *)
                        tell application "Numbers" to open ((p2t as text) & fName)
              on error
                        if my parleAnglais() then
                                  error "The clipboard doesn’t contain text data. Maybe you selected a Numbers sheet !"
                        else
                                  error "Le presse-papiers ne contient pas de données texte. Vous avez peut-être copié une feuille de Numbers !"
                        end if
              end try
    end run
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2
              tell application "Numbers" to tell document 1
                        set d_name to its name
                        set s_name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_name to its name
                                  tell cell top_left to set {row_num1, col_num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_num2, col_num2} to {row_num1, col_num1}
                                  else
                                            tell cell bottom_right to set {row_num2, col_num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on decoupe(t, d)
              local oTIDs, l
              set oTIDs to AppleScript's text item delimiters
              set AppleScript's text item delimiters to d
              set l to text items of t
              set AppleScript's text item delimiters to oTIDs
              return l
    end decoupe
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    on activateGUIscripting()
      (* to be sure than GUI scripting will be active *)
              tell application "System Events"
                        if not (UI elements enabled) then set (UI elements enabled) to true
              end tell
    end activateGUIscripting
    --=====
    ==== Uses GUIscripting ====
    This handler may be used to 'type' text, invisible characters if the third parameter is an empty string.
    It may be used to 'type' keyboard raccourcis if the third parameter describe the required modifier keys.
    I changed its name « shortcut » to « raccourci » to get rid of a name conflict in Smile.
    on raccourci(a, t, d)
              local k
              tell application a to activate
              tell application "System Events" to tell application process a
                        set frontmost to true
                        try
                                  t * 1
                                  if d is "" then
      key code t
                                  else if d is "c" then
      key code t using {command down}
                                  else if d is "a" then
      key code t using {option down}
                                  else if d is "k" then
      key code t using {control down}
                                  else if d is "s" then
      key code t using {shift down}
                                  else if d is in {"ac", "ca"} then
      key code t using {command down, option down}
                                  else if d is in {"as", "sa"} then
      key code t using {shift down, option down}
                                  else if d is in {"sc", "cs"} then
      key code t using {command down, shift down}
                                  else if d is in {"kc", "ck"} then
      key code t using {command down, control down}
                                  else if d is in {"ks", "sk"} then
      key code t using {shift down, control down}
                                  else if (d contains "c") and (d contains "s") and d contains "k" then
      key code t using {command down, shift down, control down}
                                  else if (d contains "c") and (d contains "s") and d contains "a" then
      key code t using {command down, shift down, option down}
                                  end if
                        on error
                                  repeat with k in t
                                            if d is "" then
      keystroke (k as text)
                                            else if d is "c" then
      keystroke (k as text) using {command down}
                                            else if d is "a" then
      keystroke k using {option down}
                                            else if d is "k" then
      keystroke (k as text) using {control down}
                                            else if d is "s" then
      keystroke k using {shift down}
                                            else if d is in {"ac", "ca"} then
      keystroke (k as text) using {command down, option down}
                                            else if d is in {"as", "sa"} then
      keystroke (k as text) using {shift down, option down}
                                            else if d is in {"sc", "cs"} then
      keystroke (k as text) using {command down, shift down}
                                            else if d is in {"kc", "ck"} then
      keystroke (k as text) using {command down, control down}
                                            else if d is in {"ks", "sk"} then
      keystroke (k as text) using {shift down, control down}
                                            else if (d contains "c") and (d contains "s") and d contains "k" then
      keystroke (k as text) using {command down, shift down, control down}
                                            else if (d contains "c") and (d contains "s") and d contains "a" then
      keystroke (k as text) using {command down, shift down, option down}
                                            end if
                                  end repeat
                        end try
              end tell
    end raccourci
    --=====
    --[/SCRIPT]
    --{code}
    Yvan KOENIG (VALLAURIS, France) dimanche 7 août 2011 21:53:05
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Numbers 3.1 How to get row/column highlight on mouseover?

    Hi, hope someone can help with a query.
    I've just updated Numbers to 3.1 on OSX.
    The Release Notes indicated there is an option to have rows/columns highlighted on mouseover.
    I have looked in Preferences to find this option, without success.
    Does anyone know how to access this option please?
    Many thanks.
    Steve

    Hi Ian,
    Nice catch. I too was wondering about that particular feature, and couldn't find it. 
    What purpose that serves, I have no idea.
    Well, I suppose it's supposed to show you where your cursor is in a vast sea of numbers.
    On my machine when I hold down the option key and hover over a cell I see a pleasant blue cross with a white cell in the middle. Pondering the beauty of it all, for a moment I forgot what I was looking for.
    Actually, I'm finding it a nice touch, helpful for working with largish tables.
    SG

  • How can I do sorting from ascending to descending then unsort?

    Hi all,
    Can anybody help on this issue?
    I have a bunch of numbers in a table, and I hope when I click the column header once, it will do ascending.
    Click again, do descending. Then click three times, become unsort (which is origially ordered in absolute value).
    I tried to add tree SortKeys in sorter, but it doesn't work:
    List<RowSorter.SortKey> sortKeys = new ArrayList<RowSorter.SortKey>();
    sortKeys.add(new RowSorter.SortKey(2, SortOrder.UNSORTED));      // 2 means it's the 3rd column I want to sort
    sortKeys.add(new RowSorter.SortKey(2, SortOrder.DESCENDING));
    sortKeys.add(new RowSorter.SortKey(2, SortOrder.ASCENDING));
    sorter.setSortKeys(sortKeys);Then I tried to implement my own Comparator, but will always get numbers ordered in absolute value.
            Comparator<Float> comparator = new Comparator<Float>() {
                public int compare(Float s1, Float s2) {
                    if (s1 < 0) s1 *= (-1);
                    if (s2 < 0) s2 *= (-1);
                    return s1.compareTo(s2);   
            sorter.setComparator(2, comparator);      // 2 means it's the 3rd column I want to sortThank you very much indeed in advance.
    Cheers,
    George

    Apologies for not saying it clearly.
    I can easily do ascending and decending by applying this:
            sorter = new TableRowSorter<TableModel>(table.getModel());
            table.setRowSorter(sorter);But I also need my data to be sorted by absolute value. That's why I tried to implement my own Comparator.
    However, it turned out that I will only have one sorting method, which is the absolute value as you have noticed.
    Hence I hope the result, if possible, would be if I first click the column header, ascending orders.
    Click the second time, decending orders. And then click the third time, absolute value orders.
    Cheers

Maybe you are looking for