Calculations on a Filtered List in Excel
Auto filter is a wonderful thing isn’t it? With a few clicks of the mouse little dropdowns appear letting you filter your data in a myriad different ways.
In this blog, learn how to create a dropdown filter in your Excel spreadsheets.
Hi, we are Happy
We are leading a movement to create happy, empowered and productive workplaces.
How can we help you and your people to find joy in at least 80% of your work?
But what if you want to find out the total or average of your filtered data? Unfortunately the SUM, AVERAGE, COUNT, COUNTA etc functions seem to let us down here.
Here’s my unfiltered data and the SUM function in action:
And here’s my filtered data:
Notice anything different? No? Exactly! We may want the SUM function to only sum the visible data but, as it was designed to do, it will sum ALL of the data, even the hidden rows.
So what’s the answer? The SUBTOTAL function!
The subtotal function can, if we ask it nicely, ignore any values hidden by the autofilter. It looks like this:
=SUBTOTAL(function_num,ref1,[ref2], . . . . ])
The function_num argument tells the subtotal function what sort of calculation you want it to do:
So here’s the same example as above using the subtotal function:
Why not sign up to our newsletter?
Sign up to our monthly newsletter, full of tips, tricks and news to help you to be happier and more productive at work.
Darren is one of Happy's Senior Trainers, able to train almost every IT course on our course programme. He worked for Happy for 12 years and has been an Associate Trainer since 2018.
Testimonials from happy Customers
Anita Craig2 days ago
Excellent Service. Exciting opportunities, easy access and engaging sessions.
Catherine O'Connell2 days ago
Technology worked well and the training was well organised.
Trusted Customer2 days ago
Trusted Customer3 days ago
Excellent opportunity to pick up some top tips and hear challenges and solutions from colleagues
Trusted Customer3 days ago
All good :)
Mark Barsby3 days ago
The course content was just right and amended to suit cohort requirements. The instructor was extremely experienced and delivered the subject excellently.
Monica Inkpen4 days ago
People centre approached to training. A style that helps training go beyond the classroom.
Julie Hill4 days ago
The two half-days were really informative and Mike managed to get good participation levels from everyone in the group despite the Zoom medium. There was a lot to take in...
Trusted Customer4 days ago
The trainer spoke very clearly and was patient. She kept the group moving together and explained if unable to follow. I liked the idea of keeping conversations neatly u...
Beth Farminer4 days ago
Every course with Happy is a really great experience with a lot of takeaways, good conversations, the ability to learn from other audience members and real life applicati...
Rupert Bolger4 days ago
A very well run course
Ashan Abeywardena4 days ago
this is my second training at happy. i enjoyed the previous one very much, but this one seemed a bit too vague and less useful