Drop-down list to appear if a condition is met

Bering

Board Regular
Joined
Aug 22, 2018
Messages
62
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.
 

snekkman

New Member
Joined
Aug 27, 2015
Messages
7
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.
 

Bering

Board Regular
Joined
Aug 22, 2018
Messages
62
Thanks Eirik, I wil give this a try
 
Last edited:

Forum statistics

Threads
1,082,306
Messages
5,364,414
Members
400,801
Latest member
julievandermeulen

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top