Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Working With Tables in Excel
  • Conditional Formatting Rules in Excel
  • Everything about Charts in Excel
  • How To Create Pareto Chart in Excel
  • How to create Checklist in Excel

References

  • Merge tables with VLOOKUP in Excel
  • Last row number in range
  • How to use Excel VLOOKUP Function
  • Two-column Lookup in Excel
  • How to get last row in mixed data with blanks in Excel

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation only dates between
  • Excel Data validation whole percentage only
  • Excel Data validation must contain specific text
  • Excel Data validation unique values only

Excel Data validation allow numbers only

by

This tutorial shows how to create Data validation to allow numbers only in Excel using the example below;

Formula

=ISNUMBER(A1)

Explanation

Note: Excel has several built-in data validation rules for numbers. This page explains how to create a your own validation rule based on a custom formula.

To allow only numbers in a cell, you can use data validation with a custom formula based on the ISNUMBER function.

In the example shown, the data validation applied to C5:C9 is:

=ISNUMBER(C5)

How this formula works

Data validation rules are triggered when a user adds or changes a cell value.

The ISNUMBER function returns TRUE when a value is numeric and FALSE if not. As a result, all numeric input will pass validation.

Be aware that numeric input includes dates and times, whole numbers, and decimal values.

Note:  Cell references in data validation formulas are relative to the upper left cell in the range selected when the validation rule is defined, in this case C5.

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • IF with wildcards in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel TRUE Function

Date Time

  • Convert date to month and year in Excel
  • How to get same date next month or previous month in Excel
  • Get project midpoint in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • Get first day of month in Excel

Grouping

  • If cell contains one of many things in Excel
  • Group arbitrary text values in Excel
  • Running count group by n size in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Count cells that do not contain errors in Excel
  • How to make excel worksheets print on one page?
  • Spell Check in Excel
  • Share Excel data with Word documents
  • Find Most Frequently Occurring Word in Excel Worksheet
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning