Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Formula Help -- SUMIF

Hello. I have a complex formula I need help with and struggling. Here is my
data:

A B C
1 1/1/2009 Chicago $5.00
2 1/2/2009 New York $7.00
3 2/2/2009 New York $5.00
4 2/15/2009 Chicago $9.00

Here's the struggle. Suppose I want to know shipments from January 1st to
February 1st (A) that went to New York (B) and the sum of all delivery
charges (C). It's the dates column giving me the most trouble because I am
trying to create a range (ie. all dates between 1/1/09 and 2/1/09)

Can anyone assist?? Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Formula Help -- SUMIF

Note, the table should read A1=1/1/09, B1=Chicago, and C1-$5.00, etc...

"Evan" wrote:

Hello. I have a complex formula I need help with and struggling. Here is my
data:

A B C
1 1/1/2009 Chicago $5.00
2 1/2/2009 New York $7.00
3 2/2/2009 New York $5.00
4 2/15/2009 Chicago $9.00

Here's the struggle. Suppose I want to know shipments from January 1st to
February 1st (A) that went to New York (B) and the sum of all delivery
charges (C). It's the dates column giving me the most trouble because I am
trying to create a range (ie. all dates between 1/1/09 and 2/1/09)

Can anyone assist?? Any help would be appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Formula Help -- SUMIF

On Wed, 13 May 2009 10:59:15 -0700, Evan
wrote:

Hello. I have a complex formula I need help with and struggling. Here is my
data:

A B C
1 1/1/2009 Chicago $5.00
2 1/2/2009 New York $7.00
3 2/2/2009 New York $5.00
4 2/15/2009 Chicago $9.00

Here's the struggle. Suppose I want to know shipments from January 1st to
February 1st (A) that went to New York (B) and the sum of all delivery
charges (C). It's the dates column giving me the most trouble because I am
trying to create a range (ie. all dates between 1/1/09 and 2/1/09)

Can anyone assist?? Any help would be appreciated.


You might find that a Pivot Table suits your reporting requirements.

Otherwise,

=SUMPRODUCT((City="New York")*(Date=DATE(2001,1,1))*
(Date<=DATE(2009,2,1))*Amt)
--ron
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Formula Help -- SUMIF

Try this formula

=SUMPRODUCT(--(A1:A100=DATE(2009,1,1)),--(A1:A100<=DATE(2009,2,1)),--(B1:B100="New York"),C1:C100)
or use cell to hold thr criterias, eg.

D1 = start date
E1 = end date
F1 = City
=SUMPRODUCT(--(A1:A100=D1),--(A1:A100<=E1),--(B1:B100=F1),C1:C100)

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Evan" wrote:

Note, the table should read A1=1/1/09, B1=Chicago, and C1-$5.00, etc...

"Evan" wrote:

Hello. I have a complex formula I need help with and struggling. Here is my
data:

A B C
1 1/1/2009 Chicago $5.00
2 1/2/2009 New York $7.00
3 2/2/2009 New York $5.00
4 2/15/2009 Chicago $9.00

Here's the struggle. Suppose I want to know shipments from January 1st to
February 1st (A) that went to New York (B) and the sum of all delivery
charges (C). It's the dates column giving me the most trouble because I am
trying to create a range (ie. all dates between 1/1/09 and 2/1/09)

Can anyone assist?? Any help would be appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Formula Help -- SUMIF

Thanks....we're getting close. Does the format of the date in my data need
to be in any specific format for the formula to work correctly. My dates
are inputted at MM/DD/YY

"Francis" wrote:

Try this formula

=SUMPRODUCT(--(A1:A100=DATE(2009,1,1)),--(A1:A100<=DATE(2009,2,1)),--(B1:B100="New York"),C1:C100)
or use cell to hold thr criterias, eg.

D1 = start date
E1 = end date
F1 = City
=SUMPRODUCT(--(A1:A100=D1),--(A1:A100<=E1),--(B1:B100=F1),C1:C100)

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Evan" wrote:

Note, the table should read A1=1/1/09, B1=Chicago, and C1-$5.00, etc...

"Evan" wrote:

Hello. I have a complex formula I need help with and struggling. Here is my
data:

A B C
1 1/1/2009 Chicago $5.00
2 1/2/2009 New York $7.00
3 2/2/2009 New York $5.00
4 2/15/2009 Chicago $9.00

Here's the struggle. Suppose I want to know shipments from January 1st to
February 1st (A) that went to New York (B) and the sum of all delivery
charges (C). It's the dates column giving me the most trouble because I am
trying to create a range (ie. all dates between 1/1/09 and 2/1/09)

Can anyone assist?? Any help would be appreciated.

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 formula Jan T.[_2_] Excel Worksheet Functions 7 October 18th 07 01:42 PM
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
multiply formula where 1 cell has a (sumif) formula as a result kcip Excel Worksheet Functions 1 May 3rd 07 07:41 AM
sumif formula alm09 Excel Worksheet Functions 3 December 6th 06 02:30 PM
Is there a MAXIF formula similar to the SUMIF formula? tlc Excel Discussion (Misc queries) 2 March 13th 06 08:07 PM


All times are GMT +1. The time now is 06:26 PM.

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"