+ Reply to Thread
Results 1 to 7 of 7

Countif Statement

  1. #1
    Registered User
    Join Date
    09-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Countif Statement

    How would I do a Nested CountIF statement where I countif and then do a calculation based on the results?

    see formula below

    =COUNTIF(C6:C9,"*Direct*")+COUNTIF(C6:C9,"*Fixed*")+COUNTIF(C6:C9,"*Travel*")

    want value just to be "1" if any a true and then multiple the "1" value by $125

  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: Countif Statement

    IT's not clear (at least not to me) what it is you are wanting. Can you attach a sample workbook with dummy data of what you have and the results you are expecting?
    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
    Registered User
    Join Date
    09-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Countif Statement

    I attached a simple file of what I am trying to achieve
    Attached Files Attached Files

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Countif Statement

    Why not just this

    Please Login or Register  to view this content.
    Happy with my advice? Click on the * reputation button below

  5. #5
    Registered User
    Join Date
    09-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Countif Statement

    Im not explaining properly. I have attached the problem with my desired results.
    Attached Files Attached Files

  6. #6
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Countif Statement

    Looks like you need a simple OR statement but you're using merged cells which could ultimately lead to disaster. I'd reformat your sheet to remove the merged cells first then apply an OR statement but I'm not clear on what you're looking for - is it simply the presence of the word "YES" in one or more cells?

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2506
    Posts
    13,794

    Re: Countif Statement

    Unmerge the cells. Then try this in B10 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ 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. Adding CountIf Statement within If/ElseIf Statement
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2014, 05:09 AM
  2. Countif, if, then statement
    By weiner992 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2013, 12:07 PM
  3. countif statement
    By turnej in forum Excel General
    Replies: 3
    Last Post: 11-03-2011, 09:29 AM
  4. If statement and countif statement in an array
    By jntydeman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-26-2011, 12:35 PM
  5. Problem with IF statement within a COUNTIF statement
    By girlofscience in forum Excel General
    Replies: 5
    Last Post: 04-22-2009, 10:20 AM
  6. [SOLVED] countif statement
    By italiavb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-14-2006, 09:00 AM
  7. Countif Statement
    By souchie40 in forum Excel General
    Replies: 3
    Last Post: 05-04-2006, 12:50 PM

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