#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default SUMIF

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.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default SUMIF

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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default SUMIF

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.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default SUMIF

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.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default SUMIF

Stefi,

Just to add to the pot, I would use

=SUMPRODUCT(--(G2:G4000=--"2009-03-03"),--(H2:H4000=--"10:00:00"),--(H2:H4000<--"10:30:00"),F2:F4000)

I think those small changes are more robuts and make it easier to read.

--
__________________________________
HTH

Bob

"Stefi" wrote in message
...
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.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default SUMIF

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.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default SUMIF

Thanks Bob, one can always learn new things! I didn't know that
=--"2009-03-03" is equivalent with DATEVALUE("2009-03-03").

Stefi

€˛Bob Phillips€¯ ezt Ć*rta:

Stefi,

Just to add to the pot, I would use

=SUMPRODUCT(--(G2:G4000=--"2009-03-03"),--(H2:H4000=--"10:00:00"),--(H2:H4000<--"10:30:00"),F2:F4000)

I think those small changes are more robuts and make it easier to read.

--
__________________________________
HTH

Bob

"Stefi" wrote in message
...
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.




  #8   Report Post  
Posted to microsoft.public.excel.misc
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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumif - does not contain. jerrymcm Excel Discussion (Misc queries) 3 April 3rd 23 06:45 PM
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 08:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"