ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Subtotal Range of Alphanumeric References (https://www.excelbanter.com/excel-worksheet-functions/68189-subtotal-range-alphanumeric-references.html)

girthhart

Subtotal Range of Alphanumeric References
 

Hi, I am looking for a formula that counts the number of occurrances in
a range of alphanumeric references, my range looks like this:

1 A B C
2 A6
3 A6
4 B2
5 B2
6 B2
7 T3
8 T3
9 T4
10 F3

Although there are 9 references, there are only 5 of each type,
therefore the formula would return 5.

Anyone help?


--
girthhart
------------------------------------------------------------------------
girthhart's Profile: http://www.excelforum.com/member.php...fo&userid=9409
View this thread: http://www.excelforum.com/showthread...hreadid=506303


Domenic

Subtotal Range of Alphanumeric References
 
Try...

=SUMPRODUCT((A1:A100<"")/COUNTIF(A1:A100,A1:A100&""))

Hope this helps!

In article ,
girthhart
wrote:

Hi, I am looking for a formula that counts the number of occurrances in
a range of alphanumeric references, my range looks like this:

1 A B C
2 A6
3 A6
4 B2
5 B2
6 B2
7 T3
8 T3
9 T4
10 F3

Although there are 9 references, there are only 5 of each type,
therefore the formula would return 5.

Anyone help?


girthhart

Subtotal Range of Alphanumeric References
 

Hallelujah! It works, thanks Domenic.


--
girthhart
------------------------------------------------------------------------
girthhart's Profile: http://www.excelforum.com/member.php...fo&userid=9409
View this thread: http://www.excelforum.com/showthread...hreadid=506303



All times are GMT +1. The time now is 01:41 AM.

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