Solved

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

Posted on 2014-12-09
2
90 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

691 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