+ Reply to Thread
Results 1 to 9 of 9

adding values when mulitple criteria

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    adding values when mulitple criteria

    Hi there!

    Hope you can help me with this one!

    I have company names in column E.
    I have "contracted" in column I
    I have "enrolled" in column J

    How do I add the number of instances of "Contracted" and "Enrolled" for each of the companies showing in column E?

    Thanks a ton!

    Bruno

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: adding values when mulitple criteria

    It will surely help if you attach a sample workbook.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: adding values when mulitple criteria

    Hi,

    It would help too if you would update your details so that we know which version of Excel you have. e.g. only 2003, or 2007/2010 - or Mac perhaps.

    It's possible that for your particular request you might get an answer which would work only with 2007 --> but not in 2003.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Re: adding values when mulitple criteria

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    It would help too if you would update your details so that we know which version of Excel you have. e.g. only 2003, or 2007/2010 - or Mac perhaps.

    It's possible that for your particular request you might get an answer which would work only with 2007 --> but not in 2003.

    Regards
    I have cleaned up the sheet a bit. Column A shows the companies, B shows whether contracted or not and C shows whether In Class or not, How do I calculate the total of Contracted and In Class for each of these companies. See attached (I use Excel 2007)
    Attached Files Attached Files

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: adding values when mulitple criteria

    See if this workbook using dynamic named ranges and an unique values formula helps.

    Select from the dropdowns in "Sheet2" B1 & C1

    Add to "Sheet1" Column A as required, just keep the list continuous, i.e. no blanks.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Re: adding values when mulitple criteria

    Quote Originally Posted by Marcol View Post
    See if this workbook using dynamic named ranges and an unique values formula helps.

    Select from the dropdowns in "Sheet2" B1 & C1

    Add to "Sheet1" Column A as required, just keep the list continuous, i.e. no blanks.
    Sorry but this is too complex for me! Any other solution you could offer?

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: adding values when mulitple criteria

    Before we go forward, does it give you the results you need?

  8. #8
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Re: adding values when mulitple criteria

    Quote Originally Posted by Marcol View Post
    Before we go forward, does it give you the results you need?
    Unfortunately not. I cannot figure out how to transpose the formula you gave me into the sheet. I tried to understand the contents of the formula to adapt it to what I need but I cannot figure it out.

    Would you have anything simpler (for my brain)?

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: adding values when mulitple criteria

    If your real data has the same layout as your sample, try pasting your data into Sheet1 of the file I posted make sure that the headers in Columns A:C match.

    Then in Sheet2
    Select Cells A10:C10 and use the Fill Handle to drag the formulae down until Column A returns a blank cell.

    If this doesn't return the results you are expecting, then post a more representative sample of your workbook, showing before and after results so we can see where we are going.

+ 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