+ Reply to Thread
Results 1 to 4 of 4

Pulling specific dates out of a list of dates

  1. #1
    Registered User
    Join Date
    08-05-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Pulling specific dates out of a list of dates

    I have a list of dates in this format (7/20/2013) that go through several months. I would like to make have a formula that takes all of the dates from a specific month out and make a new list of those days. For example, if I have 7/20/2013, 6/28/2013, 8/3/2013, 7/1/2013. I would like to to take only the dates from July and put them in a new list: 7/20/2013, 7/1/2013. Any advice or help please?

  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: Pulling specific dates out of a list of dates

    hi and welcome to the forum

    Have you considered using filters? (Home tab/editing/sort & filter)

    you could then either just leave the filtered list like that, or copy/paste the results to a new worksheet?
    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
    Registered User
    Join Date
    08-05-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Pulling specific dates out of a list of dates

    Yeah I could just filter it and copy/paste. I was hoping I could do some formula so it would automatically populate another worksheet with what I needed but the filter feature is easy enough. Thanks!

  4. #4
    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: Pulling specific dates out of a list of dates

    Another way would be to use an IF() statement in a helper column to test the dates to see if they fall withing the limits you set, and then include a max() statement to create a sequence of numbers. You could then use that sequence in an index/match on the next sheet to extract just those dates that match. Assuming your dates are in column A2, down. something like...

    X2 =if(and(A2>=7/1/2013,A2<8/31/13),MAX($X$1:X1)+1,MAX($X$1:X1)) copied down

    Then on the next sheet, something like...

    =index(sheet1!$A$2:$A$200,match(ROW(A1),$X$2:$X$200,0),1) copied down

+ 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: 6
    Last Post: 03-11-2013, 06:11 PM
  2. [SOLVED] Highlight Group of Dates if Dates Match List of other Dates
    By martinpgibson in forum Excel General
    Replies: 5
    Last Post: 10-24-2012, 08:14 PM
  3. Replies: 1
    Last Post: 12-14-2011, 11:32 PM
  4. Conditional formating based on a list of specific dates
    By dimmere19 in forum Excel General
    Replies: 1
    Last Post: 07-20-2011, 02:11 PM
  5. Preparation for pivot table to list dates by specific day of the week
    By losdamianos in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-13-2011, 09:55 AM

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