+ Reply to Thread
Results 1 to 12 of 12

Amend FILTER function to include data from other columns

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Amend FILTER function to include data from other columns

    Hi all,

    I have a filter function from a workbook which works fine - but needs a small tweak, can anyone guide me please?

    Currently:

    =FILTER('Tracker.xlsx]Tickets'!$A$2:$A$4981,IFERROR('[Tracker.xlsx]Tickets'!$E$2:$E$4981="MFP",0))

    I want to change the filter to add in a condition to include data from the 'Tracker' workbook, 'Tickets' tab, column H which has any of the values: Segment 0, Segment B, Segment C, Segment D

    How do I update my filter formula to reflect this?

    Thank you
    Thanks,

    R.



  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Amend FILTER function to include data from other columns

    My guess it would be something like the formula below which utilizes the "+" for the multiple criteria in a filter. + is equal to OR statement and a * is equal to an AND statement just as an FYI. I couldnt test this formula because you didnt include a workbook so it is freehand.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Amend FILTER function to include data from other columns

    Thank you dosydos for giving this a go, I've attached a sample workbook (represents the source workbook) and noted on it what I need to achieve on a different workbook with the filter function

    Thank you
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Amend FILTER function to include data from other columns

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Amend FILTER function to include data from other columns

    HI Fluff13 thank you - not got getting any success with your formula for some reason unfortunately
    it's not returning any results but i`ll keep trying

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Amend FILTER function to include data from other columns

    That was based on your original formula, did you change the file name to match the file you uploaded?

  7. #7
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Amend FILTER function to include data from other columns

    Hi Fluff13 I did change the file name - fopr some reason my two word file name: ticket racker is turning into ticketracker (one word) when applying the formula and I`m getting #VALUE errors!

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Amend FILTER function to include data from other columns

    i you add the apostrophe's as well?

  9. #9
    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,023

    Re: Amend FILTER function to include data from other columns

    Try this and see...
    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

  10. #10
    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,023

    Re: Amend FILTER function to include data from other columns

    The stuff in the mini-table can, of course, be hard coded into the formula, too.

  11. #11
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Amend FILTER function to include data from other columns

    Hi Glenn

    Thank you - can I ask how i can add in more columns to be returned on "The Other sheet"?... Think it's a potential solution so far.. thank you!

  12. #12
    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,023

    Re: Amend FILTER function to include data from other columns

    Your Q is too general. What do you want to include/exclude? On a modified formula and sheet:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The bit in GREEN includes only those that meet the (single) criterion.
    The bit in RED EXCLUDES the MULTIPLE values in J1:J3
    The bit in BLUE includes ONLY the MULTIPLE values in K1:K4
    The bit in cyan means you only have to set the range in ONE place. All the INDEX(d,,3) bits select the correct columns.
    Attached Files Attached Files

+ 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] FILTER Function | How to Condense the ?Include? Argument?
    By Nevanox in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-11-2022, 11:24 AM
  2. [SOLVED] Amend MsgBox text to include path of file i.e. which folder it is save in
    By robertguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2018, 01:55 PM
  3. Amend MsgBox text to include path of file i.e. which folder it is save in
    By robertguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2018, 09:32 AM
  4. [SOLVED] Amend message box text to include current Month and Year
    By robertguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2018, 08:57 AM
  5. Amend formula to include ISERROR
    By robertguy in forum Excel General
    Replies: 4
    Last Post: 06-27-2017, 02:27 AM
  6. [SOLVED] Amend formula to include a certain creteria
    By robertguy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-11-2013, 04:47 AM
  7. [SOLVED] Amend formula to include addition condition
    By Pat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-16-2005, 12:06 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