PC Review


Reply
Thread Tools Rate Thread

Array Formula for numbering similar nos (counting)

 
 
noname
Guest
Posts: n/a
 
      10th Jan 2011
Hi,

I have numbers in column A like this:
Col A
-----
1
1
1
1
2
2
2
3
3
3
3
3

I want a formula (probably an Array Formula) in Col B which will
number the similar numbers in this range. Like this:

Col A Col B
-------------
1 1
1 2
1 3
1 4
2 1
2 2
2 3
3 1
3 2
3 3
3 4
3 5

Has anyone done something like this?
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      10th Jan 2011
No need for an array formula. Just put this in B1:

=COUNTIF(A$1:A1,A1)

and copy down.

Hope this helps.

Pete

On Jan 10, 7:10*am, noname <sifar...@gmail.com> wrote:
> Hi,
>
> I have numbers in column A like this:
> Col A
> -----
> 1
> 1
> 1
> 1
> 2
> 2
> 2
> 3
> 3
> 3
> 3
> 3
>
> I want a formula (probably an Array Formula) in Col B which will
> number the similar numbers in this range. Like this:
>
> Col A Col B
> -------------
> 1 1
> 1 2
> 1 3
> 1 4
> 2 1
> 2 2
> 2 3
> 3 1
> 3 2
> 3 3
> 3 4
> 3 5
>
> Has anyone done something like this?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
do I need array formula or sumproduct for counting? =?Utf-8?B?S2FyaW4=?= Microsoft Excel Worksheet Functions 3 30th Mar 2006 05:50 PM
Counting with Array Formula Werner Rohrmoser Microsoft Excel Worksheet Functions 8 20th Sep 2005 05:09 PM
How can you use count with an array formula similar to using sum =?Utf-8?B?UGhpbEg=?= Microsoft Excel Worksheet Functions 3 27th Jun 2005 08:00 AM
array Formula for date counting Bill Dunn Microsoft Excel Worksheet Functions 2 6th May 2004 01:48 PM
Array Formula isn't summing but counting SPenney Microsoft Excel Misc 6 20th Feb 2004 02:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:34 PM.