A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Adding some list items



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2010, 07:40 PM posted to microsoft.public.excel.misc
Jeremy
external usenet poster
 
Posts: 112
Default Adding some list items

Hello, I have an easy one here that I cannot seem to figure out. I have a
simple list

A:A = Vendor
B:B = Amount
C:C = Category (from dropdown list)

What is the formula to get the sum of only the items in a specific category?
E2 to E9 is the list of the categories. I tried =SUMIF(B:B,$E$2=C2) and it
comes back as zero when B2=1000 and E2 and C2 are the same.

Please help.

  #2  
Old April 19th, 2010, 08:19 PM posted to microsoft.public.excel.misc
Bernard Liengme
external usenet poster
 
Posts: 516
Default Adding some list items

The syntax of SUMIF is =SUMIF(criteria_range, criteria, sum_range)
The last argument is not needed if the same as the first - this is not your
case
We need to sum the B values for all records having C values equal to E2
=SUMIF(C:C, E2, B:B)
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Jeremy" jeremiah.a.reynolds @ gmail.com wrote in message
...
Hello, I have an easy one here that I cannot seem to figure out. I have a
simple list

A:A = Vendor
B:B = Amount
C:C = Category (from dropdown list)

What is the formula to get the sum of only the items in a specific
category?
E2 to E9 is the list of the categories. I tried =SUMIF(B:B,$E$2=C2) and
it
comes back as zero when B2=1000 and E2 and C2 are the same.

Please help.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:58 PM.


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