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
Siobhan Brennan-Robson7 days ago
Ebiji was an excellent teacher. I will be keeping her on speed dial.
Sophie Allen7 days ago
the initial invitation didn't come to all participants so I wasnt sure if the training was confirmed
Trusted Customer8 days ago
Amazing work! Honestly, I have had such a pleasant experience with Happy whether it be online or in their offices. Hopefully, in the future, I get to have more sessions w...
Trusted Customer10 days ago
I found the Office 365 training really useful. It consolidated my self-taught learning and showed me some new things that will make my life easier as well as doing some t...
Trusted Customer10 days ago
Found the session interactive and engaging throughout. Range of tools shared.
Helen Twigg11 days ago
Really enjoyed the Liberating Structures Online Immersion Workshop. High energy that kept you involved all day and have been able to use the learning immediately. Woul...
Ruth Gibbins11 days ago
Great facilitation, very interactive and organsied
Emma Willcox11 days ago
Great course, with lots of opportunity to practice techniques and not just learn about them. The day is packed full of content, so be ready to embrace the fast pace and t...
Judy Duff11 days ago
Happy are a creative, unique, relevant and modern-day approachers of workshop delivery and content.
Trusted Customer13 days ago
Excellent course and facilitator :) The course had good interactive sessions and well thought out content. It was made relevant to our roles and the trainer was supportiv...
Scott Haines14 days ago
I thought the training was excellent. It was really enjoyable and engaging and gave me lots of ideas to take away.
Toks Kinoshi14 days ago
An excellent session led by Henry where I learnt some new, refreshing techniques