Solved

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

Posted on 2014-12-09
2
87 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

726 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