+ Reply to Thread
Results 1 to 19 of 19

Text counter

Hybrid View

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

    Text counter

    EV0298C40
    EV300C39
    EV320M6

    Say I have that on a

    what would be the formula to count those and get 3

  2. #2
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    Formula on b1

  3. #3
    Registered User
    Join Date
    12-15-2012
    Location
    In a bin
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: Text counter

    =COUNTA(Your_Range)

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Text counter

    Use this:

    =COUNTA(A:A)

    Hope this helps.

    Pete

  5. #5
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    I have dragged the formula longer , thus I am getting say 300 instead of 255

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

    Re: Text counter

    Alkey yours almost worked , I get 301

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Text counter

    Quote Originally Posted by makinmomb View Post
    Alkey yours almost worked , I get 301
    Then you have to set the ranges. like lest's say: A2:A300

    Formula: copy to clipboard
    =COUNTIF(A2:A300,"?*")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  8. #8
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    But my answer is 255

  9. #9
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    It counts a formula that has no data

  10. #10
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Text counter

    Then use this one

    Formula: copy to clipboard
    =COUNTIF(A:A,"?*")

  11. #11
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    If I manually highlight the data

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,768

    Re: Text counter

    So what is your data: again illustrates the need to post a file as we cannot second guess your data!

  13. #13
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    I am not able to attach , it not works today , my net has issues

  14. #14
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Text counter

    Okay, describe what you have in column A. Do you have a heading(s)? Which is the first cell with that formula? What is the formula? Where has it been copied down to? Do you have anything else in that column?

    Pete

  15. #15
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    The data is mix of text and alpha

    EV0298C40
    EV300C39
    EV320M6

  16. #16
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    Those are extracted through formula

    =IFERROR(INDEX($B$1:$B$9999,SMALL(IF((NOT(ISNUMBER(LEFT($B$1:$B$9999,1)+0)))*($B$1:$B$9999<>""),ROW($B$1:$B$9999)-ROW($A$1)+1,""),ROWS($A$1:A1))),"")

  17. #17
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    The file , let me see if it attach
    Attached Files Attached Files

  18. #18
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Text counter

    The formula in E1 should be:

    =COUNTIF(D:D,"?*")

    not COUNTA.

    Hope this helps.

    Pete

  19. #19
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,695

    Re: Text counter

    Oh , Alkey was correcr

+ 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] naming text boxes with counter - Syntax
    By BuZZarD73 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2015, 08:49 AM
  2. I need a counter
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2014, 02:04 PM
  3. Userform text box counter.
    By thameem127 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2013, 03:07 PM
  4. how do i add a counter
    By masgoth in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-16-2008, 11:46 AM
  5. Row Counter
    By Lionel B. Dyck in forum Excel General
    Replies: 2
    Last Post: 08-03-2006, 04:05 PM
  6. Text Counter as you type
    By jeffbert in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-26-2006, 01:55 PM
  7. Convert formula (used in counter) to text
    By R Guzman in forum Excel General
    Replies: 1
    Last Post: 07-17-2005, 06:05 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