+ Reply to Thread
Results 1 to 8 of 8

Ι want entire row to be moved when I sort by date.

  1. #1
    Registered User
    Join Date
    05-17-2018
    Location
    Thessaloniki, Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Question Ι want entire row to be moved when I sort by date.

    Greetings everyone,
    I use excel to track the tasks of a small office. All the "to-dos" are in column b, the dates in column c, and column a is kept for colorcoding the tasks according to who has to do them. So all the cells in column b are filled with some color or other. I use row 1 for naming the columns and having filters. The problem: when I use the sort by date filter, the colors column a do not get rearrange, following the contents of the other row. Is there any way to work around that?
    Attached Files Attached Files
    Last edited by marianna.ark; 07-03-2018 at 03:50 AM.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Ι want entire row to be moved when I sort by date.

    Can you attach a small sample showing the issue?

    Go Advanced -> Manage Attachments -> Upload

  3. #3
    Registered User
    Join Date
    05-17-2018
    Location
    Thessaloniki, Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Ι want entire row to be moved when I sort by date.

    Heres a small excell table I made, replicating the issue. The events/dates are not in chronological order. If u sort them out using the filter, the assigned colors in front of each event dont move along with the tast but stay where they were.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,664

    Re: Ι want entire row to be moved when I sort by date.

    I have not opened your file, as I am away from my PC, but if you have assigned colours to the cells themselves, it won’t work as you want. You should be using conditional formatting instead.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Ι want entire row to be moved when I sort by date.

    If you create a table which includes Column A then the sorting on the entire row will work.

  6. #6
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Ι want entire row to be moved when I sort by date.

    See the attached.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-17-2018
    Location
    Thessaloniki, Greece
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Ι want entire row to be moved when I sort by date.

    Thank you so much! I will also look up how conditional formating might effect this issue, because it might be useful some other time.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,664

    Re: Ι want entire row to be moved when I sort by date.

    As has been stated, a table will solve this for you, but conditional formatting would automate what I assume is a manual process at the moment.

+ 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. sort then insert entire row then sort again by group
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2018, 09:16 PM
  2. [SOLVED] Based on certain text entire rows need to be moved down
    By bmbalamurali in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-20-2014, 01:01 PM
  3. [SOLVED] Moved entire row based on date
    By -EA- in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2012, 07:20 PM
  4. Macro to move entire row if cell contains a specific word and moved to sheet 2
    By Astarte in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2011, 09:21 AM
  5. auto sort entire worksheet by one date column
    By kalisun in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2007, 02:12 PM
  6. [SOLVED] Why arent my blank cells moved to the end when I do a sort?
    By George in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-31-2006, 04:40 PM
  7. cursor highlights entire doc when moved
    By mickeymny in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2006, 01:35 PM

Tags for this Thread

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