Making a cell mandatory if another cell has a particular value
I would use an adjacent cell and a formula:
=if(and(or(c4="xx",c4="yy"),c6=""),"Please answer C6","")
And format this cell in big, bold, red, letters.
If you have lots of values to check in C4, you could use an equivalent
variation:
=if(and(or(c4={"xx","yy"}),c6=""),"Please answer C6","")
(It's less typing)
lisay wrote:
Hi, any help would be appreciated!
I am trying to create a template where people fill out information about a
user. I want cell C6 to be filled out (NOT empty) if cell C4 = "XX" or C4 =
"YY".
Then, I want to be able to save the template where C6 is blank so that
people can fill it out later;
Thank you!
Lisa
--
Dave Peterson
|