Hi all, I'm attaching the find value excel. I need to find in B2 if it contains any value from column A and if doesn't content mark Approved in a green cell in C2, if content exists place the word found. Thanks!
Hi all, I'm attaching the find value excel. I need to find in B2 if it contains any value from column A and if doesn't content mark Approved in a green cell in C2, if content exists place the word found. Thanks!
Try this for starters:
=IFERROR(LOOKUP(99999,SEARCH($A$2:$A$7,B2),$A$2:$A$7),"Approved")
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Thanks, 2 things. Can we make it to find at least one word from column A? For example, C8 should be satellite as a result. It was my bad to not comment all the requirements. Also, when approved can be marked in green and if not yellow? Thanks!!!
Foir the colour-coding, you simply need to apply a conditional formatting rule to that column:
Yellow: =AND(C2<>"",C2<>"Approved")
Green: =AND(C2<>"",C2="Approved")
Why can you not include satellite on its own in the lookup list? After all, you have gun and stun gun separately:
AliGW on MS365 Insider (Windows) 64 bit
A B C 1keyword name 2gun vvv rere gun gun 3Satellite vvv rere tytytyyt Approved 4Satellite Phone ffdf scope gfgfgf Scope 5Scope gfgfgfgf Approved 6stun gun gfgssf satellite phone Satellite Phone 7stungun hghghghg Approved 8Thermal ghghgfh767676 satellite Satellite 9ggfggfdfdf Approved 10jhjhjh Approved 11erere Approved
Sheet: Sheet1
=IFERROR(LOOKUP(99999,SEARCH($A$2:$A$8,B2),$A$2:$A$8),"Approved")
Last edited by AliGW; 01-07-2022 at 05:59 AM.
If you ALSO want satellite to be returned, (as per cell C8), you need to add satellite to the keyword list and sort the keyword list alphabetically and then useAli's formula, with the range adjusted appropriately:
=IFERROR(LOOKUP(99999,SEARCH($A$2:$A$8,B2),$A$2:$A$8),"Approved")
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Ali... Tsk, tsdk. Post editing threads!! see C6 (in your post). That's why the list needs to be sorted.
Yes, I know - I have just updated my post.
At the precise moment you were posting your alert ...Ali... Tsk, tsdk. Post editing threads!!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
Thank you both! So the first formula is for the exact match and the second is for any word? Also, how to do I the condition for the color?
See post #4 - everything is there.
Thanks! We are almost there. Please find attached update, C16 is not showing the correct output. Thanks for the help.
That's because you need 'stun' in your lookup list:
AliGW on MS365 Insider (Windows) 64 bit
A B C D 1keyword name 2gun vvv rere gun gun =IFERROR(LOOKUP(99999,SEARCH($A$2:$A$9,B2),$A$2:$A$9),"Approved") 3Satellite vvv rere tytytyyt Approved =IFERROR(LOOKUP(99999,SEARCH($A$2:$A$9,B3),$A$2:$A$9),"Approved") 4Satellite Phone ffdf scope gfgfgf Scope 5Scope gfgfgfgf Approved 6stun gfgssf satellite phone Satellite Phone 7stun gun hghghghg Approved 8stungun ghghgfh767676 satellite Satellite 9Thermal ggfggfdfdf Approved 10jhjhjh Approved 11erere Approved 12fdfd Approved 13erere Approved 14erere Approved 1554545454dfdfd Approved 16stun gfgf stun 17Thermal Thermal 18Scope fgfgf Scope
Sheet: Sheet1
It is, in C6, there is a way it can take it from there (2 words)?
No - we explained this to you over the course of posts #4 and #5 above.
Thank you, will test then as is!
Please mark as solved, etc. as per post #9. Thanks.
Hi, question, please see attached result for c18, it should be exact match. Can you check please and help if possible? It is taking value from c8 but it is not right...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks