Page 1 of 1

[Solved] SUMs from multiple sheets filtered by category

PostPosted: Wed Apr 17, 2019 1:21 pm
by yoyopoc
Hi everyone,
Forgive me but I am an artist and have little knowledge of spreadsheets, my problem is.
I'm trying to get yearly sum totals from my monthly expenses from my openoffice spreadsheet, 12 sheets, 1 for each month and I need to create a master sheet with totals for each of my expenses categories, for example "Insurance" which is a category in my expenses categories in column G and its monetary value is held in column D. I've searched VLOOKUP in a hope of finding my way but as you can see from this example"=VLOOKUP(SHEET(april);AREAS(april.A2:G27);MATCH("Insurance" ))" I am hopeless, I'm intellegent enough to be able to move forward through all my yearly totals if I can only get one category sumtotal to work, help :shock:

Re: SUM totals from multiple sheets filtered by category

PostPosted: Wed Apr 17, 2019 4:42 pm
by FJCC
You can use the SUMIF() function. Something like
Code: Select all   Expand viewCollapse view
=SUMIF(Sheet1.G1:G100;"Insurance";Sheet1.D1:D100)

I also suggest that you not spread your data over 12 sheets. That makes calculations like this more difficult. Humans like data organized on different sheets but computers like it all in one place.

Re: SUM totals from multiple sheets filtered by category

PostPosted: Wed Apr 17, 2019 9:02 pm
by yoyopoc
Many thanks for your help FJCC this works perfectly, I'll copy all entries into a single sheet and weed out the human touch in future again many thanks from a novice. :bravo:

Re: [Solved] SUMs from multiple sheets filtered by category

PostPosted: Thu Apr 18, 2019 12:45 am
by robleyd
Once you have organised your data into a single sheet you can also use Pivot Tables to summarise your data.

Re: [Solved] SUMs from multiple sheets filtered by category

PostPosted: Thu Apr 18, 2019 12:49 pm
by yoyopoc
Hi robleyd,
Thanks for the pointer, I'll look into pivot table tutorials.
Thanks for your help.
Cheers :D