Sequence true or false

James Clear

Board Regular
Joined
Jul 12, 2021
Messages
139
Office Version
  1. 365
  2. 2016
  3. 2013
  4. 2010
Platform
  1. Windows
I would like to have answer other than v lookup

If sequence is 01111 - False , 10111- false, 11111- True , 11011 - false
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Another way...

=0+A1<11111

Note: The +0 is because I assumed the values are Text to preserve the leading 0. If the values are real numbers custom formatted with 00000 instead, then you can remove the +0.
 
Last edited:
Upvote 0
Hi,

You didn't explain your logic behind your TRUE/FALSE requirements, so this is my guess, see if this works for you:

Book3.xlsx
AB
101111FALSE
210111FALSE
311111TRUE
411011FALSE
511100TRUE
Sheet941
Cell Formulas
RangeFormula
B1:B5B1=ISODD(LEN(SUBSTITUTE(A1,"0","")))
 
Upvote 0
Hi,

You didn't explain your logic behind your TRUE/FALSE requirements, so this is my guess, see if this works for you:

Book3.xlsx
AB
101111FALSE
210111FALSE
311111TRUE
411011FALSE
511100TRUE
Sheet941
Cell Formulas
RangeFormula
B1:B5B1=ISODD(LEN(SUBSTITUTE(A1,"0","")))
This is what I was looking for..Thanks a lot
 
Upvote 0

Forum statistics

Threads
1,213,535
Messages
6,114,192
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top