Solved

Excel 2010 formulas returning error because users accidentally entered a space in a cell.

Posted on 2014-12-09
2
84 Views
Last Modified: 2014-12-09
I have prepared a census worksheet which contains formulas that refer to other cells.  From time to time, users tell me something is wrong with the worksheet because "####" appears in the cell where the formula result should be.  I have discovered that somehow they have entered a space in the cell that the formula refers to.  Once I delete the space, the formula returns the correct answer.

Is there a way to write a formula so that it it treats a cell that contains a space in it as if it does not exist?

I have attached an example..  in Cell T13 of the "DEC" worksheet, I entered a space.
I would like to prevent users from entering spaces in columns Q thru Y, or else adjust formulas so that spaces are not recognized.
Monthly-2014.xls
0
Comment
Question by:klitton7
2 Comments
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40489631
The best way to do that is to use SUM(cell1, cell2, cell3, sum4)  rather than cell1+cell2+cell3+cell4

SUM Treats textual cells as 0
0
 

Author Closing Comment

by:klitton7
ID: 40489642
I will use the solution!  Thanks for the quick response.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question