Hi,
I have a set of data similar to what you can see below:
I want to filter the data in "Purchase Records" based on the 3 filters of year season, month, with overall count and price being displayed in the "Filtered Purchase Records" table, I can use the sumifs function but what I want is that, the filter should be dynamic in a sense that, if I don't enter any of the 3 filters the data be displayed based on the remaining two. for instance:
if I enter the year 2021, and leave season and month filters empty, all of the purchased pens and papers be displayed in the filtered table
or
if I enter 2021 and april, the results be filtered based on this criteria
or
if I enter spring, and leave year and month empty, the smaller table shows the purchased items in the spring of 2021 and 2022.
I have a set of data similar to what you can see below:
Book1 | |||
---|---|---|---|
K | |||
5 | |||
Sheet1 |
I want to filter the data in "Purchase Records" based on the 3 filters of year season, month, with overall count and price being displayed in the "Filtered Purchase Records" table, I can use the sumifs function but what I want is that, the filter should be dynamic in a sense that, if I don't enter any of the 3 filters the data be displayed based on the remaining two. for instance:
if I enter the year 2021, and leave season and month filters empty, all of the purchased pens and papers be displayed in the filtered table
or
if I enter 2021 and april, the results be filtered based on this criteria
or
if I enter spring, and leave year and month empty, the smaller table shows the purchased items in the spring of 2021 and 2022.