+ Reply to Thread
Results 1 to 3 of 3

Counting Number of Items Beginning Before and Finishing After a Defined Number

  1. #1
    Registered User
    Join Date
    07-29-2007
    Posts
    24

    Counting Number of Items Beginning Before and Finishing After a Defined Number

    Hi

    I have this problem where I am trying to count the number of fish present in a video frame. I have each fish's entry frame no. and exit frame no. and I created a series of random numbers. I want to count the number of fish that are present at each random number. I think the COUNTIF function might be of some help? I have attached a simple worksheet with an example of the problem.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-14-2006
    Location
    USA
    MS-Off Ver
    2019
    Posts
    686
    If I understand your sheet right, you have (5) fish total.

    this formula tells how many fish were present in frame 26:

    =SUMPRODUCT((--(A$2:A$6<=26))*(--(B$2:B$6>=26)))

  3. #3
    Registered User
    Join Date
    07-29-2007
    Posts
    24
    thanks mate, works a charm!

+ 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