Forum Discussion

OwenO's avatar
OwenO
Copper Contributor
Apr 30, 2019
Solved

Some Excel help - Data validation using name ranges - force option if "False"

Hi I was looking for some help please. I have used a range    =IF($N$28="True",$Q$3:$Q$4,IF($N$28="False",$Q$4))   this works fine, in that the O3 & O4 cells are just Yes/No selections..    thi...
  • OwenO's avatar
    Apr 30, 2019

    can mark this as resolved.. had to use a VBA script which is something i just learned today

     

    for anyone it may potentially help who googled and found this however I've added what I used above

     

    you go into VBA (Alt+F11), choose the worksheet you want

     

    click the "change" option on the right side

     

    and add the code below:

    If Target.Address = "$C$4" Then
    Range("E28").Value = "Please Select..."

    End If

     

    (change the cell values to match the ones you need..)

Resources