# Personal Career & Learning Guide for Data Analyst, Data Engineer and Data Scientist

Excel is a powerful tool for data analysis. One of its many features is the ability to count cells that contain specific values or words. This can be incredibly useful when working with large data sets and trying to identify trends or patterns.

Imagine you have a spreadsheet with a list of items and you want to know how many items contain either the word “apple” or the word “banana.” You can easily do this in Excel by using the “COUNTIF” formula.

Here’s how:

- First, select the cells that you want to count.
- Next, go to the formula bar and type in “=COUNTIF(A1:A10, “apple”)” (without the quotes). This formula says to count the cells in the range A1 to A10 that contain the word “apple.”
- Change the range and word in the formula to match your data. For example, if your data is in the range B1 to B20 and you want to count cells that contain either “apple” or “banana,” you would use the formula “=COUNTIF(B1:B20, “apple”) + COUNTIF(B1:B20, “banana”)”.
- Press “Enter” to get the result.

That’s it! Now you know how to count cells in Excel that contain either “apple” or “banana.”

This is just one example of what you can do with Excel’s “COUNTIF” formula. You can use it to count cells that contain any value or word that you specify. And you can combine it with other formulas to create even more powerful data analysis tools.

In conclusion, if you’re a data analyst, Excel is an essential tool for your work. By using the “COUNTIF” formula, you can quickly and easily count cells that contain specific values or words. This will help you make sense of your data and uncover valuable insights.

# Excel Example for Data Analyst – Count cells that contain either x or y

Latest end-to-end Learn by Coding Projects (Jupyter Notebooks) in Python and R:

**All Notebooks in One Bundle: Data Science Recipes and Examples in Python & R****. **

**End-to-End Python Machine Learning Recipes & Examples.**

**End-to-End R Machine Learning Recipes & Examples.**

**Applied Statistics with R for Beginners and Business Professionals**

**Data Science and Machine Learning Projects in Python: Tabular Data Analytics**

**Data Science and Machine Learning Projects in R: Tabular Data Analytics**

**Python Machine Learning & Data Science Recipes: Learn by Coding**

**R Machine Learning & Data Science Recipes: Learn by Coding**

**Comparing Different Machine Learning Algorithms in Python for Classification (FREE)**

There are 2000+ End-to-End Python & R Notebooks are available to build **Professional Portfolio as a Data Scientist and/or Machine Learning Specialist**. All Notebooks are only $29.95. We would like to request you to have a look at the website for FREE the end-to-end notebooks, and then decide whether you would like to purchase or not.