+ Reply to Thread
Results 1 to 4 of 4

Searching in rows, and only counting cells that have

  1. #1
    Registered User
    Join Date
    11-12-2014
    Location
    Greenland
    MS-Off Ver
    2013
    Posts
    21

    Searching in rows, and only counting cells that have

    Hi

    I need to search in a row, and only count variables that have "yes" in cells that have a column heading containing the text "Device" (the names of the column headings themselves vary, but the ones I am interested in all contain the text "Device"). Is there a simple way of doing this? Thanks

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Searching in rows, and only counting cells that have

    Will a simple COUNTIFS work?:

    Please Login or Register  to view this content.
    Change the row ranges to match your "Yes" column and column headings accordingly.

    Hope this helps!
    Last edited by mcmahobt; 11-20-2014 at 12:15 PM.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    06-27-2013
    Location
    Boulder, CO
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Searching in rows, and only counting cells that have

    You could try this:

    =COUNTIFS(2:2,"true",1:1,"*Device*")

    Hope that helps.

    -Z
    If I helped you, click * and add to my reputation.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Searching in rows, and only counting cells that have

    I think that this is what you are looking for.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Problem with macro that needs to find and highlight rows based on searching cells
    By mnk181 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2014, 12:24 PM
  2. Counting nonempyt cells in several rows - schedule
    By marteau in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-03-2013, 03:53 AM
  3. counting completed cells across rows
    By TopDogDave in forum Excel General
    Replies: 5
    Last Post: 11-25-2010, 09:47 AM
  4. Searching for and counting blank cells
    By guerilla in forum Excel General
    Replies: 1
    Last Post: 12-08-2006, 04:40 AM
  5. conditional counting of autolist cells/rows
    By johli in forum Excel General
    Replies: 0
    Last Post: 09-23-2005, 08:45 AM

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