Calculate every month and year
Hi
Maybe someone knows. How do I calculate Text for each month and year.
MacBook Pro, OS X 10.11
Hi
Maybe someone knows. How do I calculate Text for each month and year.
MacBook Pro, OS X 10.11
Is there a reason you have separate tables for 2020 and 2021? The data looks as if it is in the same format. So you might be better off putting it in one table and add a Year column in that table.
Then you can easily use SUMIF or SUMIFS to extract totals by year and month.
SG
Is there a reason you have separate tables for 2020 and 2021? The data looks as if it is in the same format. So you might be better off putting it in one table and add a Year column in that table.
Then you can easily use SUMIF or SUMIFS to extract totals by year and month.
SG
Hi SG
There is a reason. I can then compare per month Category. For every year. For example year 2021 Month February (2) with 2020 February (2). differed with category 1 or 2 or 5 or other.
Do you have an example SUMIF or SUMIFS for me on how to do that?
You can see what SUMIF and SUMFS do by going to Help > Formulas and Functions Help in your menu and searching for them.
If you put your data in one table then you can easily do exactly the kinds of things you describe.
SG
It did succeed for each category for each year.
SG
It worked
ryszardb wrote:
It did succeed for each category for each year.
What is "it"? There aren't any formulas visible in your screenshot.
SG
But the question is. Now if I am going to put number of month in B2. Then only the total of that month should be listed
IFERROR(SUMIFS(2021::Bedrag,2021::Categorie,$A3,2021::Jaar,B$1),"")
Have you had a look at SUMIF and SUMIFS and considered the "all like data in one table" approach?
SG
SORRY ERROR. it shouldn't be like that
Calculate every month and year