AwesomeSteph
Board Regular
- Joined
- Aug 18, 2017
- Messages
- 80
I have an excel sheet that users have to input data to access their forms, on the first sheet in B2 the user picks a project and in B4 the user will pick a sub-project. In B24 there is a data validation determined upon what is selected from B2. My question is can I overwrite the drop down and have vba input something specific in B24 (not the drop down) if a specific sub-project is selected from B4?
Currently the source for the list in B24 is as follows (selections and named ranges changed due to sensitive information, however it is currently at max length):
=IF(B2="ABC",ABC,IF(B2="DEF",DEF,IF(B2="GHI",GHI,IF(B2="JKL",JKL,IF(B2="MNO",MNO,IF(B2="PQR",PQR,""))))))
Both B2 and B4 are data validation lists.
What I want is for the above formula to work unless B4 contains xyz then I don't want a drop down in B24 I want just the number associated with that sub-project.
Currently the source for the list in B24 is as follows (selections and named ranges changed due to sensitive information, however it is currently at max length):
=IF(B2="ABC",ABC,IF(B2="DEF",DEF,IF(B2="GHI",GHI,IF(B2="JKL",JKL,IF(B2="MNO",MNO,IF(B2="PQR",PQR,""))))))
Both B2 and B4 are data validation lists.
What I want is for the above formula to work unless B4 contains xyz then I don't want a drop down in B24 I want just the number associated with that sub-project.