I have used a combo box to display a list, with the input range set as $A$1:$A$50.

Is it possible to set this range as dynamic?
i.e -
if condition A is met display $A$1:$A$10
if condition B is met display $A$1:$A$20

I have basically worked around this, by using an IF formula to either display the text or display "" (null) in A1:A50 but this gets untidy, as the combo box is half filled with null options.