+ Reply to Thread
Results 1 to 8 of 8

Simplest way to filter dates

Hybrid View

Complus865 Simplest way to filter dates 06-01-2020, 08:16 AM
KOKOSEK Re: Simplest way to filter... 06-01-2020, 08:35 AM
oeldere Re: Simplest way to filter... 06-01-2020, 08:37 AM
KOKOSEK Re: Simplest way to filter... 06-01-2020, 08:43 AM
Complus865 Re: Simplest way to filter... 06-01-2020, 09:42 AM
KOKOSEK Re: Simplest way to filter... 06-01-2020, 11:37 AM
Complus865 Re: Simplest way to filter... 06-01-2020, 07:39 PM
oeldere Re: Simplest way to filter... 06-02-2020, 02:06 AM
  1. #1
    Registered User
    Join Date
    11-24-2019
    Location
    Malaysia
    MS-Off Ver
    2019
    Posts
    45

    Simplest way to filter dates

    Hi, what is the simpliest way to filter dates ?
    I would like to know the sum of files in Quarter 1 (Jan, Feb, March) and Quarter 2 (April, May, June).
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: Simplest way to filter dates

    Excel 2016 (Windows) 32 bit
    E
    F
    5
    Quantity
    6
    Q1
    113761
    7
    Q2
    62966



    E
    F
    5
    Quantity
    6
    Q1
    =SUMIFS($B:$B,$C:$C,">="&DATEVALUE("01/01/2020"),$C:$C,"<"&DATEVALUE("01/04/2020"))
    7
    Q2
    =SUMIFS($B:$B,$C:$C,">="&DATEVALUE("01/04/2020"),$C:$C,"<"&DATEVALUE("01/07/2020"))
    Sheet: Sheet1
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Simplest way to filter dates

    D2 =MONTH(C2)

    E2 =VLookup(D2,Blad1!$A$1:$B$12,2,0)


    After that a pivot table.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: Simplest way to filter dates

    You can pivot these data without any additional column and use option group in pivot table to group it by quaters.

    Excel 2016 (Windows) 32 bit
    H
    I
    1
    Row Labels Sum of Total Invoiced
    2
    Qtr1
    113761
    3
    **Jan
    45045
    4
    **Feb
    58094
    5
    **Mar
    10622
    6
    Qtr2
    62966
    7
    **May
    57663
    8
    **Jun
    5303
    9
    Qtr3
    10460
    10
    **Jul
    10460
    11
    Qtr4
    26424
    12
    **Oct
    10542
    13
    **Nov
    10544
    14
    **Dec
    5338
    15
    Grand Total
    213611
    Sheet: Sheet1

    Check attached file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-24-2019
    Location
    Malaysia
    MS-Off Ver
    2019
    Posts
    45

    Re: Simplest way to filter dates

    Quote Originally Posted by KOKOSEK View Post
    You can pivot these data without any additional column and use option group in pivot table to group it by quaters.

    Excel 2016 (Windows) 32 bit
    H
    I
    1
    Row Labels Sum of Total Invoiced
    2
    Qtr1
    113761
    3
    **Jan
    45045
    4
    **Feb
    58094
    5
    **Mar
    10622
    6
    Qtr2
    62966
    7
    **May
    57663
    8
    **Jun
    5303
    9
    Qtr3
    10460
    10
    **Jul
    10460
    11
    Qtr4
    26424
    12
    **Oct
    10542
    13
    **Nov
    10544
    14
    **Dec
    5338
    15
    Grand Total
    213611
    Sheet: Sheet1

    Check attached file.
    Hi this looks great, but how do you create the Qtr1 , Qtr2 in the pivot table ?

  6. #6
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: Simplest way to filter dates

    Right mouse button on Row labels, then choose Group and 1 of option is Quaterly.

  7. #7
    Registered User
    Join Date
    11-24-2019
    Location
    Malaysia
    MS-Off Ver
    2019
    Posts
    45

    Re: Simplest way to filter dates

    Thanks for the help, I need a little more time to explore myself.
    I received some errors. But i will seek your help again if i can't solve it.

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Simplest way to filter dates

    Please also mark the question solved, if you found your solution.

    The question was marked solved, sorry for my reply.

+ 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. Learning VBA in a simplest way
    By Jelsay in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2019, 12:49 PM
  2. [SOLVED] VBA code to filter pivot table by rows containing dates for dates < 60 months old
    By BrokenDome in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2019, 01:28 PM
  3. Replies: 1
    Last Post: 06-08-2019, 08:48 PM
  4. Filter recognizes dates, but Pivot Table filter does not
    By maw230 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-07-2016, 04:18 PM
  5. Select Multiple Dates In Report Filter Pivot Table But Dates Are Not Static
    By biasedobserver in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2014, 03:38 PM
  6. Even the simplest of macro's
    By kccboy2004 in forum Excel General
    Replies: 1
    Last Post: 06-18-2008, 10:27 PM
  7. What is the simplest way
    By famdamly in forum Excel General
    Replies: 4
    Last Post: 02-16-2006, 06:30 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