+ Reply to Thread
Results 1 to 3 of 3

Filter just dates from today +5 days

  1. #1
    Forum Contributor
    Join Date
    04-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    329

    Filter just dates from today +5 days

    Hi All,

    I have a spreadsheet with 2 columns titled "Shipping Date" (column 46) & "Date Shipped" (column 47). I'm trying to put a code together that will AutoFilter column 46, firstly remove all text or anything not in DD/MMM/YY format, & then filter dates from today plus 5, i have the code below but it just filters everything out on the last line? Is it because I haven't specified the date format? Any assistance as always will be greatly appreciated, thank you - Marco

    Please Login or Register  to view this content.

  2. #2
    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,939

    Re: Filter just dates from today +5 days

    Just so we are clear, columns are generally ID'd by letters (not numbers) a, b, c etc, and rows are ID'd by number - 1, 2, 3 etc
    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

  3. #3
    Forum Contributor
    Join Date
    04-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    329

    Re: Filter just dates from today +5 days

    Hi FDibbins,

    I've attached an example of my worksheet, I firstly need to filter out buildings that have been delivered (column AU), then filter all in column "AT" that are not in DD-MMM-YY date format e.g. all text or random numbers that are not clearly a date. Once this is done I need to filter all dates to show today + say 5 days. This will show me how many buildings I have to inspect for the week, hope that makes sense? Thanks for any help FDibbins, have a great day- Marco
    Attached Files Attached Files

+ 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. VBA to filter from today's date + 4 business days
    By kop1ko in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-19-2016, 07:20 AM
  2. vba to filter table by today's date up to 10 days. and save as new version
    By The Fly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2014, 02:15 PM
  3. [SOLVED] Create a macro to filter between today and the next 30 days
    By jonathan.haynes in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-05-2013, 05:08 AM
  4. Filter Dates to Reflect: "Today - 30 days or More"
    By Gard5096 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2012, 11:42 AM
  5. How to flag dates that are within 9 days of today
    By MannyLNJ in forum Excel General
    Replies: 7
    Last Post: 06-18-2012, 03:16 PM
  6. Replies: 6
    Last Post: 06-14-2010, 05:18 PM
  7. Replies: 7
    Last Post: 04-23-2009, 07:02 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