Solved

# #VALUE error

Posted on 2013-06-04
177 Views
In the attached file, I'm getting a #VALUE error in columns AZ, BG and BL in the "All  Master" worksheet.  I don't know if there's an erroneous space somewhere in one of the other worksheets that's causing this or what, but I can't seem to get rid of it.  Help!!!!
agt-requirements---experts-excha.xlsx
0
Question by:esu4236
[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
• 3
• 2

Author Comment

ID: 39219928
I think I figured out my own problem.  Rather than having a formula like this:
=IF(Manager!Y6+RFTC!Y6+OtherMentor!Y6+JW!Y6=0,"",Manager!Y6+RFTC!Y6+OtherMentor!Y6+JW!Y6)

I needed this:
=IF(Manager!Y6+RFTC!Y6+OtherMentor!Y6+JW!Y6="","",Manager!Y6+RFTC!Y6+OtherMentor!Y6+JW!Y6)

where I replaced the =0 with =" because sometimes the result was nothing rather than a 0.

And then I had to deselect the option to "Show a Zero in cells that have a zero value."

I think that takes care of it.  Anyone see anything else???
0

LVL 50

Expert Comment

ID: 39219957
SUM function shouldn't have + signs, use commas like this in AZ6

=SUM(Y6,AG6,AM6,AU6,AX6)

and then you don't need to change anything else. Similarly use SUM in BG and BL like

=SUM(BE6,BF6)

regards, barry
0

Author Comment

ID: 39219969
Is using the plus signs going to cause the #VALUE error though?
0

LVL 50

Accepted Solution

barry houdini earned 500 total points
ID: 39220081
Yes, because some of the values in the cells you are adding are what are known as "formula blanks", i.e. "" returned by a formula. If you try to add text values using + then you get a #VALUE! error (and "" is a text value) but when using SUM with commas text values are ignored. When I changed AZ6 to

=SUM(Y6,AG6,AM6,AU6,AX6)

I got a number (4) rather than an error, without changing anything else

regards, barry
0

Author Closing Comment

ID: 39220101
Very good, thank you very much Barry!!  Appreciate it.
0

## Featured Post

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 describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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â€¦
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
###### Suggested Courses
Course of the Month5 days, 2 hours left to enroll