Sanchez007
New Member
- Joined
- Mar 11, 2011
- Messages
- 8
Hell everybody,
I have a small sumproduct formular that checks for "Criteria" values in a matrix, if it finds the value then it adds the corrosponding $ value from another colum.
this works sweet except for when the corrosponding value is 0.
it treats cells with nothing in them as 0 as well.
Is there a simple fix to sort this out?
(now for the long version)
Example:
For a building I want to calculate how much each floor cost to build.
Formular is:
=SUMPRODUCT((I2:M26=A10)*D2:D26)
Now the Matrix I2:M26 contains the Floors into which the item was installed.
The Colum D2:D26 contains the cost per floor for that particular item eg a cable that was installed over 3 floors (5,6 and 7) cost $3000 so $1000 would be allocated to the total of each of those 3 floors ($1000 to floor 5, 1000 to floor 6 and 1000 to floor 7)
A10 is the floor number.
this all works sweeet, except for floor 0.
When we get to floor 0 it thinks that all the cells in the matrix with nothing in them are to be treated as floor 0
Any ideas would be greatly appreciated
Sanchio
I have a small sumproduct formular that checks for "Criteria" values in a matrix, if it finds the value then it adds the corrosponding $ value from another colum.
this works sweet except for when the corrosponding value is 0.
it treats cells with nothing in them as 0 as well.
Is there a simple fix to sort this out?
(now for the long version)
Example:
For a building I want to calculate how much each floor cost to build.
Formular is:
=SUMPRODUCT((I2:M26=A10)*D2:D26)
Now the Matrix I2:M26 contains the Floors into which the item was installed.
The Colum D2:D26 contains the cost per floor for that particular item eg a cable that was installed over 3 floors (5,6 and 7) cost $3000 so $1000 would be allocated to the total of each of those 3 floors ($1000 to floor 5, 1000 to floor 6 and 1000 to floor 7)
A10 is the floor number.
this all works sweeet, except for floor 0.
When we get to floor 0 it thinks that all the cells in the matrix with nothing in them are to be treated as floor 0
Any ideas would be greatly appreciated
Sanchio