+ Reply to Thread
Results 1 to 7 of 7

Sort Rows by Date & Only Show Rows After Current Date

  1. #1
    Registered User
    Join Date
    04-05-2012
    Location
    SA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Sort Rows by Date & Only Show Rows After Current Date

    Hi Guys.

    Been searching everywhere for a formula(s) to help me out and have tried umpteen before posting!

    I need to pick rows from sheet 1 into sheet 2 based on the following;

    1) If the due date is on or after the current date.
    2) Put the results in date order.

    See attached spreadsheet which details exactly what I need to happen.

    Any help would be appreciated.

    Thanks.

    Ryan.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-05-2012
    Location
    SA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Sort Rows by Date & Only Show Rows After Current Date

    Hi, can anyone help with this?

    Or is it not possible?

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Sort Rows by Date & Only Show Rows After Current Date

    If you are OK doing this with an extra sheet, take a look at the attached...
    Attached Files Attached Files
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    04-05-2012
    Location
    SA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Sort Rows by Date & Only Show Rows After Current Date

    Thanks for helping out.

    After having a play about with it, I can only see one problem.

    If I have 2x quotes due back on the same date, the description column does not show the different descriptions. It just shows both dates with the same description.

    Any help would be appreciated.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Sort Rows by Date & Only Show Rows After Current Date

    OK I see that.

    on sheet1, change the formula in D2 to this, and copy down...
    =IF(B2>=$E$1,B2+COUNTIF($B$2:B2,B2)/10,"")

    Then change the formula on sheet2 B2, copied down, to this...
    =IF(A2="","",INDEX(Sheet1!$C$2:$C$21,MATCH(Sheet3!A2,Sheet1!$D$2:$D$21,0),1))

  6. #6
    Registered User
    Join Date
    04-05-2012
    Location
    SA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Sort Rows by Date & Only Show Rows After Current Date

    Very good, thank you for all your help mate.

    Really appreciate it!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Sort Rows by Date & Only Show Rows After Current Date

    Happy to help

+ 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] Delete Rows greater than current date
    By kesavanprabhu in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-13-2013, 10:57 AM
  2. [SOLVED] To count the number of rows based on date and check how old the row is from current date.
    By raovv in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-04-2013, 11:45 AM
  3. Replies: 2
    Last Post: 08-27-2012, 08:45 AM
  4. Replies: 15
    Last Post: 06-26-2012, 07:28 AM
  5. highlight rows with current date entry
    By arcware in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2008, 06:44 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