+ Reply to Thread
Results 1 to 7 of 7

Need formula for counting total Numbers in One Cell

  1. #1
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Question Need formula for counting total Numbers in One Cell

    Dear All,

    I need one formula for counting total numbers in a Cell. and if cell is blank, result should be "0" (zero).

    Kindly suggest suitable formula and please find sample file.

    thanking you,
    Best regards.
    Attached Files Attached Files

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

    Re: Need formula for counting total Numbers in One Cell

    Try this in C3:

    =IF(TRIM(C2)="",0,LEN(TRIM(C2))-LEN(SUBSTITUTE(TRIM(C2)," ",""))+1)

    Hope this helps.

    Pete

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Need formula for counting total Numbers in One Cell

    Here:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Need formula for counting total Numbers in One Cell

    Try this ...

    =LEN(C2)-LEN(SUBSTITUTE(C2," ",""))+(LEN(C2)>0)

  5. #5
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Need formula for counting total Numbers in One Cell

    Thank you all of you friends,

    all formulas are working well.


    thanking you all for fast response,
    Best regards.

  6. #6
    Forum Contributor
    Join Date
    06-18-2007
    Location
    Kiama, Australia
    MS-Off Ver
    365
    Posts
    119

    Re: Need formula for counting total Numbers in One Cell

    Try this.

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Need formula for counting total Numbers in One Cell

    Thank you sir,

    All formulas are well..

    Best regards.

+ 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. Replies: 4
    Last Post: 03-10-2015, 07:28 AM
  2. formula for counting between two numbers
    By davidingilbert in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2014, 10:22 AM
  3. Replies: 5
    Last Post: 07-22-2013, 05:56 PM
  4. Counting Numbers Formula
    By Funkygibon101 in forum Excel General
    Replies: 7
    Last Post: 12-15-2011, 04:33 PM
  5. formula for total of cells which contain numbers greater than zero
    By william39 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2009, 06:36 AM
  6. I want the total in numbers to show not the formula
    By lavonnejohnson in forum Excel General
    Replies: 1
    Last Post: 05-13-2006, 11:00 AM
  7. Formula to sum total numbers with dashes in them
    By mikeburg in forum Excel General
    Replies: 3
    Last Post: 01-26-2006, 07:01 PM

Tags for this Thread

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