Excel Tables
Excel Expert
Power Query
Power Pivot
September 21, 2023
I would like to return TRUE/FALSE if a number includes a "1" (TRUE) or "11" (FALSE).
I'm finding it hard to figure out a suitable formula to achieve this that caters for numbers with more other numerals. e.g. "111", "1196", "19611".
See attached spreadsheet as an example.
Is there a formula that would cater for this please?
Moderators
January 31, 2022
I've entered a formula in the table that produces 0 or 1 in line with the required result FALSE or TRUE. Though, it also returns 0 (i.e. FALSE) if there is no "1" and no "11". For example "234" returns 0.
See attached.
EDIT: Forget it, I just found a mistake. The number "10" will also return FALSE but I believe you want it to be TRUE as it has "1" in it. Or not?
Trusted Members
October 17, 2018
1 Guest(s)