Thread: IF statement
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bernard Liengme[_3_] Bernard Liengme[_3_] is offline
external usenet poster
 
Posts: 1,104
Default IF statement

=LEN(A1)<LEN(SUBSTITUTE(A1,"d","")) ......................... TRUE/FALSE
=IF(LEN(A1)<LEN(SUBSTITUTE(A1,"d","")),"Y","N") .......... Y/N
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"HS" wrote in message
...
is there a way to say to create a column that displays a Yes or No if part
of
a field has some text in it

for example if you wanted to tag the ones that had a D in column A

ColumnA Tag
abc N
abde Y
abcd Y
Thanks!