1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Problems using count and conditional formula in Excel

Discussion in 'Business Applications' started by marcoslavarda, Feb 8, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. marcoslavarda

    marcoslavarda Thread Starter

    Joined:
    Feb 8, 2008
    Messages:
    4
    i´m having trouble using formulas in excel. I need to count values. I could do it using "countif" for a single value, but i need to count using a condition... Follows an example:

    A B
    X 2
    Y 1
    X 2
    Y 2

    I need to count if the values in the column A =Y and the values in the column B = 2.
     
  2. marcoslavarda

    marcoslavarda Thread Starter

    Joined:
    Feb 8, 2008
    Messages:
    4
    I know how to use pivot Table, but in this case, i can´t use it. :D
     
  3. slurpee55

    slurpee55

    Joined:
    Oct 20, 2004
    Messages:
    7,837
    Are the values in one column or two?
    Never mind, I see - column A and column B...duh!
     
  4. slurpee55

    slurpee55

    Joined:
    Oct 20, 2004
    Messages:
    7,837
    But not the most sophisticated....:rolleyes:
     

    Attached Files:

  5. marcoslavarda

    marcoslavarda Thread Starter

    Joined:
    Feb 8, 2008
    Messages:
    4
    (y) Thanks Slurpee!!!

    I found this but its not working on my sheet!!!

    =SUMPRODUCT(($A$2:$D$15=$G2)*($E$2:$E$15=H$1))

    The problem is that the values are not in the same sheet
     
  6. marcoslavarda

    marcoslavarda Thread Starter

    Joined:
    Feb 8, 2008
    Messages:
    4
    I did it.

    Thank you for your help. Sumproduct works!!!
     
  7. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/680850

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice