Home |
Search |
Today's Posts |
#1
|
|||
|
|||
sumif vs sumproduct
If I use sumif([table.xls]sheet1!rng,A1,[table.xls]sheet1!table) it returns
the correct value. However if I use sumproduct(--([table.xls]sheet1!rng=A1),[table.xls]sheet1!table) it returns #value. Anybody have any ideas as to what I might be doing wrong? Thanks. |
#2
|
|||
|
|||
try
=sumproduct(--([table.xls]sheet1!rng=A1),--[table.xls]sheet1!table) or =sumproduct(([table.xls]sheet1!rng=A1)*[table.xls]sheet1!table) -- Don Guillett SalesAid Software "ww" wrote in message ... If I use sumif([table.xls]sheet1!rng,A1,[table.xls]sheet1!table) it returns the correct value. However if I use sumproduct(--([table.xls]sheet1!rng=A1),[table.xls]sheet1!table) it returns #value. Anybody have any ideas as to what I might be doing wrong? Thanks. |
#3
|
|||
|
|||
Sumproduct() requires the two ranges to be of identical size - a 1 col
multi-row range, or a 1-row, multi column range. Is your range rng identical in size to range table? "ww" wrote: If I use sumif([table.xls]sheet1!rng,A1,[table.xls]sheet1!table) it returns the correct value. However if I use sumproduct(--([table.xls]sheet1!rng=A1),[table.xls]sheet1!table) it returns #value. Anybody have any ideas as to what I might be doing wrong? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
Sumif or Sumproduct | Excel Worksheet Functions | |||
Sumif or Sumproduct 2 criterias not working | Excel Discussion (Misc queries) | |||
Sumif not Sumproduct | Excel Worksheet Functions | |||
SUMIF or SUMPRODUCT or something else? | Excel Worksheet Functions |