• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Adding drop downs to two dates

uul

Member
Hi,

I am trying to add two dropdowns to the attached spreadsheet, so when i select any TWO dates , another box will automatically sum the column to the right with the figures between the two dates... I know this must be some sort of offset function, but i cannot get it to work. I have attached the ss that i am using. In total i am looking for four boxes two to add the date fields, and the next two to show the sum of them date ranges on the two colums of data i.e attack/pass.

Any input would be gratefully recieved.

Thanks everyone
 

Attachments

So you want number of attacks & defence in lying between two days including both dates. is it you want? pls confirm

Or have a look on attached if it meets your requirement.
 
Last edited:
Hi,

Try for attack:
=SUMPRODUCT(($B$3:$B$50>=I7)*($B$3:$B$50<=J7)*$C$3:$C$50)

For defense:
=SUMPRODUCT(($B$3:$B$50>=I7)*($B$3:$B$50<=J7)*$D$3:$D$50)

Regards,
 
  • Like
Reactions: uul
Back
Top