+ Reply to Thread
Results 1 to 8 of 8

Count or Countif formula

  1. #1
    Registered User
    Join Date
    05-23-2014
    MS-Off Ver
    2007
    Posts
    4

    Unhappy Count or Countif formula

    I was had a spreadsheet that had a list names and there was a formula that took all of the names and designated a number to them to count them:
    Tom 1
    Tom 2
    Randy 1
    Ed 1
    Randy 2
    Ed 2
    Tom 3
    Ed 3
    I can not for the life of me remember how to re write this...

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Count or Countif formula

    May be, to have it done for all at once - use pivot table? just remember to have a header(s) above your data.
    Best Regards,

    Kaper

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,539

    Re: Count or Countif formula

    =COUNTIF($A$1:A1,A1,A$1:A1)

    In B1 and copied down.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Count or Countif formula

    Quote Originally Posted by AliGW View Post
    =COUNTIF($A$1:A1,A1,A$1:A1)

    In B1 and copied down.
    Ali, this was your formula, right?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Count or Countif formula

    Quote Originally Posted by Saarang84 View Post


    Ali, this was your formula, right?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Why COUNTIFS?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  6. #6
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Count or Countif formula

    Quote Originally Posted by XOR LX View Post
    Why COUNTIFS?
    Quote Originally Posted by AliGW View Post
    =COUNTIF($A$1:A1,A1,A$1:A1)

    In B1 and copied down.
    Regards
    Hi XOR,

    Ali's COUNTIF formula was not working. So, I suggested it.

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Count or Countif formula

    Quote Originally Posted by Saarang84 View Post


    Hi XOR,

    Ali's COUNTIF formula was not working. So, I suggested it.
    Why? COUNTIFS is designed for more than a single criterion. It won't fail with one, but it's nevertheless unnecessary. Why did you think that would help?

    Regards

  8. #8
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: Count or Countif formula

    Hi,


    Check this file with the help of "XOR LX" Solution

    Punnam
    Attached Files Attached Files

+ 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] COUNTIF or COUNT formula help required
    By MYEM1983 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-05-2014, 01:42 PM
  2. Formula - Count distinct / Countif??
    By Africa in forum Excel General
    Replies: 3
    Last Post: 02-29-2012, 11:24 AM
  3. Count and Countif within existing formula
    By chloesnowling in forum Excel General
    Replies: 1
    Last Post: 01-05-2012, 09:40 AM
  4. Formula Countif/count/and/+?
    By airolgmd in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-11-2010, 02:01 AM
  5. Count/CountIF Formula
    By ph8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-05-2006, 07:38 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