Solved

Excel formula HowManyTimes a String Exists in Range

Posted on 2011-03-25
7
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 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