View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Problems changing array field in formula

You are missing a double quote at the end of a letter B. Should be
(Category="B")

"Harry Seymour" wrote:

I've created a formula

=SUMPRODUCT(--(Name="Jon"),--(Category=B"),Spend)

which sums the spend when columns name = Jon and category = B.

I've now changed the "Spend" array to "SpendVol" array (which represents a
new column)
therefore use
=SUMPRODUCT(--(Name="Jon"),--(Category=B"),SpendVol)
But this returns #VALUE.

This makes no sense as its the same formula just accessing a different column.

Does anyone know why this would return this value or if there are any bugs
that can occur in a file that would cause this.

Thanks
Harry