Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Search for a value in Column? 5 22
Excel VBA When using VLookup 6 29
the code is not looping through 11 36
Help Updated Qtr 2 11
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now