Excel formula LIKE, AND, IF, WILDCARDS -


i have scenario using number of formulas comfortable , not getting result. want result there "1" present in cell. (the 1 result of formula). text of column contains &. ("&/or")

i have tried couple formulas

=if(and(i1=1,c2="*"&$q$1&"*"),1," ")  

---in have tried put & in cell , refer it

=if(i1=1,1," ")    

and in new column

=if(c2="*"&"/"&"*",1," ") 

then combining results of two? noticing wrong it??

wildcards aren't recognised comparison operators =, example if use formula

=a1="*&*"

that treat *'s literal asterisks (not wildcards) return true if a1 literally contains *&*

you can use countif function, single cell, e.g.

=countif(a1,"*&*")

that return 1 if a1 contains &, purposes:

=if(and(i1=1,countif($g$1,"*&*")),1,"")


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -