+ Reply to Thread
Results 1 to 5 of 5

count on a range

Hybrid View

snowbird122 count on a range 04-14-2008, 12:01 PM
NBVC Please be more specific. We... 04-14-2008, 12:03 PM
snowbird122 I have a list of projects in... 04-14-2008, 12:40 PM
NBVC Try: ... 04-14-2008, 12:44 PM
snowbird122 Worked perfect. Thanks so... 04-14-2008, 02:09 PM
  1. #1
    Registered User
    Join Date
    04-14-2008
    Posts
    3

    count on a range

    I need to count how many items are in a certain range, but not in another range. Please help.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Please be more specific. We need an example please.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-14-2008
    Posts
    3
    I have a list of projects in cells A1 through A10. Some project names appear more than once.

    I have another list of 3 projects in cells B1 through B3. Each project name in this range in unique.

    I need a count of how many cells contain projects that are listed in cells A1 through A10, but are not one of the 3 projects in cells B1 through B5.

    For example:
    A1 = Project A
    A2 = Project B
    A3 = Project B
    A4 = Project B
    A5 = Project B
    A6 = Project C
    A7 = Project D
    A8 = Project E
    A9 = Project F
    A10 = Project F

    B1 = Project A
    B2 = Project C
    B3 = Project F

    The formula should return 6. There are 6 items in the A range that are not in the B range.

    How can I do this?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =SUMPRODUCT(--ISNA(MATCH(A1:A10,B1:B3,0)))

  5. #5
    Registered User
    Join Date
    04-14-2008
    Posts
    3
    Worked perfect. Thanks so much.

+ 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