Forum Discussion
AndyT410
Apr 05, 2023Brass Contributor
Return all cells that start with *
Hi, I'm trying to return all cells that start with * followed by a space or just *. With * being a wildcard I can't figure out how to do it. The * is part of the name from an export and I need to id...
- Apr 05, 2023
Hecatonchire
Apr 05, 2023Iron Contributor
AndyT410
Apr 05, 2023Brass Contributor
Hi,
Sorry. Me again. I thought it would also work for cells starting ** but I can't seem to make it work. Is this possible as it returns both * and **. Thanks in advance.
Sorry. Me again. I thought it would also work for cells starting ** but I can't seem to make it work. Is this possible as it returns both * and **. Thanks in advance.
- SergeiBaklanApr 05, 2023Diamond Contributor
- mtarlerApr 05, 2023Silver Contributor
Similar answer but I think I interpreted different than Sergei:
For "*" and NOT "**" =FILTER(range, ( LEFT(range)="*") * (LEFT(range,2)<>"**") ) and for "**" and not "*" =FILTER(range, LEFT(range,2)="**" )
- AndyT410Apr 06, 2023Brass ContributorThanks. That works perfectly.