Hi,
You could use COUTNIF
Assume your numbers (1 & 2) are in range B2:B10 in B11 enter
=COUNTIF(B2:B10,"2")
Hope this helps,
Gav.
> All,
>
[quoted text clipped - 10 lines]
>
> Thanks in advance.
tedmi - 10 Apr 2008 13:37 GMT
That will return the COUNT of rows containing 2's. If you want to display the
number 2 if ANY row in the range contains a 2, do this:
=IF(COUNTIF(B1:B10,2)>0,2,"")

Signature
TedMi
Thank you Gav and Tedmi. It worked.
> All,
>
[quoted text clipped - 10 lines]
>
> Thanks in advance.