Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default SUMIF with Certain Criteria

I need to get the sum of numbers in a column if they have a certain criteria in common in another common.

For example:

Zip Code Amount
11111 200
11111 300
55555 100
11111 100
55555 50

If the zip code is the same I need the sum of the amount, so for zip code 11111 it would be 600 and for zip code 55555 it would be 150.

Thanks and God bless in advance for the help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 587
Default SUMIF with Certain Criteria

hi,

=SUMPRODUCT(--(A2:A6=11111)*(B2:B6))


--
isabelle



Le 2012-06-08 12:16, SPKNout4CHRIST a écrit :
I need to get the sum of numbers in a column if they have a certain
criteria in common in another common.

For example:

Zip Code Amount
11111 200
11111 300
55555 100
11111 100
55555 50

If the zip code is the same I need the sum of the amount, so for zip
code 11111 it would be 600 and for zip code 55555 it would be 150.

Thanks and God bless in advance for the 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 when criteria range is larger but includes criteria Joe1939 Excel Programming 1 January 16th 09 07:41 PM
sumif when criteria range is larger but includes criteria Joe1939 Excel Programming 1 January 16th 09 07:41 PM
Sumif with two Criteria Rob Excel Worksheet Functions 3 December 2nd 06 09:35 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
sumif criteria Lori Hornick Excel Programming 8 March 23rd 05 02:21 PM


All times are GMT +1. The time now is 01:29 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"