Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

839 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