Solved

Excel formula HowManyTimes a String Exists in Range

Posted on 2011-03-25
7
203 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Outlook Free & Paid Tools
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
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 …

708 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

14 Experts available now in Live!

Get 1:1 Help Now