Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
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.

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
Adding/deleting items from a pivot table dropdown list Joe Excel Discussion (Misc queries) 0 August 26th 09 07:17 PM
adding a formula to items in a drop down list tom Excel Discussion (Misc queries) 0 November 25th 08 02:23 PM
Adding items on an existing drop-down list Kumiko17 Excel Discussion (Misc queries) 2 November 14th 06 03:19 PM
I have a question about adding information to a list of items that have cells linked to another worksheet. Marc Excel Discussion (Misc queries) 1 July 9th 06 05:27 AM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM


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