+ Reply to Thread
Results 1 to 3 of 3

Thread: Possible to pull info based on months only and not year?

  1. #1
    Registered User
    Join Date
    06-22-2009
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2007
    Posts
    38

    Possible to pull info based on months only and not year?

    I have a list of information that looks like the following (just 1000x larger):

    Date (A)...|...Data (B)
    9/1/07......|...10
    6/1/08......|...20
    9/1/08......|...10
    6/1/09......|...15
    9/1/09......|...31


    What I'm looking for is a formula that will only pull the information in the Data field if it occurred between the months of Feb & July. Is it possible to do this without factoring in the year? I don't want a sum of items between those months, just a way to pull it. Basically, it's for my students that take test twice a year, I just want the scores they had during the spring semester.

    Also, is there a way that I could add on to the formula to pull only the latest data? So in this case the data in 6/1/09.

    Any help would be greatly appreciated. Thanks!
    Last edited by PowerSchoolDude; 12-18-2009 at 03:42 PM. Reason: adjust table

  2. #2
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,520

    Re: Possible to pull info based on months only and not year?

    Possibly, you could use Advanced Filter with criteria to extract the matching records (or filter in place).

    See this link for help on Advanced Filter.

    Another option: Pivot Table - Grouped by month
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Guru darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Colorado, US
    MS-Off Ver
    2007
    Posts
    2,170

    Re: Possible to pull info based on months only and not year?

    You could also try =SUMPRODUCT((Month(A$1:A$1000)>=2)*(Month(A$1:A$1000)<=7)*(B$1:B$1000))
    Also, is there a way that I could add on to the formula to pull only the latest data? So in this case the data in 6/1/09.
    I don't understand what you mean by this, considering you said you wanted it to be regardless of years. If you do only want this year, you can add *(Year(A$1:A$1000)=Year(today())) before the last closing parenthesis.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0