Results 1 to 5 of 5

Thread: Sorting a column in Calc

  1. #1
    Senior Member Giraffe's Avatar
    Join Date
    Feb 2007
    Location
    near Northampton
    Posts
    850
    Thanks
    34
    Thanked
    42 times in 36 posts
    • Giraffe's system
      • Motherboard:
      • Gigabyte GA-Z97-D3H
      • CPU:
      • Intel Core i5 5675C, S 1150, Broadwell, Quad Core, 3.1GHz, 3.6GHz Turbo
      • Memory:
      • Crucial Ballistix DDR3 1600, 4GB
      • Storage:
      • 512GB Samsung SSD, 850 Pro, SATA 3
      • Graphics card(s):
      • Integrated
      • PSU:
      • Seasonic S12G 450W 80+ Gold
      • Case:
      • Antec P100
      • Operating System:
      • Windows 7 Pro, 32-bit
      • Monitor(s):
      • Dell U2415, 24", 16:10
      • Internet:
      • TP-Link modem-router; 3mbps sync.

    Sorting a column in Calc

    Although I have Office 2003 I prefer to use LibreOffice Calc for dabbling in spreadsheets.
    If I download an .xls file of my bank statement it opens in Calc but the bank has the Date in descending order - I prefer it ascending (seems more logical).
    If I sort the Date field (either the whole data or just the column but let it extend the sort) most of the columns are OK but the Totals column isn't (sometimes another one will 'fail' as well) and the same thing happens in Excel, so it's not just Calc.
    Any tips please on how to make all columns keep with the Date - I seem to have a problem with reconciling the statement when the data are random!
    PeterC

    Political lubricant:

    Rocket WMD45

  2. #2
    Senior Member
    Join Date
    Oct 2009
    Posts
    269
    Thanks
    45
    Thanked
    30 times in 26 posts
    • cookie365's system
      • Motherboard:
      • Asus H87M Plus
      • CPU:
      • i3 4340
      • Memory:
      • 2x Kingston HyperX 4Gb
      • Storage:
      • 250Gb Samsung SSD 840 EVO + Seagate 1TB + WD Green 2TB
      • Graphics card(s):
      • Whatever comes with the i3
      • PSU:
      • bequiet StraightPower 600
      • Case:
      • Aquacool Dead Silence
      • Operating System:
      • W10
      • Monitor(s):
      • Rectangular
      • Internet:
      • Cable

    Re: Sorting a column in Calc

    What do you mean by 'the Totals column isn't'?

    Do you mean it doesn't sort and stays at is?

    I don't know anything about Calc, but if it's like a proper spreadsheet then make sure there are no empty columns or rows in the table you're trying to sort.

  3. #3
    Senior Member Giraffe's Avatar
    Join Date
    Feb 2007
    Location
    near Northampton
    Posts
    850
    Thanks
    34
    Thanked
    42 times in 36 posts
    • Giraffe's system
      • Motherboard:
      • Gigabyte GA-Z97-D3H
      • CPU:
      • Intel Core i5 5675C, S 1150, Broadwell, Quad Core, 3.1GHz, 3.6GHz Turbo
      • Memory:
      • Crucial Ballistix DDR3 1600, 4GB
      • Storage:
      • 512GB Samsung SSD, 850 Pro, SATA 3
      • Graphics card(s):
      • Integrated
      • PSU:
      • Seasonic S12G 450W 80+ Gold
      • Case:
      • Antec P100
      • Operating System:
      • Windows 7 Pro, 32-bit
      • Monitor(s):
      • Dell U2415, 24", 16:10
      • Internet:
      • TP-Link modem-router; 3mbps sync.

    Re: Sorting a column in Calc

    When the Date column is sorted, the Totals column does change its order but not to the correct order to match Date, so the final total can be any figure in the Totals column and other balances are wrong for the date.

    I've just transferred all of the debits to the credit column and deleted the credit column, thus eliminating blank cells and the Totals column still is in the wrong order.

    Thanks for the suggestions.
    PeterC

    Political lubricant:

    Rocket WMD45

  4. #4
    Senior Member
    Join Date
    Oct 2009
    Posts
    269
    Thanks
    45
    Thanked
    30 times in 26 posts
    • cookie365's system
      • Motherboard:
      • Asus H87M Plus
      • CPU:
      • i3 4340
      • Memory:
      • 2x Kingston HyperX 4Gb
      • Storage:
      • 250Gb Samsung SSD 840 EVO + Seagate 1TB + WD Green 2TB
      • Graphics card(s):
      • Whatever comes with the i3
      • PSU:
      • bequiet StraightPower 600
      • Case:
      • Aquacool Dead Silence
      • Operating System:
      • W10
      • Monitor(s):
      • Rectangular
      • Internet:
      • Cable

    Re: Sorting a column in Calc

    I only know Excel, but you don't need to eliminate blank cells, just blank rows or blank columns within the table so I guess Calc will be the same?

    Are you saying it seems to reorder the total column apparently at random? What exactly is in the totals column? Is it a formula?

    Any way you could anonymise the data and upload it here?

  5. #5
    Senior Member Giraffe's Avatar
    Join Date
    Feb 2007
    Location
    near Northampton
    Posts
    850
    Thanks
    34
    Thanked
    42 times in 36 posts
    • Giraffe's system
      • Motherboard:
      • Gigabyte GA-Z97-D3H
      • CPU:
      • Intel Core i5 5675C, S 1150, Broadwell, Quad Core, 3.1GHz, 3.6GHz Turbo
      • Memory:
      • Crucial Ballistix DDR3 1600, 4GB
      • Storage:
      • 512GB Samsung SSD, 850 Pro, SATA 3
      • Graphics card(s):
      • Integrated
      • PSU:
      • Seasonic S12G 450W 80+ Gold
      • Case:
      • Antec P100
      • Operating System:
      • Windows 7 Pro, 32-bit
      • Monitor(s):
      • Dell U2415, 24", 16:10
      • Internet:
      • TP-Link modem-router; 3mbps sync.

    Re: Sorting a column in Calc

    There aren't any blank rows or columns within the selected area and eliminating 2 blank rows above that area makes no difference.
    I've tried all ways of selecting/extending the column/area and also with/without recognising special numbers (currency; date).
    There are no formulae - in a way it's not a 'real' spreadsheet but just the data in rows and columns.
    I don't want to post it as there is a lot of specific, traceable detail and if I alter it to the extent necessary I might well do something to make it behave in a different way from the original file - sorry.
    PeterC

    Political lubricant:

    Rocket WMD45

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •