+ Reply to Thread
Results 1 to 3 of 3

**excel experts help me!**

  1. #1
    Registered User
    Join Date
    11-29-2005
    Posts
    1

    **excel experts help me!**

    hey can you guys help me with something on excel?

    I have 1 column of data that says doctor or custodian. Then I have a 2nd column that says male (value=1) or female (value=2). How do I find out how many male doctorss there are? Which function do I use?

    This is giving me a headache. Thanks for your help!

  2. #2
    Rowan Drummond
    Guest

    Re: **excel experts help me!**

    with your data in A2:B15 try:

    =SUMPRODUCT(--($A$2:$A$15="Doctor"),--($B$2:$B$15=1))

    or enter Doctor in Cell D1 and 1 in D2 and try
    =SUMPRODUCT(--($A$2:$A$15=D1),--($B$2:$B$15=D2))

    Hope this helps
    Rowan

    helpmeplz wrote:
    > hey can you guys help me with something on excel?
    >
    > I have 1 column of data that says doctor or custodian. Then I have a
    > 2nd column that says male (value=1) or female (value=2). How do I find
    > out how many male doctorss there are? Which function do I use?
    >
    > This is giving me a headache. Thanks for your help!
    >
    >


  3. #3
    Jef Gorbach
    Guest

    Re: **excel experts help me!**

    Presuming this is a rare/one-shot question, why not sort the male doctors
    together then manually insert a line between the custodians and doctors and
    another before the first female doctor then auto-sum column2 ??

    "helpmeplz" <[email protected]> wrote
    in message news:[email protected]...
    >
    > hey can you guys help me with something on excel?
    >
    > I have 1 column of data that says doctor or custodian. Then I have a
    > 2nd column that says male (value=1) or female (value=2). How do I find
    > out how many male doctorss there are? Which function do I use?
    >
    > This is giving me a headache. Thanks for your help!
    >
    >
    > --
    > helpmeplz
    > ------------------------------------------------------------------------
    > helpmeplz's Profile:

    http://www.excelforum.com/member.php...o&userid=29193
    > View this thread: http://www.excelforum.com/showthread...hreadid=489278
    >




+ 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