Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-18-2012, 09:48 AM
UICOMP UICOMP is offline Conditional Formula Windows XP Conditional Formula Office 2010 32bit
Novice
Conditional Formula
 
Join Date: May 2012
Posts: 3
UICOMP is on a distinguished road
Default Conditional Formula

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.
Reply With Quote
  #2  
Old 05-18-2012, 12:59 PM
CGM3 CGM3 is offline Conditional Formula Windows XP Conditional Formula Office 2007
Advanced Beginner
 
Join Date: Oct 2009
Posts: 38
CGM3 is on a distinguished road
Default

=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)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need formula for search and conditional formatting MikeJedi Excel 9 01-13-2012 12:38 PM
Conditional Formula conditional charting omer123456 Excel 3 12-21-2011 12:53 PM
Conditional Formula conditional formatting formula NEHicks503 Excel 1 11-30-2011 09:01 AM
Conditional Formula Conditional formatting with AND, OR Lucky Excel 2 10-03-2011 11:41 PM
Conditional Formatting namedujour Excel 3 08-25-2011 01:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft