+ Reply to Thread
Results 1 to 3 of 3

Require a formula to progressively count the instances and allocate a number to each

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Require a formula to progressively count the instances and allocate a number to each

    Hi I am looking for a formula that counts the instances of a name and a criteria in a list and progressively counts them.

    example.
    Formula
    Name Criteria Result

    John 1 1
    John
    John 1 2
    Dave 1 1
    Dave
    Mike 1 1
    John 1 3
    Dave 1 2
    Mike 1 2

    Thanks in advance.

    JD

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Require a formula to progressively count the instances and allocate a number to each

    Assuming Name is in A, Criteria is in B, place this formula in C

    =COUNTIFS($A$1:$A1,A1,$B$1:$B1,B1)

    Copy down as far as you need


    If you don't want zeros try
    =IF(COUNTIFS($A$2:$A2,A2,$B$2:$B2,B2)=0,"",COUNTIFS($A$2:$A2,A2,$B$2:$B2,B2))


    Hope this helps.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Require a formula to progressively count the instances and allocate a number to each

    Works brilliantly.

    Cheers

+ 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. Require fromula to count instances of times and dates
    By john dalton in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2014, 06:00 AM
  2. [SOLVED] Formula To Count Number Of Instances
    By mamuka12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-03-2013, 12:45 AM
  3. [SOLVED] Formula to allocate name and count in col 'F'.
    By visha_1984 in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 11-27-2013, 03:16 AM
  4. [SOLVED] Count / Allocate number in list
    By Starkey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2013, 08:53 PM
  5. Count number of instances
    By paulcraigdainty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2008, 10:52 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