


Use functions to find the same parts of two phrases in Excel, don't rely on the naked eye
How to find the same parts from two phrases in excel table using functions? It’s not about eyesight
If you want to explain the function =IF(COUNT(FIND(A$2:A$1016,B2,1)),"EMS",""), I will explain it to you
First of all, the IF function will have two judgments, output the result if it is satisfied (TRUE), and output another result if it is not satisfied (FALSE).
So what’s inside your function? The condition part is COUNT(FIND(A$2:A$1016,B2,1))
When this condition is met, EMS will be output. If not, a null value (that is, "") will be output.
Explanation of condition part:
First explain the FIND function; you have a mistake here. The FIND function should be FIND(B2,$A$2:$A$1016,1), which means that based on the value in B2, search in the fixed cell range A, starting from the first character to find whether there is a value containing the content of B2 . If so, output the character position of B2 in this cell (column A). Returns a numeric value
Then COUNT is to calculate the position of cells containing numbers. (In fact, this step is to know whether the target has been found, because finding the target will output a numerical value, then COUNT will be TRUE, so the value of EMS will be obtained, and vice versa. Got null value.
Who wrote this function for you? It’s not very good.
How to use if function in excel table
1. The IF function determines "TRUE" and "FALSE" based on the specified conditions, thereby returning the corresponding content.
2. Function structure: =if (condition, result that meets the condition, result that does not meet the condition).
3. Usage: Use relational operators (mainly =,,>,=, 4. Steps: Formula-insert function-write logical expression
5. Nested IF function execution process, as shown below:
Example formula: IF(E2>=85, "Excellent", IF(E2>=75, "Good", IF(E2>=60, "Pass", "Fail")))
Explanation: Functions are executed from left to right. First calculate E2>=85. If the expression is established, it will display "Excellent". If it is not established, continue to calculate E2>=75. If the expression is established, it will display "Good". Otherwise, continue to calculate E2>=60. If If the expression is true, "pass" is displayed, otherwise "fail" is displayed. As shown below
The above is the detailed content of Use functions to find the same parts of two phrases in Excel, don't rely on the naked eye. For more information, please follow other related articles on the PHP Chinese website!

This tutorial explores various methods for combining Excel sheets, catering to different needs: consolidating data, merging sheets via data copying, or merging spreadsheets based on key columns. Many Excel users face the challenge of merging multipl

This tutorial shows you how to quickly calculate simple moving averages in Excel, using functions to determine moving averages over the last N days, weeks, months, or years, and how to add a moving average trendline to your charts. Previous articles

This tutorial demonstrates various methods for calculating averages in Excel, including formula-based and formula-free approaches, with options for rounding results. Microsoft Excel offers several functions for averaging numerical data, and this gui

This tutorial shows you two simple ways to calculate weighted averages in Excel: using the SUM or SUMPRODUCT function. Previous articles covered basic Excel averaging functions. But what if some values are more important than others, impacting the f

This tutorial demonstrates how to efficiently locate and modify data within Excel spreadsheets using the Find and Replace function. We'll cover basic and advanced techniques, including wildcard searches and modifications across multiple workbooks. W

This Excel charting tutorial provides a comprehensive guide to creating and customizing graphs within Microsoft Excel. Learn to visualize data effectively, from basic chart creation to advanced techniques. Everyone uses Excel charts to visualize dat

After you have created a chart in Excel, what's the first thing you usually want to do with it? Make the graph look exactly the way you've pictured it in your mind! In modern versions of Excel, customizing charts is easy and fun. Microsof

This tutorial demonstrates the Excel REPLACE and SUBSTITUTE functions with practical examples. Learn how to use REPLACE with text, numbers, and dates, and how to nest multiple REPLACE or SUBSTITUTE functions within a single formula. Last week, we ex


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver Mac version
Visual web development tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

Dreamweaver CS6
Visual web development tools
