Solved

Excel formula HowManyTimes a String Exists in Range

Posted on 2011-03-25
7
206 Views
Last Modified: 2012-05-11

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
0
Comment
Question by:jandersonwidener
7 Comments
 

Author Comment

by:jandersonwidener
ID: 35217745
like 3 should be 15qty instances but 9 should be 2qty instances
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35217759
use countif
0
 
LVL 39

Expert Comment

by:nutsch
ID: 35217761
From your sample data:

=COUNTIF(A1:F15,3)

But maybe you need something else.

Thomas
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 35217778


So it becomes something like this:
=COUNTIF(A2:F16,I2)
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35217783
=COUNTIF(A2:F16,3)
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35217802
Sample:
Sample.xls
0
 

Author Closing Comment

by:jandersonwidener
ID: 35218500
thx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now