+ Reply to Thread
Results 1 to 3 of 3

counting functions - If Col A =5 and Col B < Col C

  1. #1
    Registered User
    Join Date
    10-03-2008
    Location
    Washington
    Posts
    2

    counting functions - If Col A =5 and Col B < Col C

    All,

    I'm trying to find a function for the following statement:

    =number of rows where columnA="value" AND columnB<ColumnC

    So this formula would return 2 from the below table if the "value"=5...

    X A B C
    1 5 5 6
    2 5 8 9
    3 1 6 7
    4 5 9 8
    5 5 9 9


    Any help is greatly appreciated!

    Thanks,

    Dom
    Last edited by oudakontrol; 10-03-2008 at 06:04 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    =SUMPRODUCT((A1:A5=5)*(B1:B5<C1:C5))
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-03-2008
    Location
    Washington
    Posts
    2
    thank you!

+ 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