+ Reply to Thread
Results 1 to 9 of 9

Multiple Conditions

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    48

    Multiple Conditions

    I'm trying to get a formula that will look at 2 separate rows of cells and give me a count that meets certain conditions. In the example row 1 has the type of pet (some multiple) and row 2 uses an "*" to signify that it's on hand. I would want the formula to look at row 1 and if it's a "dog" to then look at row 2 for any "dog" cell that also has an "*". Then do the same for all the other pets. Attached is an example.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Multiple Conditions

    Place this in C:6 =COUNTIFS(B1:L1,"Dog",B2:L2,"*") then in the additional cells replace "Dog" with "Cat" etc.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Multiple Conditions

    Hello,
    Try this formula in C6 and copy down.

    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Multiple Conditions

    GC, I'm not the original post but, I tried your formula and it places a value of 1 in each of the cells. Did I miss something?

  5. #5
    Registered User
    Join Date
    07-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Multiple Conditions

    gmr4evr1- thanks a bunch! It worked just like I needed it to!

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Multiple Conditions

    Not a problem, glad it worked for you

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Multiple Conditions

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Multiple Conditions

    GC, I'm not the original post but, I tried your formula and it places a value of 1 in each of the cells. Did I miss something?
    My results are 1 3 1 1

    Here's the formula in C7.
    Please Login or Register  to view this content.
    Are you in manual calculation mode ?

  9. #9
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Multiple Conditions

    Quote Originally Posted by GC Excel View Post
    My results are 1 3 1 1

    Here's the formula in C7.
    Please Login or Register  to view this content.
    Are you in manual calculation mode ?
    Ok, I see why, when I copied and pasted down the cells, the =$A6 did not change for the corresponding cell(s)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Vlookup - Country conditions (Multiple conditions)
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2013, 11:42 AM
  2. Replies: 0
    Last Post: 08-14-2012, 01:18 PM
  3. Insert multiple values from seperate table based on multiple conditions
    By drakesong in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-28-2011, 06:04 PM
  4. Replies: 1
    Last Post: 12-05-2010, 04:39 AM
  5. [SOLVED] How to multiple conditions to validate more than 2 conditions to .
    By Bhuvana Govind in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2005, 04:06 PM

Tags for this Thread

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