+ Reply to Thread
Results 1 to 4 of 4

Multiple Criteria which Results in Multiple Rows (Data)

  1. #1
    Registered User
    Join Date
    09-02-2022
    Location
    Pakistan
    MS-Off Ver
    Microsoft 365 MSO (Version 2207 Build 16.0.15427.20166) 32-bit
    Posts
    2

    Question Multiple Criteria which Results in Multiple Rows (Data)

    Hi All

    Hope you are doing Good !!!

    I want to Apply a Formula in Excel which can Return Multiple Rows based on the Two Conditions i.e. on Two Columns or Fields i.e., Status & Resolved

    Status Field could have any value e.g. Waiting for customer, Closed, Escalated to Third Party, In Progress, Escalate to Oracle

    Resolved Field should be within Month i.e. Aug 1, 2022 to Aug 31, 2022

    Those Records who have No Value in Resolved field should also be displayed i.e. they are Not Closed before or in Aug 2022

    I have attached the excel sheet with initial data and required result in other sheet

    Thanks in Advance

    Regards
    Shahzad
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,663

    Re: Multiple Criteria which Results in Multiple Rows (Data)

    Welcome to the forum.

    Try this:

    =FILTER('31082022'!A2:F64,('31082022'!D2:D64<>"")*(('31082022'!F2:F64="")+(('31082022'!F2:F64>=DATE(2022,8,1))*('31082022'!F2:F64<DATE(2022,8,31)))))
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-02-2022
    Location
    Pakistan
    MS-Off Ver
    Microsoft 365 MSO (Version 2207 Build 16.0.15427.20166) 32-bit
    Posts
    2

    Re: Multiple Criteria which Results in Multiple Rows (Data)

    Thanks Ali GW

    Much Appreciated for your Efforts !!!

    It has worked.
    But upon Checking it is Missing 2 Records KEMS4-63 & KEMS4-64.
    I have mentioned both Records in below.

    Key Summary Created Status Severity Resolved
    KEMS4-63 Session with KE IT on SSL issue at SAP-PI 31-Aug-22 Waiting for customer 4 = Low
    KEMS4-64 Estimation Job Issue 31-Aug-22 Waiting for customer 2 = High

    I have tried to modified Formula to include <= in End Date as shown below

    =FILTER('31082022'!A2:F64,('31082022'!D2:D64<>"")*(('31082022'!F2:F64="")+(('31082022'!F2:F64>=DATE(2022,8,1))*('31082022'!F2:F64<=DATE(2022,8,31)))))

    But still No Luck
    Any Idea about this

    Regards
    Shahzad
    Attached Files Attached Files

  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 2406
    Posts
    44,662

    Re: Multiple Criteria which Results in Multiple Rows (Data)

    Column F is a date/time, not a date:

    =FILTER('31082022'!A2:F64,('31082022'!D2:D64<>"")*(('31082022'!F2:F64="")+((INT('31082022'!F2:F64)>=DATE(2022,8,1))*((INT('31082022'!F2:F64)<=DATE(2022,8,31))))))
    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

+ 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: 12
    Last Post: 10-02-2018, 02:27 PM
  2. [SOLVED] Lookup to match multiple criteria and return multiple results excluding duplicates.
    By kris3012 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-13-2018, 11:06 AM
  3. Replies: 2
    Last Post: 12-16-2016, 07:58 AM
  4. Multiple Search Criteria produces (list) Multiple results in a single cell
    By snake007uk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2014, 12:13 PM
  5. Help getting multiple results from multiple criteria on multiple pages
    By ERaasio in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-03-2013, 07:29 PM
  6. Search Workbook for cells that meet multiple criteria and return results from rows
    By CFritz7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2013, 04:41 PM
  7. Question about data lookups with multiple criteria and multiple results
    By TheMachineWhisperer in forum Excel General
    Replies: 0
    Last Post: 10-18-2010, 10:36 AM

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