+ Reply to Thread
Results 1 to 5 of 5

Counting Contents

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    Richmond, CA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Counting Contents

    I have an excel file that has one column of numbers. I need a way to count the number of cells that contain each number. For instance there are 104 cells that contain 001. There are 104 different numbers so anyway to write a formula for one such as 001 and then drag it to make the rest 002 ,003 and so on. Any help would be appreciated. It seems like it should be simple but beyond me.

    Thanks, Mike

  2. #2
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Counting Contents

    Suppose column A contains the data you want to count.

    In cell B1, enter the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In cell C1, enter the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Highlight B1 & C1, drag down to row 104.

  3. #3
    Registered User
    Join Date
    12-06-2012
    Location
    Richmond, CA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Counting Contents

    Wow, just shows you the amount of things I don't understand about excel. This works except the first number shows one more than there actually is. The rest of it is perfect. Thank you very much.

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Counting Contents

    Hi all- here's another way. In B1 and copy down:
    =TEXT(ROW(),"000")

  5. #5
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Counting Contents

    Quote Originally Posted by leelnich View Post
    Hi all- here's another way. In B1 and copy down:
    =TEXT(ROW(),"000")
    I thought about that after, but the OP seemed happy with my cumbersome formula, so I left it alone.

+ 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. Counting the column contents in the excel
    By Mary22 in forum Excel General
    Replies: 7
    Last Post: 07-06-2016, 10:18 AM
  2. [SOLVED] Counting Random cell contents
    By Kevrhof in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 01-13-2016, 09:31 AM
  3. [SOLVED] Counting cells based on colours and contents
    By bond002 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2014, 08:58 AM
  4. Counting cell contents.
    By pouters in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-09-2013, 09:56 PM
  5. Counting - based on part of a cells contents
    By Paul Sheppard in forum Excel General
    Replies: 2
    Last Post: 09-17-2007, 11:35 AM
  6. Counting Contents
    By frainy180 in forum Excel General
    Replies: 4
    Last Post: 09-20-2006, 11:51 AM
  7. Counting based on other cells contents...
    By George in forum Excel General
    Replies: 3
    Last Post: 11-08-2005, 10:40 AM

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