Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7941397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:39:35+00:00 2026-06-03T23:39:35+00:00

I just want to sort this based on Month and year combination (that is,

  • 0

I just want to sort this based on Month and year combination (that is, based on column A) ascending. How to do this in OpenOffice Calc? The sort option on month is not working because I guess the year is also appended.

Here are some data starting from A1:

Month                    Total
September 2011           27825
September 2010           35801
October 2011             108485
October 2010             22223
November 2011            139222
May 2012                 39319
May 2011                 38226
May 2010                 9671
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:39:37+00:00Added an answer on June 3, 2026 at 11:39 pm

    There are different solutions:

    • You could transform the values of column A as dates so OpenOffice / LibreOffice can sort them accordingly (see Solution 1 below);
    • You could split the text values into two columns (month and year separately) and sort first for year, then for month (see Solution 2 below).

    Solution 1

    1. Select the cells holding the month/year values;
    2. Select Menu Format -> Cells... -> Numbers;
    3. Select Date from left list;
    4. Enter the following format code in the Format Code field: MMMM YYYY
      format

    5. Hit OK

    6. With the cells still selected, select Menu Edit -> Find & Replace... or hit CTRL+H
    7. In field Search for, enter a single dot, and in field Replace with an ampersand (&) ; hit More Options, tick Regular Expression. Select Replace all:

      search

    8. Select cell A1, apply sorting using Menu Data -> Sort by column A (“month”).

    As result, OpenOffice / LibreOffice transforms the values of column A into dates (for example, 01/09/2011 instead of September 2011). The displayed cell content will stay “September 2011” because of the custom cell format using the code MMMM YYYY. When sorting, OpenOffice / LibreOffice recognizes the dates and sorts by month/date.

    Solution 2

    1. Insert a new column next to col A for the year values: select column B, select Menu Insert -> Columns;
    2. Select column A, select Menu Data -> Text to Columns...
    3. In the following dialogue, select Space as delimiter, then hit OK;
    4. Add Year as header in cell B1;
    5. Select cell A1, select Menu Data -> Sort; select first year, then month; don’t hit OK yet (otherwise the months would get sorted alphabetically), but select Options -> Custom sort order; select the months sort order. Now, hit OK.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a 2D-array that I want to sort based on the second column.
I have an input file that I want to sort based on timestamp which
I just want to know if there is a program that can convert an
Has anyone done something like this? How? I'm just starting a project that will
I want to sort a ListView control in C# based on columns. I have
I want to make a simple game on python, all text based. Sort of
Hey I want to sort objects based on a computed value in django... how
I have an array that stores the order that I want to sort a
Just want to know how to read an attribute of a parent node from
Just want to ask can netbean IDE get connected to clearcase remote client server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.