Thread: SUMIF
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
Stefi Stefi is offline
external usenet poster
 
Posts: 2,646
Default SUMIF

You are welcome! Thanks for the feedback!
Clicking the YES button will be appreciated.

Stefi

€˛Sasikiran€¯ ezt Ć*rta:

Thanks a ton stefi... :)


"Stefi" wrote:

Yes there was a redundant ( in it, this is the fixed version:

=sumproduct(--(G2:G4000=datevalue("3/3/2009")),--(H2:H4000=timevalue("10:00:00")),--(H2:H4000<=timevalue("10:29:59")),F2:F4000)
Stefi

€˛Sasikiran€¯ ezt Ć*rta:

This is not working...
When i tried copy pasting, It says the formula you typed contains an error.

Please help.


"Stefi" wrote:

Not tested, but try this:
=sumproduct(--((G2:G4000=datevalue("3/3/2009")),--(H2:H4000=timevalue("10:00:00")),--(H2:H4000<=timevalue("10:29:59")),F2:F4000)
Regards,
Stefi

€˛Sasikiran€¯ ezt Ć*rta:

Dear,

I am struglling with a formula to get the sum of the values if it satisfies
with the given conditions.

In column F, I have the values which are to be summed if it fall under a
required date and within the specified time.
In column G, I have the date
In column H, the time

I have values till row number 4000

I am trying with SUMPRODUCT formula but not getting the desired result.

sumproduct((G2:G4000=--"3/3/2009")*(H2:H4000=--"10:00:00")*(H2:H4000<=--"10:29:59")*

The sum value of the numbers in column F if
G2:G4000 is "3/3/2009"
H2:H4000=-"10:00:00"
H2:H4000<="10:29:59"

Please help.