Monday, 16 December 2013

[HM:257011] Excel Tip: Enable Data Entry in a Cell only if a Dependent Cell is Filled

You would have seen this in various online forms, where you must fill a cell before moving to the other. This construct ensures that you do not miss out on filling some of the data. Something as shown below

Fill Previous Cell First

A colleague wanted a similar construct in Excel, and the only thing that came to my mind was Data Validation.

Here is how you can create this in Excel

  1. Select cell A2
  2. Go To Data –> Data Tools –> Data Validation
  3. In the Settings tab go to the Allow drop down and select Custom
  4. In the Formula field, type =NOT(ISBLANK($A$1))
  5. Ensure that the Ignore blank is Unchecked
  6. Click Ok

Fill Previous Cell First_Dialogue Box

Now when you enter something in cell A2, and if A1 is empty, an error will be displayed.

source: TrumpExcel

We are also on Face Book, Click on Like to jois us
FB Page:
FB Group:
You received this message because you are subscribed to the Google Groups "Hyderabad Masti" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

No comments:

Post a Comment