• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

Comparing Two Strings (Text)

0 Comments

Comparing Two Strings (Text)

In Excel, you can compare two strings using different methods:

Comparing Two Strings (Text)

  1. Case Insensitive
  2. Case Sensitive

In this tutorial, we will learn how to write formulas for both methods.

Comparing Two Strings with Non-Case Sensitive Match:

  1. Begin by entering an equals sign (=) in a cell.
  2. Refer to the cell containing the first value.
  3. Enter another equals sign (=).
  4. Refer to the cell containing the second value.
  5. Press Enter to obtain the result.Comparing Two Strings 1

In the example above, the first cell contains “Excel” and the second cell contains “EXCEL”. Both values are the same, except for the case difference. The result is TRUE because this formula does not consider the case of the text when comparing.

Example Formula: =text1 = text2

Comparing Two Strings with Case Sensitive Match: If you want to consider the case of the text when matching, you can use the EXACT function.

  1. Enter the EXACT function in a cell.
  2. Refer to the cell containing the first value.
  3. Type a comma (,).
  4. Refer to the cell containing the second value.
  5. Close the function and press Enter to obtain the result.Comparing Two Strings 2

In the example above, all the cells contain the same values, but the result is TRUE only where the values match exactly, including the case.

Example Formula: =EXACT(A2,B2)

Using IF to Compare Two Texts: You can also combine the IF function with the methods discussed above.Comparing Two Strings 3

  1. Example Formula: =IF(A1=B1,”Yes”,”No”)
  2. Example Formula: =IF(EXACT(A2,B2),”Yes”,”No”)

By using the IF function, you can specify custom outputs such as “Yes” or “No” based on the comparison result.

Rate this post
46
286 Views
Extracting the Domain from an Email IDPrevExtracting the Domain from an Email IDMay 18, 2023
Adding Commas to Cell TextMay 18, 2023Adding Commas to Cell TextNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Kaspersky Total Security 2021 1 year 5 devices key Global Kaspersky Total Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $46.00
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
Products
  • Kaspersky Standard - 1 Device, 1 Year (Global License) Kaspersky Standard - 1 Device, 1 Year (Global License) $21.00
  • Microsoft SQL Server 2019 Enterprise Microsoft SQL Server 2019 Enterprise $39.00
  • Windows Server 2025 Datacenter Windows Server 2025 Datacenter $30.00
  • Microsoft Office Professional Plus 2010 retail Microsoft Office Professional Plus 2010 retail Key Global - 5 PC
    Rated 4.96 out of 5
    $15.00
  • Microsoft Project 2016 professional CD Key Global Microsoft Project 2016 professional CD Key Global
    Rated 4.97 out of 5
    $9.00
  • office-professional-2016-international Microsoft Office Professional Plus 2016 Retail CD Key
    Rated 4.92 out of 5
    $13.00
  • Windows Server 2019 Datacenter Key Global Windows Server 2019 Datacenter Key Global
    Rated 4.75 out of 5
    $7.00
  • Windows 10 Pro Key Global 20 PC Windows 10 Pro Key Global 20 PC $50.00
  • Project Standard 2021 Microsoft Project Standard 2021 - 1 PC $13.00
  • Windows Server 2025 Standard Windows Server 2025 Standard $30.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.