Hi!
I have a range with many equal numbers, and I want to know how many I have of each one.
F.ex.
1
1
2
3
1
3
3
3
Result
3
Which formula can I use?
Thanks in advance!
Hi!
I have a range with many equal numbers, and I want to know how many I have of each one.
F.ex.
1
1
2
3
1
3
3
3
Result
3
Which formula can I use?
Thanks in advance!
Last edited by nitrone; 10-06-2011 at 08:22 AM.
Assuming list is in A1:A8 try:
=SUMPRODUCT((A1:A8<>"")/COUNTIF(A1:A8,A1:A8&""))
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Try following array formula ( commit with Ctrl+Shift+Enter)
=SUM(IF(MATCH(List1, List1, 0)>=(ROW(List1)-MIN(ROW(List1))+1), 1, 0))
where List1 is your range
Thank you so much NBVC!
It worked!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks