+ Reply to Thread
Results 1 to 8 of 8

Help required in Filter formula

  1. #1
    Forum Contributor
    Join Date
    04-18-2016
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    190

    Smile Help required in Filter formula

    Dear All,

    I have requirement to find my tickets assigned and closed in between two dates using filter formula but it's not working as expected
    I have applied this formula
    =filter(Report!A2:H333,(Report!G2:G333>=Sheet1!C2)*(Report!H2:H333<=Sheet1!E2)) - it shows only assinged date records..
    Report Column G contains assigned date
    Report Column H contains closed date
    Sheet1 column C2 is 'From' date
    Sheet 1 column E2 is 'To' date

    if i apply =filter(Report!A2:H333,(Report!G2:G333>=Sheet1!C2)+(Report!H2:H333<=Sheet1!E2)) - it shows complete records from array..

    Am i doing wrong in the formula?

    Regards
    Gem

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,633

    Re: Help required in Filter formula

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,948

    Re: Help required in Filter formula

    Please update your profile as appear to have Excel 365.

  4. #4
    Forum Contributor
    Join Date
    04-18-2016
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Help required in Filter formula

    Hello All,
    Sample sheet attached..
    Attached Files Attached Files

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

    Re: Help required in Filter formula

    It is not really stated what you expect to see as you rresult... but maybe this:

    =FILTER(Data2!A3:F12,(Data2!E3:E12>=ExpectedResult!C2)*(Data2!F3:F12<=ExpectedResult!E2))
    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

  6. #6
    Forum Contributor
    Join Date
    04-18-2016
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Help required in Filter formula

    Hello John,
    I have already applied that formula but the results are wrong.. It's considering only Data2!F:F

    Please find attached the sheet with expected result..
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,948

    Re: Help required in Filter formula

    Reply was from Glenn - I don't have OS 365.

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

    Re: Help required in Filter formula

    1. I assume the double inclusion of 2 is a mistake.

    2. Are you sure about 10? Closed a month before it was opened?

    3. maybe:

    =FILTER(Data2!A3:F12,((Data2!E3:E12>=ExpectedResult!C2)*(Data2!F3:F12<=ExpectedResult!E2)+(Data2!E3:E12>=ExpectedResult!C2)*(Data2!E3:E12<=ExpectedResult!E2)))
    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. Formula Required to add on Numbers as required to other data
    By choccy_77 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-01-2020, 01:16 PM
  2. [SOLVED] VBA - Filter and formatting data into required format
    By sebastiand95 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-19-2016, 10:44 PM
  3. [SOLVED] How to filter only the required data into a new sheet
    By keychain in forum Excel General
    Replies: 6
    Last Post: 01-22-2016, 03:25 AM
  4. Pivot table filter required
    By pauldaddyadams in forum Excel General
    Replies: 9
    Last Post: 12-15-2014, 02:37 PM
  5. [SOLVED] formula required to filter sheet
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-27-2014, 01:11 PM
  6. how to filter required feilds from a column
    By amethystfeb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-21-2013, 05:13 PM
  7. Pivot Report Filter help required
    By bonny24tycoon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2012, 09:42 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