+ Reply to Thread
Results 1 to 8 of 8

Help with Sorting a spreadsheet by month

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    Philippines
    MS-Off Ver
    Microsoft Excel 365
    Posts
    30

    Help with Sorting a spreadsheet by month

    So I've got a test file I'm working on and I'm stumped.

    I need to filter and show results only from a specific month on Sheet1 when I change the drop down on A1

    I already have a formula on the sheet but it calculates everything and disregards the month based on the roster in the Dump sheet.

    Any help is appreciated. Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Help with Sorting a spreadsheet by month

    In a Pivot Table as shown in the attached file
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Help with Sorting a spreadsheet by month

    in Sheet Dump in G2 and drag down;

    =MONTH(F2)

    In Sheet1 in C3 copy across and down

    =COUNTIFS(Dump!$D:$D,C$2,Dump!$E:$E,$B3,Dump!$G:$G,MATCH($A$1,Dump!$A$2:$A$13,0))

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Help with Sorting a spreadsheet by month

    If your O365 is sufficiently up to date...

    =IFERROR(BYROW($B$3:$B$7,LAMBDA(x,ROWS(FILTER(Dump!$D$2:$F$9,(Dump!$D$2:$D$9=C2)*(Dump!$E$2:$E$9=x)*(TEXT(Dump!$F$2:$F$9,"mmmm")=$A$1))))),"")

    copied ACROSS.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Help with Sorting a spreadsheet by month

    Or try in C3 copy across and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,783

    Re: Help with Sorting a spreadsheet by month

    Sheet1

    C3=SUMPRODUCT((Dump!$F$2:$F$100<>"")*(MONTH(Dump!$F$2:$F$100)=MONTH(Sheet1!$A$1&0))*(Dump!$E$2:$E$100=Sheet1!$B3)*(Dump!$D$2:$D$100=Sheet1!C$2))

    Copy across and down

  7. #7
    Registered User
    Join Date
    01-21-2013
    Location
    Philippines
    MS-Off Ver
    Microsoft Excel 365
    Posts
    30

    Re: Help with Sorting a spreadsheet by month

    Thanks for the help! I actually solved it by adding another criteria for months on the countifs

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Help with Sorting a spreadsheet by month

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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: 10
    Last Post: 03-22-2022, 12:15 PM
  2. [SOLVED] Sorting Name & Month
    By Shi in forum Excel General
    Replies: 3
    Last Post: 06-06-2018, 02:59 AM
  3. Help sorting annual spreadsheet data into seperate sheets for each month
    By scampie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2015, 09:51 PM
  4. Sorting by month
    By Ladyeve1023 in forum Excel General
    Replies: 10
    Last Post: 01-06-2015, 05:04 AM
  5. Replies: 4
    Last Post: 03-19-2012, 08:58 AM
  6. Sorting by month
    By MikeNZ in forum Excel General
    Replies: 2
    Last Post: 05-26-2010, 07:57 AM
  7. Auto Format spreadsheet with various rows month to month
    By sratkins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2009, 01:07 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