+ Reply to Thread
Results 1 to 2 of 2

How to count sets of text

  1. #1
    Registered User
    Join Date
    02-21-2012
    Location
    Krsko, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    38

    How to count sets of text

    Hello,

    I'm having problem with count function. I would like to count how many "sets" of text before blank coulmn is there in one row.

    In example: In row 1 there is text "SD" in columns A, B, C and then D is blank and then in E, F, G there is text "LD". So count or some other function should return number 2 because there are two sets of text - A,B,C and D,F,G

    Does anyone have some idea?


    Thank you and have a great day.

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: How to count sets of text

    Perhaps you could try something like this in say G2: =SUMPRODUCT(--(B2:F2<>""))
    Copy down

+ 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] Excel formula to count number of days between sets of dates?
    By barneysplash in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-16-2017, 06:22 AM
  2. [SOLVED] Formula to use to count the number of cells in a column which meet three sets of criteria
    By Dhabitude in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-11-2013, 11:22 AM
  3. [SOLVED] Trying to count the number of cells that meet two sets of Criteria
    By Pablo12 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-24-2013, 12:02 PM
  4. Count different sets of data with multiple variables
    By ransome in forum Excel General
    Replies: 2
    Last Post: 05-17-2010, 09:28 PM
  5. count cells with year sets in a column?
    By Brainless_in_Boston in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-04-2006, 05:15 PM
  6. [SOLVED] How to count sets of numbers
    By JimDandy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-29-2006, 05:45 PM
  7. Count rows that match 3 sets of criteria?
    By EricE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-29-2005, 12:30 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