Hello,
I have two dropdown boxes with the second being dependent on the first choice. Before I only had two outcomes and so was able to use the code below.
if(F9="Package",INDIRECT("
P3:P6"),IN
DIRECT("Q6
")
However I would now like to have more possible outcomes.
If B7 = "RP" or "IC" then choose from anyone of P3:P6
If B7 = "CK" then choose from either P8 or P9
If B7 = "OC" or "EB" or "CA" or "CO" then "Not Required"
I don't know how to do it in excel but would prefer to have a piece of VBA as I would also like to colour to change to grey when the cell says "Not Required".
One extra problem is that I'm really new to VBA so only know how to insert it to a button with a macro attached but not into something like this, so some guidance here would be much appreciated.
Thank you.
Start Free Trial