Macros to filter data based on two criteria

[Closed]
Report
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Hello,

I'm completely new in Macros programming, I would be approciated if you can help to resolve one task with filtering. I know how works advanced filter and how to put it into macros, but I need quite another kind of filter.

I have three sheets:
1. with data
2. with criteria
3. empty, where filtered data should paste

In criteria I have a table with 12 columns B2:M2 (Jan, Feb, Mar,...,Dec) and 30 rows A2:A30 (Albert, John etc).
I need by double clicking in any cell in array {B3:M30}, for example in cell D15, macros would take one criteria from D2 (column name) and second from A15 (row name) and than filter data in "Data" sheet and paste it to empty report sheet.

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
Could you please upload a sample EXCEL file WITH sample data, macro, formula , conditional formatting etc on some shared site like https://authentification.site , http://docs.google.com, http://wikisend.com/ , http://www.editgrid.com etc and post back here the link to allow better understanding of how it is now and how you foresee. Based on the sample book, could you re-explain your problem too