+ Reply to Thread
Results 1 to 3 of 3

Count Text and Number

  1. #1
    Registered User
    Join Date
    04-27-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    54

    Count Text and Number

    Hi,

    Could any one tell me which formula to be use to count text and number:

    1 a 3 f 4 d 2 (count text)
    a 2 d 6 f 7 h (count number)

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Count Text and Number

    Hi
    Have a look at this link which may help you:
    http://www.mrexcel.com/forum/excel-q...rs-string.html
    Good luck
    Tony

  3. #3
    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: Count Text and Number

    For numbers

    =LEN(SUBSTITUTE(A2," ",""))-(LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"1",""),"2",""),"3",""),"4",""),"5",""),"6",""),"7",""),"8",""),"9",""),"0","")))

    For Text

    =LEN(SUBSTITUTE(A2," ",""))-B2

    A
    B
    C
    1
    Text and Numbers
    Numbers
    Text
    2
    1 a 3 f 4 d 2
    4
    3
    3
    a 2 d 6 f 7 h
    3
    4
    Last edited by AlKey; 05-20-2014 at 02:16 PM.
    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

+ 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] Formula to count the number of spaces before text/number is written in a cell.
    By kmis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-12-2013, 05:05 PM
  2. [SOLVED] How not to count text when looking for a number greater than
    By neeners36 in forum Excel General
    Replies: 5
    Last Post: 03-30-2012, 06:07 PM
  3. How to Count number with text
    By summer2010 in forum Excel General
    Replies: 6
    Last Post: 06-10-2011, 11:18 AM
  4. Replies: 2
    Last Post: 08-16-2010, 10:44 AM
  5. [SOLVED] how do I count the number of times text in column A matches text i
    By Sheila in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-16-2005, 06:25 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