Hi guys,
Say, I have three named ranges (no header rows):
bze2011 = A1:N1250
czl2011 = A1260:N2569
bmp2011 = A2580:N4976
Column A contain, say, product codes - T521,T523,T568
Column N contain total sales for that product.
On say another worksheet:
A1=T521
A2=T523
A3=T568
On B1, I'd like the sumproduct of A1:A3, on Column N of named range bze2011 where products listed on A1:A3 are found on column A of that range (A1:A1250).
I don't want to use:
Is there a way?
EDIT: Note that I'm gonna put the sumproduct formula on another workbook, so offset and such may not work.
Thanks
Say, I have three named ranges (no header rows):
bze2011 = A1:N1250
czl2011 = A1260:N2569
bmp2011 = A2580:N4976
Column A contain, say, product codes - T521,T523,T568
Column N contain total sales for that product.
On say another worksheet:
A1=T521
A2=T523
A3=T568
On B1, I'd like the sumproduct of A1:A3, on Column N of named range bze2011 where products listed on A1:A3 are found on column A of that range (A1:A1250).
I don't want to use:
Code:
=IF(ISNA(VLOOKUP(A1,bze2011,13,FALSE)),0,VLOOKUP(A1,bze2011,13,FALSE))+IF(ISNA(VLOOKUP(A2,bze2011,13,FALSE)),0,VLOOKUP(A2,bze2011,13,FALSE))+IF(ISNA(VLOOKUP(A3,bze2011,13,FALSE)),0,VLOOKUP(A3,bze2011,13,FALSE))
EDIT: Note that I'm gonna put the sumproduct formula on another workbook, so offset and such may not work.
Thanks
Last edited: