View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Fred Fred is offline
external usenet poster
 
Posts: 59
Default Sumproduct keeps giving zero

I am using Excel 2002 and have a set of data that I am working with,
trying, unsuccessfully, to calculate an over or under availability of
resource.

The data is in rows 2 thru 986 and the summaries are in 987 onwards

Column I contains the team name
Column K contains the type of entry (Project, Base/BAU, Available
Project, Available Remander)
Column P contains the effort allocated/available

I want to sum the Project and Base/BAU figures and subtract the sum of
Available Project/Available Remainder

My formula is as follows, however the result is always 0.
{=(SUMPRODUCT(--($I2:$I986=$I987),--($K2:$K986="Project"),--
($K2:$K986="Base/BAU"),P$2:P$986))-(SUMPRODUCT(--($I2:$I986=$I987),--
($K2:$K986="Available Project"),--($K2:$K986="Available Remainder"),P
$2:P$986))}

Any help gratefully received
Fred