+ Reply to Thread
Results 1 to 2 of 2

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 Contributor
    Join Date
    04-07-2009
    Location
    Rowley
    MS-Off Ver
    Excel 2007
    Posts
    326

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

    A =COUNTIFS() should work for you.

    With your Headings in Row 1 starting in column B
    and your "yes" cells in Row 2, also starting in column B
    try this:

    =COUNTIFS(B1:F1,"*device*",B2:F2,"Yes")

+ 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. Replies: 3
    Last Post: 11-20-2014, 12:10 PM
  2. 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
  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