Drop-down list to appear if a condition is met

Bering

Board Regular
Joined
Aug 22, 2018
Messages
185
Office Version
  1. 2016
Platform
  1. Windows
hello,

I have a drop-down list in cell B3 with 4 items (Monthly, Quarterly, Semi-annual, Annual).

I would like to have a drop-down list appearing in cell C3 (with 2 items, Group1, Group2) only if the value of B3 is Quarterly. This means that if, for example, the value in B3 is Monthly, then the list in C3 should vanish and the cell should be blank. Is that possible?

My attempts so far:

1. I created a named range for cells F3 and F4 which I called Selection. In "refers to" I inserted the formula: =if(B3="Quarterly",F3:F4)

2. In cell C3 I created a drop-down list which has as source my named range, Selection.


The drop-down list works fine if quarterly is selected, however the first item of the selection (Group1) still appears when the other 3 items are selected.

Many thanks for any suggestion.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi,

I have done something similar with IF an INDIRECT withinthe datavalidation:

=IF(D19="4340",INDIRECT("'Data fra visma'!UTSTYR_GH"),IF(OR(D19="4320",D19="4330"),INDIRECT("'Data fra visma'!PERSONELL_GH"),INDIRECT("'Data fra visma'!tom")))

Last range is empty.

Eirik.
 
Upvote 0
Solution
Thanks Eirik, I wil give this a try
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,288
Members
448,885
Latest member
LokiSonic

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top