Excel if then formula how to#
You can do this by making B3 relative and leaving $C$8:$C$11 absolute.Īlso see related articles how to create a dynamic drop down list in Excel, how to create dependent drop downs, and how to create Excel data validation for unique values. We want B3 to change to B4 and B5 to match C4 and C5 while drop down list $C$8:$C$11 remains the same. Selecting C3:C5 cell first is to tell Excel to copy the formula along the range. This logic is the same with Data Validation as well which can be used to our advantage. B3) as you copy the formula and leave absolute references (e.g. As you know Excel populates and updates the relative references (e.g. The last argument of the IF function is the two double quotes ("") that represents empty string.Īn important point about the formula is absolute/relative states of references. All you need to do is to set a condition and the list range that is populated if the condition is TRUE. Simple IF function is enough to to make this a conditional Excel drop down. Alternatively you can send an empty string, which represents an empty list as well, to make drop down items hidden. Selecting List option in Allow drop down shows the Source input that you can enter your list reference or formula.īy using formula support, you can determine the range of cells that you want to use as a list. It also allows you to create your own lists by using formulas.