How to SUM a filtered column of figures in ODS sheet

Discuss the spreadsheet application
Post Reply
ablehandy
Posts: 5
Joined: Wed Jan 18, 2017 8:40 pm

How to SUM a filtered column of figures in ODS sheet

Post by ablehandy »

For club accounts I require to correctly SUM a column of figures previously filtered for a particular expense type. Previously used Microsoft Excel
would correctly total only the filtered cells, in ODS sheet filtering appears to be ignored giving a false total.
Is there a way around this please?

AbleHandy, Nottingham UK
Open Office 4.1.1 on Windows10
FJCC
Moderator
Posts: 9280
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: How to SUM a filtered column of figures in ODS sheet

Post by FJCC »

You can use SUBTOTAL().

Code: Select all

=SUBTOTAL(9;B2:B100)
where 9 signifies the SUM function. Check out the help on that function. A pivot table might also be a good solution, depending on what you are doing.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
ablehandy
Posts: 5
Joined: Wed Jan 18, 2017 8:40 pm

Re: How to SUM a filtered column of figures in ODS sheet

Post by ablehandy »

Thanks will try out later
Open Office 4.1.1 on Windows10
Post Reply