Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sum in excel

Status
Not open for further replies.

accjrf

Technical User
Apr 1, 2004
39
US
i have a spreadsheet that has a column of names and another column of sales $. I am going to add a 3rd column with an identifier for certain rows that I want to exclude in a total at the bottom. how can i write a sum that looks at a different column to know if it should include/exclude the Sales $ in the total?

Name Sales Include
1 10 N
2 15 Y
3 20 Y

I want the total to be 35 at the bottom of the sales column in this example.
 

Use SumIf

=SUMIF(Range,"=Y",Sum_Range)



I love deadlines. I like the whooshing sound they make as they fly by
Douglas Adams
(1952-2001)
 
I didnt realize such a function existed but that is exactly what i need. Thanks!!
 

total at the bottom
You might consider a different 21st century paradigm.

The "bottom line" is a phrase that is a anachronistic as "dialing" a phone number.

With a tool like a spreadsheet, the "bottom line" does not need to be at the bottom. That used to make sense, when the bookkeeper would tally columns of numbers on multiple sheets using an adding machine and a pencil.

With an advanced tool like Excel, you can put vital summary information for the boss and upper management, right at the very TOP, making it possible to see the "bottom line" without having to scroll and hunt. It makes much more sense to prominently position this précis.


Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top