+ Reply to Thread
Results 1 to 9 of 9

Sort Dates from two different Columns into 1 combined column

  1. #1
    Registered User
    Join Date
    01-27-2020
    Location
    Texas
    MS-Off Ver
    MS Office 365
    Posts
    16

    Sort Dates from two different Columns into 1 combined column

    Hello All,

    I'm looking to sort the dates of two different columns into one column. I have projects that have multiple dates on them I am wanting to order them so that I can see exactly when each one is due. I've attached an excel sheet to show what I would like the sheet to do, but this was all done by hand and I would like to automate it a bit.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Sort Dates from two different Columns into 1 combined column

    Hello Xiiharu. Welcome to the forum.

    Try this in F2 and fill down until you get blanks.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Initially I made a mistake in this formula. This is corrected here: Then this in G2 and fill down the same.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 01-27-2020 at 10:43 PM. Reason: MISTAKE in formula
    Dave

  3. #3
    Registered User
    Join Date
    01-27-2020
    Location
    Texas
    MS-Off Ver
    MS Office 365
    Posts
    16

    Re: Sort Dates from two different Columns into 1 combined column

    Is there a way to also keep the highlighting or to add a new conditional formatting option to dates? And is there a way to hide dates? Like anything from 2-20-20 and before.
    Attached Files Attached Files
    Last edited by Xiiharu; 01-28-2020 at 11:53 AM.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Sort Dates from two different Columns into 1 combined column

    First extend the range references in column G out to row 10. Like this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    For the colors use Conditional formatting by formula. Select F2:F18. Apply this formula for Blue
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and this one for Pink
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    To hide dates <=2/20/2020 use Conditional Formatting by formula again. The formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and set Custom format numbers ""

    It's all done in the attached so you can see what I mean.

  5. #5
    Registered User
    Join Date
    01-27-2020
    Location
    Texas
    MS-Off Ver
    MS Office 365
    Posts
    16

    Re: Sort Dates from two different Columns into 1 combined column

    I've put in the formulas that you gave me and I've been trying to get the conditional formatting to work. Some of mine aren't applying the formatting and I don't know why. The combined list could go for a long while so can it just apply to the whole row? Also the lists for B date, F date, and Project name could have a lot. Can that selection be expanded.
    Regarding the date formula. I was unclear and i'm curious if it is possible to have the list not show any dates that are less than the current date? So for example, It would show all dates of today and later, put remove any that are before today.
    Sorry for not being as clear in the original post. Your help has been great.
    Attached Files Attached Files

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Sort Dates from two different Columns into 1 combined column

    OK. Still not clear on the 'follow through'. What does this now imply for the list of Project names? Are the ones corresponding with dates <=2/20/2020 to also be ignored?

  7. #7
    Registered User
    Join Date
    01-27-2020
    Location
    Texas
    MS-Off Ver
    MS Office 365
    Posts
    16

    Re: Sort Dates from two different Columns into 1 combined column

    Yes, I would like the dates and project names to be removed as the day it lists has passed. If this can't be done i'm not truly worried about it. The main thing is I am trying to get it to list the projects and dates in chronological order, and to have the dates from the rows keep their colors. The list of dates and projects can be upwards of 30 entries long, with each project have it's two dates.

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Sort Dates from two different Columns into 1 combined column

    Thank you. That's clearer.

    Delete the CF rule for <=2/20/2020. The others Blue/Pink remain the same. I would discourage applying CF rules to whole columns/rows. CF are super volatile and they are resource hungry. Once you define the initial range that will expand as formulas are extended downward.

    Change the formula in F2 to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and fill down. The formula in column G remains the same.

  9. #9
    Registered User
    Join Date
    01-27-2020
    Location
    Texas
    MS-Off Ver
    MS Office 365
    Posts
    16

    Re: Sort Dates from two different Columns into 1 combined column

    I was able to get the conditional formatting to work with my lists based off of your help from the last reply. What I'm trying to do with the dates is something like the image below.

    Date example.PNG

+ 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. Replies: 1
    Last Post: 03-29-2018, 07:58 AM
  2. [SOLVED] Macro to copy data from all columns containing a specified header to a combined column
    By Mamagregory in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-16-2014, 12:18 PM
  3. Replies: 2
    Last Post: 01-15-2014, 09:31 AM
  4. Replies: 5
    Last Post: 04-25-2013, 11:50 PM
  5. Sort All other dates and data column according to Column A Dates
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2012, 01:46 PM
  6. Two Columns Combined into One Column w/ No Duplicates
    By usc1382 in forum Excel General
    Replies: 1
    Last Post: 01-16-2012, 01:37 PM
  7. Replies: 1
    Last Post: 06-22-2005, 10:05 PM

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