+ Reply to Thread
Results 1 to 10 of 10

Filtering daily data to monthly data using Filter or alternative method

  1. #1
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Filtering daily data to monthly data using Filter or alternative method

    Hi all,

    Please kindly see attached excel spreadsheet.

    I have a sample of data that I need to test, the raw data is daily, and I'm trying to filter to show ONLY the value at the end of each month.
    How should I achieve this using the filter function?

    Thank you for your help.sample.xls

    also im trying to find the end of month to month change of the values in column. if i were to successfully use the filter function to find the end of each month, would i be able to use the =(Month/month-1) and drag it down?
    Last edited by jonnyyyl; 03-04-2012 at 01:36 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Filtering daily data to monthly data using Filter or alternative method

    Hi Jonnyyyl,

    You can change the date format to just "dd" and they you can easily filter out the data for 30 or 31, see the attached file for better explanation on this. Thanks.

    regards,
    DILIPandey

    <click on below 'star' if this helps>
    Attached Files Attached Files
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Filtering daily data to monthly data using Filter or alternative method

    thank you sir!! i can kiss you
    what about feburary when the date can be 28th or 29th?

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Filtering daily data to monthly data using Filter or alternative method

    You are welcome jonnyyyl..... and thanks for the kiss

    the last day of a month can be 31,30,29 and since these are three i.e., more than two, you might need to use Advanced Filter instead of Auto Filter. Thanks

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    03-04-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Filtering daily data to monthly data using Filter or alternative method

    use data grouping

  6. #6
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Filtering daily data to monthly data using Filter or alternative method

    does the filter you send me show the closest value?
    because for some data, 30th or 31st isnt the last trading day

    how do i use advanced filer?
    sincere thanks.

  7. #7
    Registered User
    Join Date
    01-24-2009
    Location
    Leicester, England
    MS-Off Ver
    Excel 2003 &2007
    Posts
    27

    Re: Filtering daily data to monthly data using Filter or alternative method

    Another idea is to add an extra column to your table with the formula:-

    =IF(B3=EOMONTH(B3,0),"eom","") copied down.

    Then filter on this column for eom.

    EllBol

  8. #8
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Filtering daily data to monthly data using Filter or alternative method

    If your data sorted in ascending order,

    Insert 3 rows above the heading, so Company A should be in A4, then in A2 enter,

    =A6=LOOKUP(EOMONTH(A6,0),$A$6:$A$2968)

    Select $A$5:$B$2968, go to Data >> Advanced Filter

    List Range: $A$5:$B$2968
    Criteria: $A$1:$A$2

    click OK

    Will look the last entry in the month.

    eg: in January 2000, If the last entry is 1/28/2000 will filter this date

    See the attached.
    Attached Files Attached Files
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  9. #9
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Filtering daily data to monthly data using Filter or alternative method

    thanks haseeb, must i add 3 columns above? in the criteria, why must it be a range and not a cell?
    thanks.

  10. #10
    Registered User
    Join Date
    06-18-2020
    Location
    Boston, MA
    MS-Off Ver
    Current
    Posts
    1

    Re: Filtering daily data to monthly data using Filter or alternative method

    Thanks for this!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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