+ Reply to Thread
Results 1 to 6 of 6

Formukla to count certain values in 2 columns

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    7

    Formukla to count certain values in 2 columns

    This is probbaly extremely easy, but i can't seem to get it to work, so apologies in advance.
    I've attached a sample of what my worksheet looks like. I need a formula that looks in column a for the value DEF, and counts how many of DEF are in Open or Closed status in column B. I keep getting the entire count of Open and Closed values.
    The attached sample alos has the desired result listed.
    Thank you!
    Attached Files Attached Files
    Last edited by jantland; 05-01-2013 at 05:54 PM.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,309

    Re: Formukla to count certain values in 2 columns

    Please Login or Register  to view this content.
    Try this one
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    04-11-2013
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Formukla to count certain values in 2 columns

    Thank you. I need the formula to list the Open AND Closed, for DEF. How do I put thos two variables in a COUNTIF?

  4. #4
    Registered User
    Join Date
    04-11-2013
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Formukla to count certain values in 2 columns

    Sorry, meant count, not list.

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,309

    Re: Formukla to count certain values in 2 columns

    =COUNTIFS(B2:B10,"open",A2:A10,"DEF")+COUNTIFS(B2:B10,"closed",A2:A10,"DEF")

  6. #6
    Registered User
    Join Date
    04-11-2013
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Formukla to count certain values in 2 columns

    Perfect, that worked. Thanks popipipo!

+ 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