You have a couple options:
Multiple SUMIF's...
=SUMIF('INPUT PAGE - FLYING TIMES'!$D$4:$D$23,D3
,'INPUT PAGE - FLYING TIMES'!$H$4:$H$23)+
SUMIF('INPUT PAGE - FLYING TIMES'!$D$4:$D$23,D3
,'INPUT PAGE - FLYING TIMES'!$H$4:$I$23)+
SUMIF('INPUT PAGE - FLYING TIMES'!$D$4:$D$23,D3
,'INPUT PAGE - FLYING TIMES'!$H$4:$J$23)
or...
=SUMPRODUCT(('INPUT PAGE - FLYING TIMES'!$D$4:$D$23=
D3)*'INPUT PAGE - FLYING TIMES'!$H$4:$J$23)
Does that help?
Post back if you have more questions.
--------------------------
Regards,
Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
> My formula is:- =SUMIF('INPUT PAGE - FLYING TIMES'!$D$4:$D$23,D3,'INPUT
> PAGE - FLYING TIMES'!$H$4:$J$23)
[quoted text clipped - 12 lines]
>
> Malcolm
Ron Coderre - 21 Mar 2008 14:04 GMT
Darn! Sloppy editing of the range refs in the multiple SUMIF's..
It should be:
=SUMIF('INPUT PAGE - FLYING TIMES'!$D$4:$D$23,D3
,'INPUT PAGE - FLYING TIMES'!$H$4:$H$23)+
SUMIF('INPUT PAGE - FLYING TIMES'!$D$4:$D$23,D3
,'INPUT PAGE - FLYING TIMES'!$I$4:$I$23)+
SUMIF('INPUT PAGE - FLYING TIMES'!$D$4:$D$23,D3
,'INPUT PAGE - FLYING TIMES'!$J$4:$J$23)
Apologies.
(I'd go with the SUMPRODUCT approach, though)
Regards,
Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
> You have a couple options:
>
[quoted text clipped - 37 lines]
>>
>> Malcolm
Malcolm Austin - 22 Mar 2008 13:35 GMT
HI Ron,
got 5 mins off from grandkids to look at computer. I'll
revert on this when
they've gone to bed!
Malcolm...
> Darn! Sloppy editing of the range refs in the multiple SUMIF's..
> It should be:
[quoted text clipped - 57 lines]
>>>
>>> Malcolm