+ Reply to Thread
Results 1 to 6 of 6

Creating a view by filtering 2 columns by date (both within 3 months of today's date)

  1. #1
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Creating a view by filtering 2 columns by date (both within 3 months of today's date)

    Hi all,

    Trying to do a linkback from another post located here but not having much luck doing it: http://www.excelforum.com/excel-form...days-date.html

    I'm working with 2 date columns and trying to filter a view to only include projects with dates within 3 months of today's date.

    I've attached a current working file of the data and the end result i'm hoping to achieve via a macro of some sort.

    I've manually got it to work via formula by inserting 2 additional columns (highlighted yellow) which determine if the dates "YES" fall in this 3 month time frame of "" blank if not.

    Hoping to create a macro which does all of this automatically without modifying any columns if this is possible
    Attached Files Attached Files
    Last edited by Gti182; 03-21-2014 at 05:00 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creating a view by filtering 2 columns by date (both within 3 months of today's date)

    Hello

    A suggestion using advanced filter.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Re: Creating a view by filtering 2 columns by date (both within 3 months of today's date)

    Thanks Fotis, that works great!

    Is it possible to just filter it as is in the current data range without copying to a different range?

    This is a modified version of a much larger worksheet so preferably not looking to add and new ranges if i can help it.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creating a view by filtering 2 columns by date (both within 3 months of today's date)

    Let's try this then.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Re: Creating a view by filtering 2 columns by date (both within 3 months of today's date)

    that works great Fotis thank you!

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creating a view by filtering 2 columns by date (both within 3 months of today's date)

    You are welcome and thanks for the feedback & rep.

    All much appreciated!

+ 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] How to get the date of 3 months ago from today?
    By billj in forum Excel General
    Replies: 5
    Last Post: 08-30-2013, 07:06 AM
  2. If date is lies in between last 6 months from today mark "Yes"
    By Zeba in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-11-2013, 03:24 AM
  3. [SOLVED] creating excel sheet based on today's date
    By tanglin10 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2013, 07:38 AM
  4. Replies: 2
    Last Post: 01-04-2012, 09:15 AM
  5. Filling a column with months from a start date to today
    By a.mack123 in forum Excel General
    Replies: 4
    Last Post: 06-03-2010, 01:22 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