SUMPRODUCTS

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been working on a spreadsheet where I need to count the number of
occurrences dependent on two criteria. Here is my situation
time blocks
0:22 2
0:15 1
0:35 1
I need to sum the number of times that a time of greater than 20 min time is
recored for a single (1) block. In my above example I should get 2. I
worked w/ countif and sumproducts but I am going wrong somewhere. Any
suggestions?
 
I have been working on a spreadsheet where I need to count the number of
occurrences dependent on two criteria. Here is my situation
time blocks
0:22 2
0:15 1
0:35 1
I need to sum the number of times that a time of greater than 20 min time is
recored for a single (1) block. In my above example I should get 2. I
worked w/ countif and sumproducts but I am going wrong somewhere. Any
suggestions?

Are you sure the answer you're expecting given the above data isn't 1?
i.e. the single block with a time of 0:35

Rgds


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
hi,

try =sumproduct(--(c1:c100>=time(0,22,0))*(d6:d100=1)*(d6:d100))

hth
regards from Brazil
Marcelo


"AJP" escreveu:
 
I'll try it. Thanks for the help.

Marcelo said:
hi,

try =sumproduct(--(c1:c100>=time(0,22,0))*(d6:d100=1)*(d6:d100))

hth
regards from Brazil
Marcelo


"AJP" escreveu:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top