[Solved] Using multiple text values in same range to get an answer

sharyn

New member
Hi,
I haven't been able to find a solution for this issue.
I have a list of options (red, green, blue, black) in a column.

I want to be able to give a yes answer to 'does the range contain red and green').

I've tried IF(AND(ISNUMBER(SEARCH..... but if I change the values in the list, it doesn't work any longer.
This is to go in a template sheet, to automatically provide the answer.

Any suggestions please?
Thanks
 
Greetings. You can easily solve the problem by using the following formula.
=IF(AND(ISNUMBER(MATCH(E2,B2:B6,0)),ISNUMBER(MATCH(E3,B2:B6,0))),"Yes","No")

Tk_SkhtBqR6eju6ELpzZxGQM8sOJAC-h2hT-Z04k64Si0FtRYce2f-MTdYoA49KNYiLSerqALRJxnglGwqYh5t7Wu6F1mRqhEJ7d9vO-GlfpWo8ZklKhUmVwBXvLVY4x4UUDEP1MQ2PuToie0npJqok

You can find the solution to the problem in the Excel workbook below.
 

Attachments

  • Sample_sheet_solution.xlsx
    10.6 KB · Views: 2

Online statistics

Members online
0
Guests online
34
Total visitors
34

Forum statistics

Threads
303
Messages
1,331
Members
550
Latest member
JasonRip
Top