Hi,
I have two data tables, one for 2017 and one for 2018. Next year I'll have another table for 2019.
I am using named ranges for column names and I am using the named ranges in SUMIFS formula.
However, since there are two different tables I can't figure out how to use SUMIFS to either check data for 2017 och for 2018.
Data table 1 has a column named years in it and all entries are 2017. And data table 2 has a column named years in it and all entries are 2018.
How can I use nested if statements to SUMIFS from 2017 table or from 2018 table, depending on a activex dropdown that is named DashboardYears.
So IF I select 2017 I want to SUMIFS from the 2017 year table. IF I select 2018 I want to SUMIFS from the 2018 year table.
Is there a good way to do this?
Ps. I have though about a mastertable with 2017 and 2018 year tables are in the same table but I want to keep them separate.
But I am not sure how this would work for 2019 also?
I have two data tables, one for 2017 and one for 2018. Next year I'll have another table for 2019.
I am using named ranges for column names and I am using the named ranges in SUMIFS formula.
However, since there are two different tables I can't figure out how to use SUMIFS to either check data for 2017 och for 2018.
Data table 1 has a column named years in it and all entries are 2017. And data table 2 has a column named years in it and all entries are 2018.
How can I use nested if statements to SUMIFS from 2017 table or from 2018 table, depending on a activex dropdown that is named DashboardYears.
So IF I select 2017 I want to SUMIFS from the 2017 year table. IF I select 2018 I want to SUMIFS from the 2018 year table.
Is there a good way to do this?
Ps. I have though about a mastertable with 2017 and 2018 year tables are in the same table but I want to keep them separate.
Code:
=IF(DashboardYears="2017"; Value if true; Value if false )
Code:
=IF(DashboardYears="2017"; SUMIFS for 2017; SUMIFS FOR 2018)
But I am not sure how this would work for 2019 also?
Last edited: