Table of Contents
What does # or #### mean in Excel?
#### error in Excel cell
How to remove #### in Excel
How to fix #### shown instead of negative dates or times
The # placeholder in Excel number formats
The # symbol as a spill range operator
Practice workbook for download
Home Topics excel What hash sign means in Excel and how to remove #### from cell

What hash sign means in Excel and how to remove #### from cell

Mar 25, 2025 am 09:02 AM

In this article, we will explore various ways in which the number sign can be used in Excel and provide solutions for the #### error.

The # symbol, also known as the number, hash or pound sign, is a versatile character with multiple meanings in different fields and contexts - from representing numbers in mathematics to indicating color codes in graphic design. In Excel, the # symbol is commonly associated with errors, but it also has several legitimate uses such as a spill range reference or a digit placeholder. The aim of this article is to help you understand all these different meanings and efficiently apply them where appropriate.

What does # or #### mean in Excel?

The #symbol in Excel has various meanings depending on the context:

  • #### error. A sequence of # characters in a cell usually indicates that the cell is not wide enough to display the value in it. Besides, ##### can appear in cells containing negative date or time values​.
  • Custom number formats. The number sign is also used as a digit placeholder in Excel number formats. For instance, the # ##0.00 format code will display numbers with two decimal places and a space separating thousands.
  • Spill range operator. In dynamic array formulas that return multiple values, the # sign is used to construct a spill range reference that refers to the entire range returned by the formula, for example A2#.

In the following sections, we will explore each use case in more detail, and provide tips and tricks to help you master the use of the # sign in Excel.

#### error in Excel cell

When you see ##### in Excel, usually it means that the data is too large to fit into a cell. Or looking from another angle, the cell is not wide enough to display the entire value :) In other words, Excel shows #### to let you know that the actual data is not visible.

The most common cause of the ### error is when you enter a very large number or a date in the format that is wider than the cell.

What hash sign means in Excel and how to remove #### from cell

How to remove #### in Excel

There are several ways to fix the ### error in Excel. The fastest one is to adjust the cell's width to accommodate the data. For this, just double-click the right edge of the column header to autofit the column or drag it to the desired width manually.

What hash sign means in Excel and how to remove #### from cell

If the above method does not work, try one of the following solutions:

Change format. If a date value is too long, you can apply a shorter date/time format. The detailed instructions are here: how to change date format in Excel.

Show fewer decimal places. If numbers have too many decimal places, you can show fewer places by clicking the Decrease Decimal button on the ribbon. See Excel formatting options for more details.

Decrease font size. If the font size of the cell is too large, you can make it smaller for the data to fit into the cell.

How to fix #### shown instead of negative dates or times

When ##### appears in a cell because of a negative date or time value, try these troubleshooting tips:

  • Make sure dates and times are positive values when using the 1900 date system. Or change to the 1904 date system to display negative date and time values normally: File > Options > Advanced > When calculating this workbook > Use 1904 date system.
  • Use a correct formula to add/subtract dates or add/subtract times to avoid negative results.
  • Apply a special format for negative dates/times to display a blank cell or error message instead of negative values.
  • Use this formula to calculate an absolute value of negative times and convert to an appropriate format to show negative times correctly.

For more information, see How to calculate and show negative times in Excel.

The # placeholder in Excel number formats

In Excel number formatting, the # character is the digit placeholder that only displays significant digits, without extra zeros. The table below provides a few examples of custom number formats:

Format Description Input value Displayas
#.00 Always display 2 decimal places. 5 5.5 0.555 5.00 5.50 .56
#.## Shows up to 2 decimal places, but without insignificant zeros. 5 5.5 0.555 5. 5.5 .56
### ###

or

# ###

Rounds numbers to the nearest integer (no decimal places) and separates into groups of three digits leaving a space between each group. 1000 10000 10000.5 1 000 10 000 10 001
#,##0.00 Displays two decimal places and a comma as a thousand separator and. 1000.5 10000.555 1,000.50 10,000.56
# ##0.00 Displays two decimal places and a space as a thousand separator. 1000.5 10000.555 1 000.50 10 000.56
# ##0_); [Red](# ##0) Rounds numbers to the nearest integer and uses a space to separate thousands. Negative numbers are displayed in parentheses and in red font color. Moves (indents) positive numbers and zeros from the right border by one character width. 10000 10000.5 -10000.5 10 000 10 001 (10 001)

The screenshot below shows these custom number formats in action:

What hash sign means in Excel and how to remove #### from cell

For more information, please see How to use custom Excel number format.

The # symbol as a spill range operator

In addition to its use in number formatting, the number symbol # can also act as a spill range operator in Excel formulas. This is a new feature introduced in Excel 365 that allows referring to an entire range of cells returned by a dynamic array formula.

To make a spill range reference, you put the # sign after the address of the upper-left cell in the returned range, for instance A2#. This tells Excel to process all the cells in the spill range.

For example, if you have a FILTER formula in E6, which returns multiple results in E6:G9, you can use the spill range reference to return the filtered values into another location on the same sheet or in a different sheet:

=E6#

=Sheet1!E6#

To find how many records (rows) are returned by the FILTER formula, supply the spill range reference to the ROWS function:

=ROWS(E6#)

What hash sign means in Excel and how to remove #### from cell

Unlike regular ranges, spill ranges are dynamic by nature and automatically adjust as you add or remove data from the source range. This means that you don't need to manually update references in your formulas every time your source data changes, which can save you time and reduce errors.

For more information, please see # operator in Excel formulas.

Now you know how to effectively use the number sign in Excel and how to troubleshoot any #### errors that may occur. Thank you for reading!

Practice workbook for download

# symbol in Excel - examples (.xlsx file)

The above is the detailed content of What hash sign means in Excel and how to remove #### from cell. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Excel formula to find top 3, 5, 10 values in column or row Excel formula to find top 3, 5, 10 values in column or row Apr 01, 2025 am 05:09 AM

This tutorial demonstrates how to efficiently locate the top N values within a dataset and retrieve associated data using Excel formulas. Whether you need the highest, lowest, or those meeting specific criteria, this guide provides solutions. Findi

Add a dropdown list to Outlook email template Add a dropdown list to Outlook email template Apr 01, 2025 am 05:13 AM

This tutorial shows you how to add dropdown lists to your Outlook email templates, including multiple selections and database population. While Outlook doesn't directly support dropdowns, this guide provides creative workarounds. Email templates sav

How to use Flash Fill in Excel with examples How to use Flash Fill in Excel with examples Apr 05, 2025 am 09:15 AM

This tutorial provides a comprehensive guide to Excel's Flash Fill feature, a powerful tool for automating data entry tasks. It covers various aspects, from its definition and location to advanced usage and troubleshooting. Understanding Excel's Fla

How to add calendar to Outlook: shared, Internet calendar, iCal file How to add calendar to Outlook: shared, Internet calendar, iCal file Apr 03, 2025 am 09:06 AM

This article explains how to access and utilize shared calendars within the Outlook desktop application, including importing iCalendar files. Previously, we covered sharing your Outlook calendar. Now, let's explore how to view calendars shared with

Regex to extract strings in Excel (one or all matches) Regex to extract strings in Excel (one or all matches) Mar 28, 2025 pm 12:19 PM

In this tutorial, you'll learn how to use regular expressions in Excel to find and extract substrings matching a given pattern. Microsoft Excel provides a number of functions to extract text from cells. Those functions can cope with most

FV function in Excel to calculate future value FV function in Excel to calculate future value Apr 01, 2025 am 04:57 AM

This tutorial explains how to use Excel's FV function to determine the future value of investments, encompassing both regular payments and lump-sum deposits. Effective financial planning hinges on understanding investment growth, and this guide prov

MEDIAN formula in Excel - practical examples MEDIAN formula in Excel - practical examples Apr 11, 2025 pm 12:08 PM

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

How to remove / split text and numbers in Excel cell How to remove / split text and numbers in Excel cell Apr 01, 2025 am 05:07 AM

This tutorial demonstrates several methods for separating text and numbers within Excel cells, utilizing both built-in functions and custom VBA functions. You'll learn how to extract numbers while removing text, isolate text while discarding numbers

See all articles