=COUNTIF(A1:A20,{"O","I","P"}), array entered into a three-column row,
will return the number of o's, i's, and p's, respectively, to the three
cells; it is not case sensitive.
=SUM(COUNTIF(A1:A20,{"O","I","P"}) will return the aggregate number of
o's, i's, and p's, as will =COUNTA(A1:A20).
Alan Beban
digitallifeform wrote:
> Hi there.
>
> I have got a column of which each cel contains one of three answers.
> They are either 'O' 'I' or 'P'.
>
> In another cell i need a forumla that will count how many 'O's, 'I's
> etc there are.
>
> How do i do this please.
>
>
>
> ------------------------------------------------
> ~~ Message posted from http://www.ExcelTip.com/
> ~~ View and post usenet messages directly from http://www.ExcelForum.com/
>