+ Reply to Thread
Results 1 to 5 of 5

How can I count multiple conditions where the data is not in order?

  1. #1
    Forum Contributor
    Join Date
    01-25-2012
    Location
    Cambodia
    MS-Off Ver
    Excel 2010
    Posts
    135

    How can I count multiple conditions where the data is not in order?

    Anyone can help me to solve this?

    I have data as following:

    Collumn A Cal B Cal C Cal D
    A 1 2 1
    B 2 2 1
    A 3 2 1
    C 3 1 3
    B 2 3 2
    A 1 2 3

    I want to count how many times that A answered 1.
    I tried to use countifs formular, but it does not work unless I make a plus on formulas.
    I also trying to avoid using SORT.

    There is also attached file.

    Thanks,
    Sarin
    Attached Files Attached Files
    Last edited by sarinky; 02-07-2012 at 03:35 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How can I count multiple conditions where the data is not in order?

    Hi Sarin and welcome to the forum.

    You can use SUMPRODUCT function for this.

    =SUMPRODUCT((A1:A6="A")*(B1:D6=1))

    Hope to jelps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,504

    Re: How can I count multiple conditions where the data is not in order?

    Not clear to me that you want to count like this: A 1 2 1 count 1; A 2 3 4 count 0?
    If yes, use:
    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.
    Confirm by Ctrl-Shift-Enter
    returns 3.
    Quang PT

  4. #4
    Forum Contributor
    Join Date
    01-25-2012
    Location
    Cambodia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Re: How can I count multiple conditions where the data is not in order?

    Thank you for your prompt reply. It works now.

    Thanks,
    Sarin

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How can I count multiple conditions where the data is not in order?

    Which one??

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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