+ Reply to Thread
Results 1 to 9 of 9

counting cells dependant

  1. #1
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    counting cells dependant

    hi guys

    Im hoping some of you more intelligent people than me could help me please

    Im trying to find out how many times the following occurs

    if column x matches cell b2 AND if column y matches cell b13 AND if column z is LESS than Column AA

    any help gratefully received

    Thanks in advance

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: counting cells dependant

    Try this:

    =SUMPRODUCT((X2:X100=B2)*(Y2:Y100=B13)*(Z2:Z100<AA2:AA100))

    Changing the ranges to suit your need.

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,176

    Re: counting cells dependant

    Like this:

    =SUMPRODUCT((X2:X1000=B2)*(Y2:Y1000=B13)*(Z2:Z1000<AA2:AA1000))

    late...
    Last edited by Phuocam; 12-19-2018 at 09:13 AM.

  4. #4
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Re: counting cells dependant

    top notch gentlemen thanks to both of you

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: counting cells dependant

    You're welcome. Glad we could help.

    Thanks for the rep!

  6. #6
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Re: counting cells dependant

    gents im really sorry but i missed 2 other criteria out

    i also want to know if column e is greater than 0.5 AND if column F is greater than 0.5

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: counting cells dependant

    You can add those criteria in like this:

    =SUMPRODUCT((E2:E100>0.5)*(F2:F100>0.5)*(X2:X100=B2)*(Y2:Y100=B13)*(Z2:Z100<AA2:AA100))

  8. #8
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Re: counting cells dependant

    so appreciated. thank you

  9. #9
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: counting cells dependant

    You're welcome!

+ 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. [SOLVED] finding average with date dependant and cell dependant
    By sfoll in forum Excel General
    Replies: 4
    Last Post: 08-24-2015, 04:58 AM
  2. Counting text in cells dependant on a date range
    By Netski in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-28-2013, 10:08 AM
  3. Replies: 4
    Last Post: 04-25-2013, 03:53 AM
  4. Replies: 0
    Last Post: 09-22-2012, 02:20 AM
  5. Replies: 0
    Last Post: 01-27-2010, 05:47 PM
  6. Highlighting a range of cells dependant on data in any of those cells
    By Grimace in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-20-2009, 02:34 AM
  7. Averaging cells dependant on cells in another column
    By Andrex04 in forum Excel General
    Replies: 2
    Last Post: 07-10-2009, 02:45 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