# #VALUE! error

#### exceluserkt

##### New Member
I have a table that contains SUMPRODUCT functions. It compares text values and then sums a corresponding number value. It was working fine until I upgraded to 2007 and now when I hit F9(Calculate), all the cells go to #VALUE! and I can't get the actual number values back. How do I get the values back?

### Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

#### Scott Huish

##### MrExcel MVP
What is your formula? Do you have #VALUE! errors anywhere in your data range?

#### exceluserkt

##### New Member
The first formula in the table is

=SUMPRODUCT(--(LaborHours!\$A\$6:\$A\$4999=\$A3),--(LaborHours!\$D\$6:\$D\$4999=J\$2),--(LaborHours!\$E\$6:\$E\$4999))

Column A is a project number(text) column D is a category (text) and E is the number of hours to sum. The sheet where the numbers are summed does not contai any errors. This problem only occured when I upgraded to 2007 and hit F9(calculate). It had been working flawlessly for two months.

#### Scott Huish

##### MrExcel MVP
That formula should still work. Although you don't need the -- and the parentheses around the last part.

Put this formula in a blank cell on the same sheet where you have that formula:

=SUMPRODUCT(--(ISERROR(LaborHours!A6:A4999)))+SUMPRODUCT(--(ISERROR(LaborHours!\$D\$6:\$D\$4999)))+SUMPRODUCT(--(ISERROR(LaborHours!\$E\$6:\$E\$4999)))+ISERROR(A3)+ISERROR(J2)

What does it return?

If that returns 0, is there any text in E6:E4999 on the LaborHours sheet?

Last edited:

#### exceluserkt

##### New Member
You were right. I found that someone entered a " . " in that column instead of " 0 "

##### MrExcel MVP
You were right. I found that someone entered a " . " in that column instead of " 0 "

If such is in the range to sum, the native syntax would cope with that...
Code:
``````=SUMPRODUCT(
--(LaborHours!\$A\$6:\$A\$4999=\$A3),
--(LaborHours!\$D\$6:\$D\$4999=J\$2),
LaborHours!\$E\$6:\$E\$4999)``````

Replies
11
Views
406
Replies
7
Views
365
Replies
1
Views
75
Replies
2
Views
90
Replies
2
Views
62

1,136,639
Messages
5,676,935
Members
419,660
Latest member
Fred Cailloux

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back