Do Nothing If Meets Criteria

G

Guest

I have a cell that I would like the user to be able to enter text into only
if another cell contains the word "MDF". I would like to do this with
validation.

Here is what I have tried:

=IF(COUNTIF(C5,"*MDF*")>0,0,“ “)

I would like the formula to do nothing if the word "MDF" is in C5, if not I
want it to clear the cell thus the blank space.

Any suggestions?

Thanks,

Kevin
 
G

Guest

Thanks, Dave! My criteria is the second part. How can I get warning message
to pop up explaining to the user that the entry is invalid? Can this all be
done from within validation?

Thanks,

Kevin

Dave F said:
=IF(C5="*MDF*","",[your criteria])

Dave
--
Brevity is the soul of wit.


kmwhitt said:
I have a cell that I would like the user to be able to enter text into only
if another cell contains the word "MDF". I would like to do this with
validation.

Here is what I have tried:

=IF(COUNTIF(C5,"*MDF*")>0,0,“ “)

I would like the formula to do nothing if the word "MDF" is in C5, if not I
want it to clear the cell thus the blank space.

Any suggestions?

Thanks,

Kevin
 

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