J
Jagdip Singh Ajimal
I have a cell, A1, with a date in.
I have a cell, B1, with a dropdownlist on. I put this on using the
data -> validation -> list method. The list is:
- simple
- complex
- complicated
Finally, I have another cell, C1, that also takes dates. When the user
chooses:
- "simple", then I add 15 days to the date in A1, and put this in C1
- "complex", then I add 20 days to the date in A1, and put this in C1
- "complicated", then I clear C1.
My problem is that I want to validate C1 according to above. i.e.
1. If the user has chosen "simple" or "complex", then I want to
disable C1 by using data -> validation -> custom -> =B1<>"complicated"
2. If the user chooses "complicated", then I want to enable C1 and
make sure that C1 is entered as a date.
The problem is with 2. above. I know how to validate C1 to make sure
it is a date. But I also need to make sure that the cell is only
editable when B1="complicated".
I hope I havent confused anyone. Basically, I need two validations on
one cell. How can I do this?
I have a cell, B1, with a dropdownlist on. I put this on using the
data -> validation -> list method. The list is:
- simple
- complex
- complicated
Finally, I have another cell, C1, that also takes dates. When the user
chooses:
- "simple", then I add 15 days to the date in A1, and put this in C1
- "complex", then I add 20 days to the date in A1, and put this in C1
- "complicated", then I clear C1.
My problem is that I want to validate C1 according to above. i.e.
1. If the user has chosen "simple" or "complex", then I want to
disable C1 by using data -> validation -> custom -> =B1<>"complicated"
2. If the user chooses "complicated", then I want to enable C1 and
make sure that C1 is entered as a date.
The problem is with 2. above. I know how to validate C1 to make sure
it is a date. But I also need to make sure that the cell is only
editable when B1="complicated".
I hope I havent confused anyone. Basically, I need two validations on
one cell. How can I do this?