Using the SUBTOTAL Function with AutoFilter: MS Excel
When AutoFilter is activated, Excel recognizes that a calculated total should reflect only the record that are currently displayed in the data list. For example, in a data list of business expenses with an Amount field, it would be possible to create a formula at the bottom of the field that reflects the total amount of only those amounts displayed by the filter. The SUBTOTAL function is used to calculate a total amount based on a filter.
Follow these steps to use the SUBTOTAL function with AutoFilter:
- Click in a cell in the column to subtotal.
- Click Sort Ascending or Sort Descending.
- On the Data menu, click Subtotals.
- In the At each change in box, click the column to subtotal.
- In the Use function box, click the summary function.
- Summary function is a type of calculation that combines source data in a PivotTable Report or a consolidation table, or when you are inserting automatic subtotals in a list or database. Examples of summary functions include Sum, Count and Average.
- In the Add subtotal to box, select the check box for each column that contains values you want to subtotal.
- If you want an automatic page break after each subtotal, select the Page break between groups check box.
- If you want the subtotals to appear above the subtotaled rows instead of below, clear the Summary below data check box.
- Click OK.
You can use the Subtotals command again to add more subtotals with different summary functions. Make sure that you clear the Replace current subtotals check box so as not to overwrite your existing subtotals.
When you become a member at CarolsCornerOffice.com, you have access to this and many, many more articles that include screenshots. Don't delay: visit us today!
Most popular articles
- Which Processor is Better: Intel or AMD? - Explained
- How to Prevent Ransomware in 2018 - 10 Steps
- 5 Best Anti Ransomware Software Free
- How to Fix: Computer / Network Infected with Ransomware (10 Steps)
- How to Fix: Your Computer is Infected, Call This Number (Scam)
- Scammed by Informatico Experts? Here's What to Do
- Scammed by Smart PC Experts? Here's What to Do
- Scammed by Right PC Experts? Here's What to Do
- Scammed by PC / Web Network Experts? Here's What to Do
- How to Fix: Windows Update Won't Update
- Explained: Do I need a VPN? Are VPNs Safe for Online Banking?
- Explained: VPN vs Proxy; What's the Difference?
- Explained: Difference Between VPN Server and VPN (Service)
- Forgot Password? How to: Reset Any Password: Windows Vista, 7, 8, 10
- How to: Use a Firewall to Block Full Screen Ads on Android
- Explained: Absolute Best way to Limit Data on Android
- Explained: Difference Between Dark Web, Deep Net, Darknet and More
- Explained: If I Reset Windows 10 will it Remove Malware?
My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited
We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.