If function

V

Veronica

In cell A1 I have: action, fiction, drama
If I have the word "drama" in cell A1, I want to enter the word "drama" in
cell A2.
How can I do this? I tried to use the if function but it doesn't work
because the words "action" and "fiction" are on the cell.
 
R

Roger H.

Hello Veronica. As a follow up to the previous answer, you might need to put
an asterisk in front of the first argument to the if finction to account for
the preceeding text : =IF(A1=*"drama","drama",""). This lets the function
know that there's other text within the cell, that comes BEFORE the text
"drama".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top