Hi,
I have an xlsx that is an export of login data. I'm trying to search field A2 for specific text, and if it true, write something in the cell where I'm running the formula from, D2. The first example below works great, but if the cell says contains multiple words such as "1 brown apple", 'a very ripe avocado" (you get the point), the formula returns nothing. If the cell contains only the word apple, then it works great. I was trying to combine the first formula w the second formula below, but no luck.
=IF(A2="apple", "Ap", IF(A2="avocado", "Av", IF(A2="banana", "B", IF(A2="Lemon", "L", ""))))
=IF(AND(ISNUMBER(SEARCH("apple",A2)),ISNUMBER(SEARCH("log",A2))),"Valid ","")
Can anyone assist in searching a cell that has multiple pieces of text (imagine a whole sentence) and write the results to a cell?
Thank you so much! My xlsx skills are ok, but no match for the internet!
Bookmarks