+ Reply to Thread
Results 1 to 2 of 2

count 1 cell in column based on value in another cell

  1. #1
    Tim
    Guest

    count 1 cell in column based on value in another cell

    I have a table that looks like the following

    one Y
    one
    two
    two
    three Y
    three Y
    three

    What I am trying to do is count the numbers of Y's based on the value in the
    first column


    ie......count y's if column 1 = 3

    Thanks
    Tim



  2. #2
    Bob Phillips
    Guest

    Re: count 1 cell in column based on value in another cell

    Is that 3 or three?

    =SUMPRODUCT(--(A1:A100=3),--(B1:B100="Y")

    or

    =SUMPRODUCT(--(A1:A100="three"),--(B1:B100="Y")

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Tim" <[email protected]> wrote in message
    news:OgeF%[email protected]...
    > I have a table that looks like the following
    >
    > one Y
    > one
    > two
    > two
    > three Y
    > three Y
    > three
    >
    > What I am trying to do is count the numbers of Y's based on the value in

    the
    > first column
    >
    >
    > ie......count y's if column 1 = 3
    >
    > Thanks
    > Tim
    >
    >




+ 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