Forum Discussion

SoominChoi's avatar
SoominChoi
Copper Contributor
Feb 21, 2023

Is there a way to compare whether two cells are equal in the numerical value, ignoring the text?

Is there a way to compare whether two cells are equal in the numerical value, ignoring the text? For instance, I want =2=2 years to return TRUE because the 2’s are equal to each other.

2 Replies

  • FikturFox's avatar
    FikturFox
    Brass Contributor
    The only way is to clean your strings by extracting the numerical value first then comparing them.
    There are many ways to extract a number from a string.

Resources