#1
|
|||
|
|||
Issue with SumProduct
I am Using the SumProduct function to sum the visible contents of a datatable that gets data from access. this function
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($H$12:$H$50098,1,1),ROW($ H$12:$H$50098)-ROW(INDEX($H$12:$H$50098,1,1)),0))=1),--($I$12:$I$50098="1310"), $H$12:$H$50098) works but =SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($H$12:$H$50098,1,1),ROW($ H$12:$H$50098)-ROW(INDEX($H$12:$H$50098,1,1)),0))=1),--($I$12:$I$50098=A6), $H$12:$H$50098) does not. Even though A6 = 1310. Can anyone explain why this may occur? |
#2
|
||||
|
||||
"1310" is a text string, while 1310 is a number. Get rid of the double quotes in the 1st formula, that should do
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Countifs and Sumproduct | Algo | Excel | 6 | 11-13-2012 07:44 AM |
sumproduct?? | jer | Excel | 9 | 10-14-2012 10:00 AM |
Sumproduct formula | Portucale | Excel | 2 | 09-12-2012 10:51 AM |
Match Index with sumproduct/vlookup | angie.chang | Excel | 1 | 06-18-2012 08:47 AM |
Sumproduct | angie.chang | Excel | 3 | 06-14-2012 10:00 AM |