+ Reply to Thread
Results 1 to 5 of 5

filter with fomula

  1. #1
    Registered User
    Join Date
    05-22-2013
    Location
    victoria, australia
    MS-Off Ver
    excel 2007
    Posts
    9

    Question filter with fomula

    hey all

    i deeply appologise if ive missed something simple in my searches and i should know this already....

    i have a list of values that will continue to increase for the foreseeable future...

    i would like to filter this list by month for reports on a second page


    so basically i have information in columns a-s
    with about 1000 rows already

    they are organized by month in the following order

    mmm-yy

    on my second page i have drop down with the list of months to choose from

    i would like to create a list of only that particular month to generate reports from...but am unable to get excel to return the list

    i know Google sheets has its filter function but that's not really possible for what im doing now...

    i got about this far

    =INDEX(DATA!A$3:s$10000,MATCH($B$1,DATA!$C$3:DATA!$C$10000)) but it only returns the one column, and then only repeatedly if you drag it down

  2. #2
    Registered User
    Join Date
    05-22-2013
    Location
    victoria, australia
    MS-Off Ver
    excel 2007
    Posts
    9

    Re: filter with fomula

    MOb fall draft.xlsm

    this is my workings so far

  3. #3
    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,936

    Re: filter with fomula

    I can think of a few different ways to do this.

    1. Apply filters to the 1st sheet, then filter on whichever moth you want - no 2nd sheet needed.
    2. using index/match without ARRAY, (which may slow your system down if you have a large database) This would use a helper column, that you can hide, if needed.
    in Data U3, copy this down...
    =IF(C3=REPORTING!$B$1,DATA!U2+1,DATA!U2)
    Then on Reporting, A3, copied down and across...
    =IFERROR(INDEX(DATA!A:A,MATCH(ROW(A1),DATA!$U:$U,0)),"")

    3. with an ARRAY formula and no helper, IN rEPORTING a3, COPIED DOWN AND ACROSS...
    =IFERROR(INDEX(DATA!A$3:A$4058,SMALL(IF(DATA!$C$3:$C$4058=REPORTING!$B$1,ROW(DATA!$A$3:$A$4058)-2),ROWS($A$1:A1))),"")
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    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

  4. #4
    Registered User
    Join Date
    05-22-2013
    Location
    victoria, australia
    MS-Off Ver
    excel 2007
    Posts
    9

    Re: filter with fomula

    3 is perfect....

    thank you verry much

  5. #5
    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,936

    Re: filter with fomula

    Happy to help, thanks for the feedback

+ 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. [SOLVED] How to sum in fomula?
    By Indra Rai in forum Excel General
    Replies: 2
    Last Post: 09-26-2014, 10:43 PM
  2. Fomula (if?)
    By Jules in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-08-2006, 02:15 PM
  3. Fomula
    By Steve in forum Excel General
    Replies: 2
    Last Post: 12-08-2005, 03:35 PM
  4. Please help, i need a fomula
    By Age Formula?? in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-13-2005, 06:05 PM
  5. IF Fomula
    By DWadding in forum Excel General
    Replies: 1
    Last Post: 08-03-2005, 01:05 PM

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