Seamus2626
asked on
IF ignoring special characters
=IF(LEFT(B2,5)="Slide","", IF(AND(ISN UMBER(B2), B2>0),"",I F(B2="a name","","Action")))
Hi, if B2 contains character -------
i would like to ignore, leave blank, i would implicity state this but the amount of dashes varies e.g
-------
-----------------
and on some lines are stacked on tope of each other
Thanks
Hi, if B2 contains character -------
i would like to ignore, leave blank, i would implicity state this but the amount of dashes varies e.g
-------
-----------------
and on some lines are stacked on tope of each other
Thanks
=IF(or(LEFT(B2,5)="Slide", LEFT(B2,5) ="-----"), "",IF(AND( ISNUMBER(B 2),B2>0)," ",IF(B2="a name","","Action")))
ASKER
Hi ssaqibh,
that did not ignore
===================
thanks
that did not ignore
===================
thanks
Perhaps try
=IF(OR(LEFT(B2,5)="Slide", COUNTIF(B2 ,"*--*")), "",IF(AND( ISNUMBER(B 2),B2>0)," ",IF(B2="a name","","Action")))
regards, barry
=IF(OR(LEFT(B2,5)="Slide",
regards, barry
replace the ----- with =====
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Barry, your formula dramatically increased what i was expecting back. ssaqibh bought back what i was expecting
many thanks
many thanks