Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2013, 04:51 PM
Grasshopper Grasshopper is offline Sum on AutoFilter Windows 7 64bit Sum on AutoFilter Office 2003
Novice
Sum on AutoFilter
 
Join Date: Feb 2013
Posts: 2
Grasshopper is on a distinguished road
Unhappy Sum on AutoFilter

I need to do a simple AutoSum, but can't figure out how to do it while also using AutoFilter. Example: I have my AutoSum formula in B1. A2:A102 contains Months (Jan-Dec), B2:B102 contains Dollar values. I AutoFilter the Months to show only January records, but my AutoSum cell still sums all of column B even though I filtered for only January. Please Help!

Last edited by Grasshopper; 02-12-2013 at 07:04 PM.
Reply With Quote
  #2  
Old 02-13-2013, 01:53 AM
Kevin@Radstock Kevin@Radstock is offline Sum on AutoFilter Windows 7 32bit Sum on AutoFilter Office 2010 32bit
Office 365
 
Join Date: Feb 2012
Posts: 94
Kevin@Radstock is on a distinguished road
Default

Hi Grasshopper

Use the SUBTOTAL function. I personally would insert a row above your data and put column headers ie: Month & Sales. So your filters will be in these cells.

Then in B1: =SUBTOTAL(109,$B$3:$B$103)

Edit: Forgot to add that you could also use a Pivot Table. See the attached file.

Kevin
Attached Files
File Type: xls 002-Sum on AutoFilter.xls (36.5 KB, 15 views)
Reply With Quote
  #3  
Old 02-13-2013, 06:04 PM
Grasshopper Grasshopper is offline Sum on AutoFilter Windows 7 64bit Sum on AutoFilter Office 2003
Novice
Sum on AutoFilter
 
Join Date: Feb 2013
Posts: 2
Grasshopper is on a distinguished road
Smile

Kevin,
Thanks so much! SUBTOTAL is exactly what I need. I'm so mad at myself for not figuring it out on my own, but I guess that's what this forum is for anyway. Thanks again!

Lynn (aka grasshopper)
Reply With Quote
  #4  
Old 02-14-2013, 01:41 AM
Kevin@Radstock Kevin@Radstock is offline Sum on AutoFilter Windows 7 32bit Sum on AutoFilter Office 2010 32bit
Office 365
 
Join Date: Feb 2012
Posts: 94
Kevin@Radstock is on a distinguished road
Default

Hi Lynn

No problem and thanks for the feed back.

Kevin
Reply With Quote
Reply

Tags
autofilter, autosum



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum on AutoFilter AutoFilter Criteria3 coxjamd Excel Programming 2 01-17-2013 02:24 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:46 AM.


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