+ Reply to Thread
Results 1 to 4 of 4

Multiple Criteria Function along with Count function

  1. #1
    Registered User
    Join Date
    07-22-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    10

    Multiple Criteria Function along with Count function

    Hi All,

    I am currently attempting to create a formula (combination of several excel formulaes) to account for the following scenario (I will try my best to explain properly as I am new to the forum).

    In my database, I currently have many cases which may undergo several sessions before an order is issued. However, I wish to only account for cases when Both Parties are Present (BPP) in the 1st Session and the total number of CWDN and CDISM orders given (when BPP in the 1st Session).

    I have attached a single case which has undergone 3 sessions, BPP present at 1st Session and an CWDN order was given at the last session.

    As you can see in the image below, the numericals, "1" indicate that is the 1st session held and the number "2" are the subsequent sessions held for the case.

    SCT/10130 1 BPP CFFC ---> 1 CWDN case when BPP in 1st session
    SCT/10130 2 BPP CWDN
    SCT/10131 1 DFT CMO
    SCT/10132 1 DFT CMO
    SCT/10133 1 CON CMO
    SCT/10134 1 DFT CMO
    SCT/10135 1 BPP CFFC ---> 2 CWDN case when BPP in 1st session
    SCT/10135 2 BPP CWDN
    SCT/10136 1 DFT CMO
    SCT/10137 1 DFT CWDN
    SCT/10138 1 CON CMO
    SCT/10139 1 DFT CMO
    SCT/1014 1 CON CMO
    SCT/10140 1 DFT CMO
    SCT/10141 1 DFT CWDN

    Thus the answer to be expected from this set of data would be as follows:

    1) Total Number of CWDN orders when BPP in the 1st session = 2 (I have highlighted the scenario for your reference).
    2) Total Number of CDISM orders when BPP in the 1st session = 0

    Hope to hear from you guys soon!

    God Bless,
    Joseph
    Last edited by Joseph Wee; 07-23-2013 at 12:42 AM. Reason: Adding more data to already present data

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Multiple Criteria Function along with Count function

    Please upload the dummy workbook and your expected result, so we could solve the problem faster

  3. #3
    Registered User
    Join Date
    07-22-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple Criteria Function along with Count function

    Hi Azumi,

    I have uploaded more data in my original post, but I can't seem to find the button to upload the dummy work book.

    Could you tell me where I can find it? (Is it the "Link" button next to the "Insert Image" button???)

  4. #4
    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,929

    Re: Multiple Criteria Function along with Count function

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

+ 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. Need help to change multiple criteria from if function to Case function.
    By indkitty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 10:42 PM
  2. Count if function with 2 criteria
    By santaigob09 in forum Excel General
    Replies: 9
    Last Post: 02-16-2012, 10:53 AM
  3. Using multiple criteria for joint COUNT and IF Function
    By barkaroo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2010, 05:18 PM
  4. multiple criteria in count function
    By sayasimpson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-15-2007, 04:54 PM
  5. [SOLVED] HOW DO I USE THE COUNT IF FUNCTION FOR 2 CRITERIA
    By victory16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-05-2005, 08:06 PM

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