+ Reply to Thread
Results 1 to 4 of 4

Quantity summing with 2 checks

  1. #1
    Registered User
    Join Date
    01-10-2008
    Posts
    2

    Quantity summing with 2 checks

    I need to compare two columns of data with the goal of pulling information from a single column that involves both. I need to count the quantity if it checks out.

    So let's say column A and B are the columns I'm checking and C contains the data used if they pass.

    if A1:A100 = X and B1:B100 = Y, SUM positive results in that row c1:c100

    so let's say a1, a5, a7, a9 are X and only b1 and b7 are Y. I want to sum the values of c1 and c7.

    I will be checking about 20 values of X and 10 values of Y. What's the plan of attack?
    Last edited by shaked; 01-10-2008 at 01:46 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    =sumproduct( (a1:a100= "x") * (b1:b100 = "y") * c1:c100) )

  3. #3
    Registered User
    Join Date
    01-10-2008
    Posts
    2
    I'm checking two unrelated ideas with a similar quantity. In this case, I'm checking material vs diameter and then I'm taking the quantity produced.

    Essentially, I'm separating data that appears multiple times. There are multiple 3" diameter parts that are not always made of the same material. The material is say 1-10. So I want to separate material 1 from material 8 even though both are 3" in diameter. Right now I can only sum based on one variable (diameter) via sumif(a1:a100, cell, c1:c100). I need to add that second variable.

    I hope that clarifies my issue.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    So ... did you try the formula?

+ 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