![]() |
|
#1
|
|||
|
|||
![]()
What formula would I use to get the sum of specific cells. I have a column with a long list of codes and a column with charge amounts. I need to get the sum of charges for each code. Example: 34,588 is the sum of charges billed to code "120".
Thanks. |
#2
|
|||
|
|||
![]()
=SUMIF(range, criteria, sum_range)
where range is (for you) the column of codes (say, A:A), criteria is the code to sum for (in your example, 120), and sum_range is the column with charge amounts (say, B:B). To get the sum of charge amounts associated with code 120, the formula would be: =SUMIF(A:A, "=120", B:B) |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need formula for search and conditional formatting | MikeJedi | Excel | 9 | 01-13-2012 12:38 PM |
![]() |
omer123456 | Excel | 3 | 12-21-2011 12:53 PM |
![]() |
NEHicks503 | Excel | 1 | 11-30-2011 09:01 AM |
![]() |
Lucky | Excel | 2 | 10-03-2011 11:41 PM |
Conditional Formatting | namedujour | Excel | 3 | 08-25-2011 01:46 PM |