>I have read through the explantion of SUMPRODUCT here........
> http://www.xldynamic.com/source/xld.SUMPRODUCT.html
[quoted text clipped - 14 lines]
> reason this out.
> Thanks
I think I can interpret it (but I'm not *absolutely* sure) ...
If the dates are in ColA, and the Company names are in ColB, and Fee1
is in ColC, and Fee2 is in ColD, and a formula to add Fee1 + Fee2 is
in ColE,
and the data rows go from 2 to 100,
then a formula like
=SUMPRODUCT(--(StartDate<=A2:A100),--(EndDate>=A2:A100),--(CompanyNam
e=B2:B100),--(E2:E100)) should do it.
Note that StartDate, EndDate & CompanyName all indicate references to
cells that contain your search parameters.
Rgds,
ScottO
| Hi!
|
[quoted text clipped - 23 lines]
| > reason this out.
| > Thanks
Dermot - 11 Jan 2006 09:42 GMT
Hi Scotto,
Thanks for the reply.
Your understanding of my enquiry is correct except.......
To quote you:-
"and a formula to add Fee1 + Fee2 is in ColE"
The spreadsheet I am using doesn't have a Fee 1 + Fee2 column
Would I need to include one or can this calculation be included in the
formula?
> I think I can interpret it (but I'm not *absolutely* sure) ...
> If the dates are in ColA, and the Company names are in ColB, and Fee1
[quoted text clipped - 43 lines]
> | > reason this out.
> | > Thanks
Bob Phillips - 11 Jan 2006 10:05 GMT
Do it in the formula then
=SUMPRODUCT(--(StartDate<=A2:A100),--(EndDate>=A2:A100),
--(CompanyName=B2:B100),(C2:C100+D2:D100))

Signature
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
> Hi Scotto,
> Thanks for the reply.
[quoted text clipped - 52 lines]
> > | > reason this out.
> > | > Thanks
Dermot - 11 Jan 2006 19:00 GMT
Thanks Bob
I have eventually got it to work.....you did mention to me in a previous
posting to ensure I was using the correct date format........I thought I had
understood ........but when I red Rogers posting below.......Data | Text to
Columns etc......I wasn't although it appeared to be the correct format
visually.....it was text instead of a date format I was using......
Many thanks for your help with this problem for me.
Dermot
Sorry about the thoughtless earlier posting.
> Do it in the formula then
>
[quoted text clipped - 57 lines]
> > > | > reason this out.
> > > | > Thanks
Dermot - 11 Jan 2006 18:50 GMT
Thanks Scotto
> I think I can interpret it (but I'm not *absolutely* sure) ...
> If the dates are in ColA, and the Company names are in ColB, and Fee1
[quoted text clipped - 43 lines]
> | > reason this out.
> | > Thanks