+ Reply to Thread
Results 1 to 3 of 3

Remove specific text from a cell and than sort cells by month and date

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    41

    Remove specific text from a cell and than sort cells by month and date

    I have a large excel file with the top seven rows such as you see in the attached file. In row five there is a bunch of info before the month and the year. What I want to do is get rid of that info besides the month and year. I than want to sort each column by the month and year so that all the columns are in sequential order. Any ideas?

    demo.xlsx

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Remove specific text from a cell and than sort cells by month and date

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Remove specific text from a cell and than sort cells by month and date

    Hi

    ..and a non macro way.

    Insert three spare rows above your data

    B1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    B3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy these across as far as necessary, then copy rows 1:3 and paste back as values.

    Now select all your data including the three new rows starting in column B, choose Sort with the Left to Right option and specify row 1 as the sort
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need Help: Need to Assign Text to Date Specific Month
    By dooredge in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-27-2013, 04:00 PM
  2. [SOLVED] How can you sort a date by a specific block of days for each month.
    By jackkahusdad in forum Excel General
    Replies: 2
    Last Post: 12-03-2012, 11:58 PM
  3. Replies: 5
    Last Post: 10-04-2012, 07:06 AM
  4. Clear contents of cells that do not contain specific text, sort cells that do
    By feckless.lout in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2010, 01:41 AM
  5. Remove specific text from only certain cells
    By amoorman in forum Excel General
    Replies: 4
    Last Post: 02-09-2009, 08:48 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1