Excel-4 shows practical examples of data validation in Excel. Here you'll find tips, instructions, and illustrations about validating data and creating drop-down tables.
π Goal: Help you validate and control data input in Excel efficientlyβsuitable for both beginners and advanced users!
- Data Validation
- Budget Limit Example
- Prevent Duplicates Example
- Drop-down Lists
- Screenshots
- Requirements
- Author
In this example, we will check whether the entered value is between 1 and 10.
- Select cell B1.
- On the Data tab, in the Data Tools group, click Data Validation.
- On the Settings tab:
- In the Allow list, click Whole number.
- In the Data list, click between.
- Enter Maximum and Minimum values.
Results:
- When user selects cell B1:

- When user enters number from range 1β10, everything is fine:

- When user enters number out of range:

π Tip: To remove data validation from a cell, select the cell, go to Data tab β Data Validation, and click Clear All.
To avoid exceeding a budget limit in Excel, use data validation and the SUM function.
- Select range E2:E6 and click Data Validation.
- In the Allow list, click Custom.
- In the formula box enter:
=SUM($E$2:$E$6)<=80
Result when user exceeds budget:

- Select range G2:G15 and click Data Validation.
- In the Allow list, click Custom.
- In the formula box enter:
=COUNTIF($G$2:$G$15;G2)=1
βΉοΈ Note: This formula ensures each value may occur only once in the selected range.
- On the first sheet, type food names:

- On the second sheet, select cell B1, then click Data Validation.
- In the Allow box, click List.
- Click in the Source box and select the range I1:I4 on the first sheet.

- Click OK

You can find all screenshots in the /Screenshots folder.
- Microsoft Excel (recommended: 2021/365 for modern formulas)
- Windows OS
Project and documentation by Kuba27x
Repository: Kuba27x/Excel-4



