Link to home
Start Free TrialLog in
Avatar of JAaron Anderson
JAaron AndersonFlag for United States of America

asked on

Excel formula HowManyTimes a String Exists in Range


If I had the provided sample range, what formula could I make to count how many 3s there are all together ? thanks
I tried the following thinking it would work



=SUM(IF(ISNUMBER(FIND(I2,A2:F16)),1,0))

Open in new window

sampledata.txt
Avatar of JAaron Anderson
JAaron Anderson
Flag of United States of America image

ASKER

like 3 should be 15qty instances but 9 should be 2qty instances
Avatar of jimyX
jimyX

use countif
From your sample data:

=COUNTIF(A1:F15,3)

But maybe you need something else.

Thomas
ASKER CERTIFIED SOLUTION
Avatar of jimyX
jimyX

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
=COUNTIF(A2:F16,3)
Sample:
Sample.xls
thx