Events
Free Community Day (14 March)Conference 2026 (19-20 May)Awards 2026 (Nominations Open)
Speakers
Agenda
Conference AgendaMasterclassesCorporate Training
About
About usParticipating CompaniesEvent PartnersVisitor info
Resources
BlogEbooksFAQs
ContactGet Tickets
0

Your Cart

  • :
Remove
Subtotal:
Pay with browser.
Continue to Checkout
No items found.
Product is not available in this quantity.
Andrew Moss
Technical Writer
Resources
May 16, 2023

Why are two identical-looking values not equal to each other?

Just because data looks identical, it doesn't mean it is.

That's the key message of this video, which demonstrates how two values that look the same are actually different.

@globalexcelsummit Just because data looks identical, it doesn't mean it is. That's the key message of this video, which demonstrates how two values that look the same are actually different. 'Hello world' is contained in cells B2 and B3, each referred to as Value A and Value B, respectively. After testing them for equality using =๐™ฑ๐Ÿธ=๐™ฑ๐Ÿน, FALSE is returned. Their lengths are then checked for any trailing spaces. There turns out to be one in Value A, but even after removing it, the equality test does not change. The difference only becomes apparent after returning the Unicode numbers for the spaces that separate the two words. This is done using =๐š„๐™ฝ๐™ธ๐™ฒ๐™พ๐™ณ๐™ด(๐™ผ๐™ธ๐™ณ(๐™ฑ๐Ÿธ:๐™ฑ๐Ÿน,๐Ÿผ,๐Ÿท)). ๐˜œ๐˜ฏ๐˜ช๐˜ค๐˜ฐ๐˜ฅ๐˜ฆ ๐˜ช๐˜ด ๐˜ข ๐˜ถ๐˜ฏ๐˜ช๐˜ท๐˜ฆ๐˜ณ๐˜ด๐˜ข๐˜ญ ๐˜ฆ๐˜ฏ๐˜ค๐˜ฐ๐˜ฅ๐˜ช๐˜ฏ๐˜จ ๐˜ด๐˜ต๐˜ข๐˜ฏ๐˜ฅ๐˜ข๐˜ณ๐˜ฅ ๐˜ต๐˜ฉ๐˜ข๐˜ต ๐˜ฉ๐˜ข๐˜ด ๐˜ข ๐˜ถ๐˜ฏ๐˜ช๐˜ฒ๐˜ถ๐˜ฆ ๐˜ท๐˜ข๐˜ญ๐˜ถ๐˜ฆ ๐˜ข๐˜ด๐˜ด๐˜ช๐˜จ๐˜ฏ๐˜ฆ๐˜ฅ ๐˜ต๐˜ฐ ๐˜ฆ๐˜ท๐˜ฆ๐˜ณ๐˜บ ๐˜ค๐˜ฉ๐˜ข๐˜ณ๐˜ข๐˜ค๐˜ต๐˜ฆ๐˜ณ, ๐˜ด๐˜บ๐˜ฎ๐˜ฃ๐˜ฐ๐˜ญ, ๐˜ข๐˜ฏ๐˜ฅ ๐˜ด๐˜ค๐˜ณ๐˜ช๐˜ฑ๐˜ต ๐˜ถ๐˜ด๐˜ฆ๐˜ฅ ๐˜ช๐˜ฏ ๐˜ญ๐˜ข๐˜ฏ๐˜จ๐˜ถ๐˜ข๐˜จ๐˜ฆ๐˜ด ๐˜ธ๐˜ฐ๐˜ณ๐˜ญ๐˜ฅ๐˜ธ๐˜ช๐˜ฅ๐˜ฆ. ๐˜๐˜ต๐˜ด ๐˜ฑ๐˜ถ๐˜ณ๐˜ฑ๐˜ฐ๐˜ด๐˜ฆ ๐˜ช๐˜ด ๐˜ต๐˜ฐ ๐˜ฆ๐˜ฏ๐˜ด๐˜ถ๐˜ณ๐˜ฆ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ค๐˜ฐ๐˜ฏ๐˜ด๐˜ช๐˜ด๐˜ต๐˜ฆ๐˜ฏ๐˜ต ๐˜ณ๐˜ฆ๐˜ฑ๐˜ณ๐˜ฆ๐˜ด๐˜ฆ๐˜ฏ๐˜ต๐˜ข๐˜ต๐˜ช๐˜ฐ๐˜ฏ ๐˜ฐ๐˜ง ๐˜ต๐˜ฆ๐˜น๐˜ต ๐˜ข๐˜ค๐˜ณ๐˜ฐ๐˜ด๐˜ด ๐˜ฅ๐˜ช๐˜ง๐˜ง๐˜ฆ๐˜ณ๐˜ฆ๐˜ฏ๐˜ต ๐˜ฑ๐˜ญ๐˜ข๐˜ต๐˜ง๐˜ฐ๐˜ณ๐˜ฎ๐˜ด ๐˜ข๐˜ฏ๐˜ฅ ๐˜ฅ๐˜ฆ๐˜ท๐˜ช๐˜ค๐˜ฆ๐˜ด. Inside UNICODE, MID is nested and the range is specified before putting a ๐šœ๐š๐šŠ๐š›๐š_๐š—๐šž๐š– of 6 as both spaces are the sixth character. A ๐š—๐šž๐š–_๐šŒ๐š‘๐šŠ๐š›๐šœ of 1 is also added to extract only that character. The Unicode numbers returned are 32 and 160, proving there is a difference. Value A's space is copied across and pasted to replace Value B's. With both now featuring spaces that use number 32, all things are equal and TRUE is returned. You might encounter this problem if you copy and paste something from the web. Nevertheless, it's worth being aware of when you're cleaning and transforming your data because it can mess up your analysis in a very sneaky way. #exceleration #excel #microsoftexcel #excelformulas #exceltips #globalexcelsummit โ™ฌ original sound - globalexcelsummit

'Hello world' is contained in cells B2 and B3, each referred to as Value A and Value B, respectively. After testing them for equality using =๐™ฑ๐Ÿธ=๐™ฑ๐Ÿน, FALSE is returned. Their lengths are then checked for any trailing spaces. There turns out to be one in Value A, but even after removing it, the equality test does not change.

The difference only becomes apparent after returning the Unicode numbers for the spaces that separate the two words. This is done using =๐š„๐™ฝ๐™ธ๐™ฒ๐™พ๐™ณ๐™ด(๐™ผ๐™ธ๐™ณ(๐™ฑ๐Ÿธ:๐™ฑ๐Ÿน,๐Ÿผ,๐Ÿท)).

Unicode is a universal encoding standard that has a unique value assigned to every character, symbol, and script used in languages worldwide. Its purpose is to ensure the consistent representation of text across different platforms and devices.โ€

Inside UNICODE, MID is nested and the range is specified before putting a ๐šœ๐š๐šŠ๐š›๐š_๐š—๐šž๐š– of 6 as both spaces are the sixth character. A ๐š—๐šž๐š–_๐šŒ๐š‘๐šŠ๐š›๐šœ of 1 is also added to extract only that character.

The Unicode numbers returned are 32 and 160, proving there is a difference. Value A's space is copied across and pasted to replace Value B's. With both now featuring spaces that use number 32, all things are equal and TRUE is returned.

You might encounter this problem if you copy and paste something from the web. Nevertheless, it's worth being aware of when you're cleaning and transforming your data because it can mess up your analysis in a very sneaky way.

For more Excel tips and tricks like this, check out our Video Tutorials page.

Latest articles
ICAEW Confirms Continued Partnership with the Global Excel Summit
Sheetcast - A Natural Evolution for People Who Love Excel
How to Build Your First AI Agent in Excel
Categories
News
Resources
Andrew Moss
Technical Writer
Share:

Latest Articles

Resources
Dec 22nd, 2025

Sheetcast - A Natural Evolution for People Who Love Excel

Excel becomes the backend, Sheetcast becomes the interface, and users get an app instead of a fragile file.
Read Article โ†’
Resources
Nov 24th, 2025

How to Build Your First AI Agent in Excel

Rather than positioning AI as something that replaces Excel, George Mount demonstrates how Excel becomes more powerful when paired with modern AI.
Read Article โ†’
Resources
Nov 10th, 2025

Leap into Excelโ€™s AI revolution with COPILOTALT by Sheetcast

This groundbreaking new function lets you experience the future of Excelโ€ฆ today!
Read Article โ†’
19-23 May 2026

One week, two premier events

Join the European Excel Week - from learning and mastering new skills at Global Excel Summit to elite performance at the Excel Esports European Open.

Coming Soon
Pages
Home
20212022202320242025
About UsFAQsOnline CoursesBlogContact
LEGALS
Privacy PolicyTerms of Service
Subscribe to our newsletter!
The Global Excel Summit is a premium global conference bringing together thebrightest minds from the world of Excel.
ยฉ 2026 The Global Excel Summit is organised and managed by DATEL Productions Limited, a company incorporatedin England and Wales (no. 10106893) and registered at Suite 407, 95 Wilton Road, London SW1V 1BZ, UK.