Hi,
I have attached a workbook stating my problem. Any help is greatly appreciated.
Thanks.
SB16.
Hi,
I have attached a workbook stating my problem. Any help is greatly appreciated.
Thanks.
SB16.
Thanks
Babu.S
hi Babu. assuming the number of words is separated by a comma like you illustrated, then maybe:
=SUMPRODUCT(--(ISNUMBER(SEARCH($E$2:$E$4,A2))))=LEN(A2)-LEN(SUBSTITUTE(A2,",",""))+1
the above checks how many matches are there in column A in column E. then compares whether it's equals to the number of words in column A. to make it into Yes & No, try:
=IF(SUMPRODUCT(--(ISNUMBER(SEARCH($E$2:$E$4,A2))))=LEN(A2)-LEN(SUBSTITUTE(A2,",",""))+1,"yes","no")
have a happy new year~
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
pls see it is helping.....
=IF(ISERROR(VLOOKUP(LEFT(A2,3),$E$2:$E$4,1,0)),"no","yes")
Thanks Benishiryo, it works well...
Thanks Rishikrsaw.
Happy new year.
@Indi_Ra
it is working till the cell value is aaa,zzz
if cell value is zzz,aaa then the formula will give no ....
Hi
As per sbabu16 request (pls refer sbabu16's sheet column no b "Expected Result") all yes and column is fallowing only aaa bbb or ccc would come first in the cell as in if aaa.zzz then yes if eee.aaa then no ( pls see b5 sbabu16' comment).
and hence I can say formula is working....
do let me know if any thing is still Misconstrue .....
hi Babu. assuming the number of words is separated by a comma like you illustrated, then maybe:
=SUMPRODUCT(--(ISNUMBER(SEARCH($E$2:$E$4,A2))))=LEN(A2)-LEN(SUBSTITUTE(A2,",",""))+1
Happy New Year.......![]()
I thing benishiryo already discuss this method by the way...........
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks