Pinterest Pixel
MyExcelOnline MyExcelOnline
  • Start here
  • Blog Blog
    Excel
    Excel

    Data analysis spreadsheet

    Arrow
    Formulas Formulas ArrowArrow
    Learn Pivot Tables Pivot Tables ArrowArrow
    Learn Macros & VBA Macros & VBA ArrowArrow
    Learn Analysis Analysis ArrowArrow
    Learn Shortcuts Shortcuts ArrowArrow
    Learn Charts Charts ArrowArrow
    Learn Power BI Power BI ArrowArrow
    Learn Copilot Copilot ArrowArrow
    Word
    Word

    Document creator

    Arrow
    PowerPoint
    PowerPoint

    Presentation software

    Arrow
    Teams
    Teams

    Collaboration tool

    Arrow
    Outlook
    Outlook

    Email and calendar

    Arrow
    Access
    Access

    Database management tool

    Arrow
    Forms
    Forms

    Survey and quiz creator

    Arrow
    OneDrive
    OneDrive

    Cloud storage service

    Arrow
    OneNote
    OneNote

    Digital notebook

    Arrow
    Power Apps
    Power Apps

    Custom app builder

    Arrow
    Automated
    Power Automate

    Workflow automation tool

    Arrow
    Project
    Project

    Project management software

    Arrow
    Sway
    Sway

    Interactive presentation creator

    Arrow
    Visio
    Visio

    Diagram and flowchart tool

    Arrow
    Accounting
    Accounting

    Easy accounting tutorials

    Arrow
    Podcast
    Podcast

    Expert Insights on Excel

    Arrow
    One dollar trial

    $1 Trial for 30 days!

    Cancel Anytime
    • Check 30+ Excel & Office Courses
    • Check Certificates of Completion
    • Check Practice Workbooks
    • Check 5 Amazing Bonuses
    Icon HandIcon Hand Access for $1
  • Courses Courses
    Beginner
    Beginner
    Introduction Introduction

    An introduction to Microsoft Excel taking you through the workbook interface, menu ribbon features, entering data into your worksheet and saving.

    Learn More

    Formulas Formulas

    An introduction to Formulas, cell referencing, order of operations, relative v absolute references and exposure to common formulas that will get you up and going fast!

    Learn More

    Formatting Formatting

    Learn the most used formatting features like adding/deleting columns or rows, copying & moving worksheets, font formatting, number formatting and conditional formatting.

    Learn More

    Charts Charts

    Introduction to Images, Shapes, Smart Art & various Charts to spice up your presentations!

    Learn More

    Printing Printing

    Learn how to properly layout your page, print your documents and create custom templates that you can reuse time and time again.

    Learn More

    One dollar trial

    $1 Trial for 30 days!

    Cancel Anytime
    • Check 30+ Excel & Office Courses
    • Check Certificates of Completion
    • Check Practice Workbooks
    • Check 5 Amazing Bonuses
    Icon HandIcon Hand Access for $1
    Intermediate
    Intermediate
    Formulas Formulas

    Learn how to create Named Ranges, the various useful IF formulas, VLOOKUP, HLOOKUP, INDEX & MATCH, OFFSET, INDIRECT, SUMPRODUCT, TEXT formulas, nesting formulas, auditing your formulas and List formulas!

    Learn More

    Pivot Tables Pivot Tables

    Build your must have Pivot Table skills and learn its various powerful data analytic features including: Summarize Values, Group data, Filter & Sort, Slicers, Calculated Fields & Items, Pivot Charts plus Conditional Formatting!

    Learn More

    Macros & VBA Macros & VBA

    An introduction to Macros & VBA, recording Macros, creating Macro buttons and editing your Macros that will save you hours each week!

    Learn More

    Data & Analysis Data & Analysis

    Learn the must know analytical tools within Excel like: Sorting & Filtering, Excel Tables, Data Validation drop down menus, Text to Columns, Flash Fill plus MORE!

    Learn More

    Charts Charts

    Visualize your data with Charts like Column, Bar, Pie, Bubble, Scatter and Sparklines.

    Learn More

    One dollar trial

    $1 Trial for 30 days!

    Cancel Anytime
    • Check 30+ Excel & Office Courses
    • Check Certificates of Completion
    • Check Practice Workbooks
    • Check 5 Amazing Bonuses
    Icon HandIcon Hand Access for $1
    Advanced
    Advanced
    Formulas Formulas

    Advance your Formula skills with various nested formulas, Array formulas and advanced Lookup formulas like VLOOKUP, INDEX/MATCH, OFFSET, SUMPRODUCT plus heaps MORE!

    Learn More

    Pivot Tables Pivot Tables

    Learn the tips that Excel gurus use to analyze their data with a few mouse clicks, create KPIs on you business, interactive Excel Dashboards, learn the GETPIVOTDATA formula plus much MORE!

    Learn More

    Macros & VBA Macros & VBA

    Learn the key VBA concepts to automate your Excel reports & make you more productive, like: Worksheet & Range Objects, Relative References, Modules & Procedures, Variables & Data Types, Conditional Statements & Loops, Message & Input Boxes plus create interactive data entry User Forms! WOW!

    Learn More

    Power Query Power Query

    Learn how to install Power Query, consolidate workbooks & worksheets and create management, clean up your dirty data and transform your data into easy to read reports!

    Learn More

    Power Pivot Power Pivot

    Expand on your Pivot Table knowledge with this super charged add-in! You will learn how to import your data, create relationships, advanced calculations/measures plus various DAX formulas. This is Pivot Tables on STEROIDS!

    Learn More

    Data & Analysis Data & Analysis

    Gain insights on how to use the various data predictive tools like: Goal Seek, Solver, Data Table, Scenario Manager, Relationships and Forecasting!

    Learn More

    Charts Charts

    Expand on your Charting knowledge by learning the advanced Charts, formatting Charts and the new Excel 2016 Charts!

    Learn More

    Power BI Power BI

    Learn Microsoft's most powerful Business Inteligent platform. Power BI is a business analytics service that delivers insights to enable fast, informed decisions. Transform data into stunning visuals and share them with colleagues on any device.

    Learn More

    Excel Dashboards Excel Dashboards

    Learn to create awesome interactive Excel Dashboards that showcase your Key Performance Indicators (KPIs) on one page by using Excel Charts, Formulas, Tables, Form Controls and more!

    Learn More

    Financial Modeling Financial Modeling

    Learn how to create a Financial Model using the core Excel concepts & formulas, learn various Financial Modeling skills and create a real life Financial Model business case with Profit & Loss, Cash Flow, NPV, IRR, payback periods, scenario analysis plus MUCH MORE!

    Learn More

    One dollar trial

    $1 Trial for 30 days!

    Cancel Anytime
    • Check 30+ Excel & Office Courses
    • Check Certificates of Completion
    • Check Practice Workbooks
    • Check 5 Amazing Bonuses
    Icon HandIcon Hand Access for $1
    Microsoft
    Microsoft
    Word Word

    Use Microsoft Word to create business letters, business cards, resumes, product manual, reports, flyers, restaurant menus, invitation cards, labels, forms, and many more.

    Learn More

    PowerPoint PowerPoint

    Microsoft PowerPoint is your tool to create slides for your presentations. PowerPoint supports audio, videos, and animation effects to help you give your presentation greater impact.

    Learn More

    Outlook Outlook

    Microsoft Outlook is a powerful email client used by most corporate enterprises in the world. It also includes such functions as calendaring, task managing, contact managing, note-taking, journal logging and web browsing.

    Learn More

    OneNote OneNote

    Microsoft OneNote is a feature-rich note-taking application. OneNote keeps your notes, plans, and thoughts all in one place. You create sections, pages, and sub-pages just like a tradition paper notebook and use color codes to organize your notes.

    Learn More

    Teams Teams

    Microsoft Teams is a feature-rich and secure collaboration and communication application. It supports instant message/chat, audio calls, video conferencing, and collaboration features. Other features include the ability to host meetings with thousands of participants, record your meetings, and to share your screen for when you are hosting a training session.

    Learn More

    Access Access

    Microsoft Access is an application used to create databases to store and manage your business data. It provides you with tools to create data tables, queries, forms, reports, and tools to help you write Visual Basic codes to customize the functionality of your database application.

    Learn More

    SharePoint SharePoint

    Microsoft SharePoint is a cloud-based application used to build intranet websites to share and management information and collaborate with others within your organization. Features of SharePoint can be used to create as a document management tool, a knowledge base, a management workflow, a calendar of events, a ticketing system, and much more.

    Learn More

    Project Project

    Microsoft Project is a powerful and popular tool to plan and manage projects. It provides the tools to management tasks, dependencies, milestones, Gantt chart and more.

    Learn More

    Visio Visio

    Microsoft Visio is a diagramming and vector graphics application. You can create diagram types such as Flowcharts, Org Charts, Floor Plans, Network Diagrams, UML Diagrams, Mind maps and more.

    Learn More

    Power Automate Power Automate

    Formerly Flow, Microsoft Power Automate is a cloud-based tool to help organizations develop workflows to automate tasks and processes. It's a useful tool to help bring automation to repetitive tasks, such as approval workflows, data collecting, or synchronize files between applications.

    Learn More

    Power Apps Power Apps

    Microsoft Power Apps is a collection of tools to help you build customized web-based and mobile apps to meet your business needs. It's biggest benefits are automation and workflow. These enable businesses to improve productivity and processes, streamline tasks, and minimize the use of paper.

    Learn More

    Forms Forms

    Microsoft Forms is a web-based application that allows you to create forms to collect data and feedback from users, such as surveys, questionnaires and polls.

    Learn More

    One dollar trial

    $1 Trial for 30 days!

    Cancel Anytime
    • Check 30+ Excel & Office Courses
    • Check Certificates of Completion
    • Check Practice Workbooks
    • Check 5 Amazing Bonuses
    Icon HandIcon Hand Access for $1
    Member Login
    Member Login
  • Corporate
  • Shop Shop
    $19.00 $38.00 101 Excel Formulas
    101 Most Popular Excel Formulas
    101 Most Popular Excel Formulas

    Learn the Most Popular Excel Formulas Ever: XLOOKUP, VLOOKUP, IF, SUMIF, INDEX/MATCH, COUNT, SUMPRODUCT plus Many More!

    Shopping CartShopping Cart Buy E-Book (50% OFF) Amazon LogoAmazon Logo Buy at Amazon
    $19.00 $38.00 101 Excel Pivot Tables
    101 Ways to Master Excel Pivot Tables
    101 Ways to Master Excel Pivot Tables

    Master Excel Pivot Tables in a Flash: Customizations, Calculations, Grouping, Sorting, Filtering, Slicers, Calculated Fields/Items, Pivot Charts, Dashboards, Conditional Formatting, Getpivotdata Plus Many More!

    Shopping CartShopping Cart Buy E-Book (50% OFF) Amazon LogoAmazon Logo Buy at Amazon
    $19.00 $38.00 101 Excel Macros
    101 Ready To Use Excel Macros
    101 Ready To Use Excel Macros

    Access 101 Ready To Use Macros with VBA code which you can Copy & Paste to your workbooks straight away

    Shopping CartShopping Cart Buy E-Book (50% OFF) Amazon LogoAmazon Logo Buy at Amazon
    Ultimate Debt Repayment Tracker
    $19.00 $38.00
    Excel
    Ultimate Debt Repayment Tracker

    ⭐⭐⭐⭐⭐
    Easily create a debt repayment schedule using 3 fully automated debt repayment strategies (snowball, avalanche or custom)!

    • ✓ Gain Complete Debt Transparency
    • ✓ Minimize Debt Strain
    • ✓ Reach Debt Milestones
    • ✓ Editable in Microsoft Excel (All Versions)
    Shopping CartShopping Cart Buy Now! (50% OFF)
    Ultimate personal finance tracker
    $19.00 $38.00
    Excel
    Ultimate personal finance tracker

    ⭐⭐⭐⭐⭐
    Track your Income, Savings, Expenses and Debts with the ULTIMATE Personal Finance Tracker!

    • ✓ Gain Complete Financial Transparency
    • ✓ Minimize Financial Strain
    • ✓ Reach Financial Milestones
    • ✓ Editable in Microsoft Excel (All Versions)
    Shopping CartShopping Cart Buy Now! (50% OFF)
    Ultimate small Business Bookkeeping tracker
    $19.00 $38.00
    Excel
    Ultimate small Business Bookkeeping tracker

    ⭐⭐⭐⭐⭐
    Easily manage your small business Income & Expenses with this fully automated bookkeeping tracker!

    • ✓ Gain Complete Business Transparency
    • ✓ Minimize Business Strain
    • ✓ Reach Business Milestones
    • ✓ Editable in Microsoft Excel (All Versions)
    Shopping CartShopping Cart Buy Now! (50% OFF)
  • Consulting
  • Login
    Free Excel eBook Free Excel eBook

    Excel Subtotal Function – Include Hidden Values

    John Michaloudis
    Free Practice Workbook
    What does it do?

    What does it do?

    It returns a Subtotal in a list or database

    Formula breakdown:

    =SUBTOTAL(function_num, ref1)

    What it means:

    =SUBTOTAL(function number 1-11 includes manually-hidden rows & 101-111 excludes them, your list or range of data)

    ***Go to the bottom of this post to see what each value stands for


    The SUBTOTAL function in Excel has many great features, like the ability to:

    * Return a SUM, AVERAGE, COUNT, COUNTA, MAX or MIN from your data;

    * Find the SUBTOTAL of filtered values;

    * Ignore other SUBTOTALS that are included in your range, avoiding any double counting!

    * Include hidden values within your data by entering the first argument function_num, as values between 1-11;

    * Ignore hidden values within your data by entering the first argument function_num, as values between 101-111;

     INCLUDE HIDDEN VALUES IN YOUR SUBTOTAL…

    Sometimes you are faced with lots of data and just want to show the Totals row and hide all the individual rows that make up the Totals, just for presentation purposes.

    See also  Excel Made Easy: How to Use COUNTIF with Multiple Criteria

    Using the SUBTOTAL function you can Sum your list of values and then hide them from the worksheet without affecting the function.

    STEP 1: function_num:  For the 1st argument, select a number from 1-11, which will include any manually hidden rows in the SUBTOTAL calculation!

    STEP 2: ref1:  For the 2nd argument, select the range of values that you want to use in your SUBTOTAL calculation.

    STEP 3: Highlight the values that you do not want to show on your worksheet and then Right Click and select Hide.

    See how this is done by following this simple tutorial, plus you can download the Excel workbook to keep.

    Excel Subtotal Function - Include Hidden Values | MyExcelOnline
    Download workbookSubtotal-Hidden-Visible-Values.xlsx

     

    ***Values for the SUBTOTAL function_num:

    Includes hidden values     Ignores hidden values     Function      
    1 101 AVERAGE
    2 102 COUNT
    3 103 COUNTA
    4 104 MAX
    5 105 MIN
    6 106 PRODUCT
    7 107 STDEV
    8 108 STDEVP
    9 109 SUM
    10 110 VAR
    11 111 VARP

    See also  Create a Random List with Excel's RAND Formula

     

    If you like this Excel tip, please share it
    XFacebookLinkedInCopyEmailSharePrintReddit



    Excel Subtotal Function - Include Hidden Values | MyExcelOnline


    John Michaloudis

    Founder & Chief Inspirational Officer

    at

    MyExcelOnline.com

    John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship Academy Online Course.













    Steps To Follow

    • Free Practice Workbook
    •  INCLUDE HIDDEN VALUES IN YOUR SUBTOTAL…
    Excel Formulas & Functions TutorialsExcel Math FormulasSUBTOTAL Formula in Excel
    30+ Excel & Office Courses
    One Dollar Trial

    $1 Trial for 30 days

    Access for $1

    Cancel Anytime

    Related Articles

    How to RemoveText from Cells in Excel

    How to Remove Text from Cells in Excel June 14, 2024

    How to CheckIf Cell Contains Text with Excel Formulas

    How to Check If Cell Contains Text with Excel Formulas June 13, 2024

    How to FormatNumbers as Text in Excel

    How to Format Numbers as Text in Excel June 12, 2024

    Star 30 Days - Full Access Star

    One Dollar Trial

    $1 Trial for 30 days!

    Access for $1

    Cancel Anytime

    One Dollar Trial
    • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
    • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
    • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
    • Practice Workbooks
    • Certificates of Completion
    • 5 Amazing Bonuses
    Satisfaction Guaranteed
    Accepted paymend methods
    Secure checkout

    Get Video Training

    Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

    Dramatically Reduce Repetition, Stress, and Overtime!
    Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

    Learn in as little as 5 minutes a day or on your schedule.

    Learn More!
    Video Training: Formulas
    Video Training: Power Pivot
    Video Training: Macros & VBA
    Video Training: Charts
    Video Training: Power Query
    Video Training: Pivot Tables

    MyExcelOnline

    Follow Us

    X (Twitter)
    YouTube
    Pinterest
    Facebook
    LinkedIn
    Instagram

    Learn

    • Excel Podcast
    • Functions & Formulas
    • Pivot Tables
    • Macros & VBA
    • Power BI
    • Charts
    • Analysis
    • Shortcuts & Tips

    Courses

    • Academy Online Course
    • Corporate Academy
    • Academy Members Login
    • Course Reviews
    • Academy Student Testimonials

    Books

    • 101 Best Excel Tips And Tricks
    • Formulas E-Book
    • Macros E-Book
    • Formulas Paperback on Amazon
    • Macros Paperback on Amazon
    John Michaloudis - MVP
    © 2014-2025 MyExcelOnline. Terms of use Privacy Policy Cookie Policy Sitemap About Contact
    Share to...
    BufferCopyEmailFacebookFlipboardHacker NewsLineLinkedInMastodonMessengerMixPinterestPocketPrintRedditSMSTelegramThreadsTumblrXVKWhatsAppXingYummly