G
Guest
I am trying to use names in a sumproduct()
The origonal, which works
=SUMPRODUCT(--(TEXT(Data!$C$2
ata!$C$3000,"mmyy")=TEXT($J$4,"mmyy")),--(Data!$E$2
ata!$E$3000=$V145),Data!$H$2
ata!$H$3000+Data!$K$2
ata!$K$3000+Data!$J$2
ata!$J$3000+Data!$I$2
ata!$I$3000)
NEW, does NOT work
=SUMPRODUCT(--(TEXT(Data!$C$2
ata!$C$3000,"mmyy")=TEXT($J$4,"mmyy")),--(DPilot=$V145),DDay+DNight+DNVG+DIFR)
DDay = OFFSET(Data!$C$2,0,0,COUNTA(Data!$A:$A),1) [used $a:$a to extend to
bottom of data filled] - Dnight,DNVG,Difr similar but use different column on
same table
I also tried DDay = offset(database,0,21) as the "refers to" named range
Any thoughts, I was trying to make it easier to read
Thanks
SPB
Office 2007
The origonal, which works
=SUMPRODUCT(--(TEXT(Data!$C$2






NEW, does NOT work
=SUMPRODUCT(--(TEXT(Data!$C$2

DDay = OFFSET(Data!$C$2,0,0,COUNTA(Data!$A:$A),1) [used $a:$a to extend to
bottom of data filled] - Dnight,DNVG,Difr similar but use different column on
same table
I also tried DDay = offset(database,0,21) as the "refers to" named range
Any thoughts, I was trying to make it easier to read
Thanks
SPB
Office 2007