+ Reply to Thread
Results 1 to 6 of 6

count words before empty row

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    count words before empty row

    Look at what i have written on B1 and b19 manually done

    Want macro to do that

    There will be more empty rows below , this i have trimmed for sample

    LOGIC count words at every new row
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: count words before empty row

    Something like this:


    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: count words before empty row

    Hi
    Try
    Please Login or Register  to view this content.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: count words before empty row

    Or with a formula:

    Insert a row at the top and try in C2 (or B2) and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by HansDouwe; 09-21-2022 at 03:29 AM.

  5. #5
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: count words before empty row

    And a slightly different version of the VBA one
    Please Login or Register  to view this content.
    If someone has helped you then please add to their Reputation

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: count words before empty row

    Thank you all codes working as required

+ 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] Count words based on first 2 characters of words separated by a comma in a range
    By IS MOOSA in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-21-2021, 09:09 AM
  2. Replies: 1
    Last Post: 05-18-2018, 06:38 AM
  3. [SOLVED] Count number of empty cells and sum up too the first non-empty cell.
    By CraftyGamer in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-28-2017, 11:35 AM
  4. Count of # of words in a column and report on all words
    By ramsdesk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-08-2016, 04:44 AM
  5. Replies: 5
    Last Post: 09-02-2014, 03:49 PM
  6. Help! Count how many words in a sentence match a dictionary of words
    By sonyaelis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2013, 05:31 AM
  7. Count words-I want a function that can count the words in a cell
    By wilhelm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2009, 03:41 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