+ Reply to Thread
Results 1 to 2 of 2

SumIf?

  1. #1
    Registered User
    Join Date
    01-18-2007
    Posts
    1

    SumIf?

    I need help on a something that I just came across today. I need to be able to match a "name" with a "number". That is to say that I record the amount of times that a number occurs for a specific name. This might be easier to understand(pseudo):
    (35 names X 6 different issues)
    IF a cell range equals "TOM"
    AND the cell adjacent to it equals "2"
    THEN add 1 to this cell

    Would i use sumif, or am i going in completely the wrong direction?

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Longover
    I need help on a something that I just came across today. I need to be able to match a "name" with a "number". That is to say that I record the amount of times that a number occurs for a specific name. This might be easier to understand(pseudo):
    (35 names X 6 different issues)
    IF a cell range equals "TOM"
    AND the cell adjacent to it equals "2"
    THEN add 1 to this cell

    Would i use sumif, or am i going in completely the wrong direction?
    Hi,

    try

    =SUMPRODUCT(--(A$1:A$10=A1),--(B$1:B$10=B1))

    with your names list and your numbers list as required. The formula is set to Fill the whole range of rows, and count the items shown on the row, the Red items can be changed to find a single occurrance.

    hth
    ---
    Si fractum non sit, noli id reficere.

+ 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