I found a useful vba which list out all selected data based on match one or two value in the data sheet. I have customised the to suit my needs for summary data selected from my data for annual report. I have sheet("Data") as my data and sheet("Report") for my summary annual report.
My problem is the code only works on exact matched value in data sheet. What I try to accomplish is variable in range J1 under sheet("Report") is year instead of date eg when J1 in sheet("Report") is year 2010 then the data extracted should be from 1/01/2010 to 31/12/2010.
sample workbook attached
Any help ?