Hello!
Say i want A1 to show a the number 123, if A2 contains the text abc.
Wouldn't the function be:
=IF(A2="abc", 123)
Apparently this doesn't work. What am i doing wrong?
Thanks in advance! :)
Hello!
Say i want A1 to show a the number 123, if A2 contains the text abc.
Wouldn't the function be:
=IF(A2="abc", 123)
Apparently this doesn't work. What am i doing wrong?
Thanks in advance! :)
Key word seems to be 'contains' here
=IF(ISNUMBER(FIND("abc",A2)),123,"")
Remember FIND() is case-sensitive. You might want to use SEARCH()
Life's a spreadsheet, Excel!
Say thanks, Click *
Thanks for the help, however it's not really working for me
I did it in this sheet https://onedrive.live.com/redir?resi...nt=file%2cxlsx
Can you tell me what i did wrong? maybe edit the mistake.
Thanks for the help, however it's not really working for me
I did it in this sheet https://onedrive.live.com/redir?resi...nt=file%2cxlsx
Can you tell me what i did wrong? maybe edit the mistake.
Its just an alternative solution
=COUNTIF(A2,"*abc*")*123
Appreciate the help? CLICK *
Its just an alternative solution
=COUNTIF(A2,"*abc*")*123
=COUNTIF(A2,"*abc*")*123+COUNTIF(A2,"*bcd*")*234
=IF(ISNUMBER(SEARCH("abc",A2)),123,IF(ISNUMBER(SEARCH("bcd",A2)),234,""))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks