Solved

Excel formula HowManyTimes a String Exists in Range

Posted on 2011-03-25
7
212 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
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 …

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