Thread: Counting Data
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Counting Data

=SUM(1/COUNTIF(A1:A11,A1:A11))


This is an array formula that must be entered with CNTRL-SHFT-ENTER rather
than just the ENTER key.

(If you enter it the wrong way you will get 1.)
--
Gary''s Student - gsnu200851


"Byron720" wrote:

In a column I have hundreds of airway bills. I need to calculate how many
different numbers I have in that report. Not the total (I can go to the last
row for that) and not the frequency. For example:

9140266155
9182187486
9182187556
9182187556
9182187464
9182187464
9140266166
9140266166
9140266170
9140266170
9140266181

Here the formula here should give me 7 which is the number of different
AWB's there are.