+ Reply to Thread
Results 1 to 2 of 2

Count data up to before there is a blank

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    Sydney
    MS-Off Ver
    windows 7
    Posts
    0

    Count data up to before there is a blank

    Hi

    How do I put one formula to count a row of data that has blank in between but I want it to count those prior to the the blank?
    For example:
    A B C D E F G Answer
    1 Y Y Y Blank Y Y Y 3
    2 Y Y Blank Blank Y Y 2
    3 Y Y Y Y Y Blank Blank 5


    I have 100 rows , all I want to do is put a forumla in the "answer" column" and it tells me the number of "Y" before it has a gap.

    Thanks
    Last edited by Charlene.loo; 08-13-2014 at 07:44 PM. Reason: did not appear

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167
    Hello Charlene.loo,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. How to count blank cells in data range
    By puttu in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2013, 01:48 PM
  2. [SOLVED] VBA to count cells with data between blank rows
    By Philcater in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-21-2012, 04:40 PM
  3. [SOLVED] Find Last Row Containing Data (DO NOT count blank rows at the end)
    By ryanmorris in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2012, 02:06 PM
  4. Replies: 4
    Last Post: 01-15-2012, 12:42 PM
  5. Counting data in non blank cells and exclude certain data from the count
    By JohnG73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2007, 04:08 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