ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   counting the number of times shown (https://www.excelbanter.com/excel-worksheet-functions/257182-counting-number-times-shown.html)

klh84

counting the number of times shown
 
I am trying to figure out a way to put a numerical value next to the id that
is shown, suggestions?

ex:
ID This is what I am hoping to get to show up in the next column
55 1
55 2
37 1
46 1
62 1
55 3
89 1
82 1



Per Jessen

counting the number of times shown
 
Hi

With ID in column A, insert this formula in B2 and copy it down as required:

=COUNTIF($A$2:A2,A2)

Regards,
Per

"klh84" skrev i meddelelsen
...
I am trying to figure out a way to put a numerical value next to the id
that
is shown, suggestions?

ex:
ID This is what I am hoping to get to show up in the next column
55 1
55 2
37 1
46 1
62 1
55 3
89 1
82 1



Mike H

counting the number of times shown
 
Hi,

Assuming your data starts in a2 try this in B2 and drag down

=COUNTIF($A$2:A2,A2)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"klh84" wrote:

I am trying to figure out a way to put a numerical value next to the id that
is shown, suggestions?

ex:
ID This is what I am hoping to get to show up in the next column
55 1
55 2
37 1
46 1
62 1
55 3
89 1
82 1



Gary''s Student

counting the number of times shown
 
In B1 enter: 1
in B2 enter: =COUNTIF($A$1:$A2,A2) and copy down

--
Gary''s Student - gsnu201001


"klh84" wrote:

I am trying to figure out a way to put a numerical value next to the id that
is shown, suggestions?

ex:
ID This is what I am hoping to get to show up in the next column
55 1
55 2
37 1
46 1
62 1
55 3
89 1
82 1




All times are GMT +1. The time now is 03:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com