Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In cell B2, enter this
=COUNTIF($A$2:A2,A2) or, if you can have blanks and don't want those counted =IF(A2<"",COUNTIF($A$2:A2,A2),"") Then copy down column B to match col A. HTH, Bernie MS Excel MVP "Sam" wrote in message ... Is there a formula or easy way to add a counter to a file? For example if I have a file number that appears on a file 2 times and another 3 times and another 5 times I get the following results. Column (A) Column (B) File Number Results 9565845 1 9565845 2 9552456 1 9552456 2 9552456 3 5695695 1 5695695 2 5695695 3 5695695 4 5695695 5 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding up cell values only with identical info in other cells | Excel Worksheet Functions | |||
adding numbers from column B, while condition on column A | Excel Discussion (Misc queries) | |||
Adding a % value to a column of numbers | Excel Worksheet Functions | |||
Adding to a column of numbers | Excel Worksheet Functions | |||
column filtering to match identical numbers | Excel Discussion (Misc queries) |