Results 1 to 6 of 6

Count occurrences based on multiple conditions without creation of additional columns

Threaded View

sai47521 Count occurrences based on... 06-21-2015, 04:33 AM
oeldere Re: Count occurrences based... 06-21-2015, 05:06 AM
sai47521 Re: Count occurrences based... 06-21-2015, 06:03 AM
oeldere Re: Count occurrences based... 06-21-2015, 06:06 AM
samba_ravi Re: Count occurrences based... 06-21-2015, 06:27 AM
XOR LX Re: Count occurrences based... 06-21-2015, 06:42 AM
  1. #1
    Registered User
    Join Date
    02-13-2014
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    2

    Count occurrences based on multiple conditions without creation of additional columns

    All,

    Simplified version of my current problem,

    In Sheet1, there are 4 columns Column A=Driver, Column B= Start Time (DD:MMM:YY HH:MM), Column C=End Time (DD:MMM:YY HH:MM) and Column D= Destination

    In Sheet2, I am trying to count for number of instances driver has taken to reach a destination in less than 240 minutes.

    I have used the following formulas but not successful.

    Formulas Used:

    1) Countif(((Sheet1!C:C-Sheet1!B:B))*1440), "<="240,Sheet1!A:A,"="AAA)... Tried CTRL+SHFT+ENTR for array as well

    2) Sumproduct((Sheet1!C:C-Sheet1!B:B)*1440) <= 240, Sheet1!A:A,="AAA").... Tried CTRL+SHFT+ENTR for array as well


    Data in sheet1 will be replaced everyday so I cannot give cell addresses in the formula but would have to consider the whole column. The data also has headers in the first row of sheet1.

    I am multiplying the time values with 1440 to get the difference in minutes.

    I would really appreciate some help in this. Thank you.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Count number of occurrences based on criteria in multiple columns and rows
    By gerryger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2015, 08:13 PM
  2. Count number of occurrences if two conditions are true.
    By scopo911 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2014, 11:20 PM
  3. Formula to count number of occurrences of a word, with some additional conditions
    By mindmystique in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2011, 05:29 AM
  4. [SOLVED] how do I count the occurrences of multiple conditions
    By Debi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-18-2006, 09:30 AM
  5. [SOLVED] count number of cells based on TWO conditions (2 different columns
    By Troi-Xanh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2005, 09: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