Hello everyone,
I am new to this forum and have a few questions. For a school assignment I have to make an automated report in word using VBA and excel but I have a problem filtering the data.
The file exists of 3 sheets:
- control (date selection and button to generate word report)
- data (measurements)
- transfer (filtered measurements)
1) I have a range of measurements with multiple values for each date (every day there are 12 measurements with some exceptions). I would like to filter the table and paste the filtered data in a 'transfer' sheet so I can use this to make the report. I tried an index match combination but this only gives me the 1st measurement for each date even when I drag the formula down to the other cells below.
2) when using the drag down menu in the control sheet, excel can not find the date I am looking for (#N/A) but when just entering a date by hand it does.
Thank you in advance,
Steve
control sheet:
data sheet:
transfer sheet:
I am new to this forum and have a few questions. For a school assignment I have to make an automated report in word using VBA and excel but I have a problem filtering the data.
The file exists of 3 sheets:
- control (date selection and button to generate word report)
- data (measurements)
- transfer (filtered measurements)
1) I have a range of measurements with multiple values for each date (every day there are 12 measurements with some exceptions). I would like to filter the table and paste the filtered data in a 'transfer' sheet so I can use this to make the report. I tried an index match combination but this only gives me the 1st measurement for each date even when I drag the formula down to the other cells below.
2) when using the drag down menu in the control sheet, excel can not find the date I am looking for (#N/A) but when just entering a date by hand it does.
Thank you in advance,
Steve
control sheet:
![p.jpeg](/board/proxy.php?image=https%3A%2F%2Fpreviews.dropbox.com%2Fp%2Fthumb%2FAAQEt_VGXPoI_UOlrInwOOopfgEPSUdmSuu45U6ZvN-61epMoV3BTXBnMhiE2MSs0WQXCl16Aoe2Boq-IUcRn-RsV6Q-qfYbeqt2cIBeq-ZrRN5fDtzxhiIEIiLLOOInzPYXZwgXx6-OrVYZzOtN97DXp_hv7xeohTgk1pca8oacFpF_1raje3SFGQKMgvHWqld7_dd5Jl5_OQTlUAWt1k7jea6193av4NbNd06gVh_ppg%2Fp.jpeg%3Fsize%3D1600x1200%26size_mode%3D3&hash=5276824eab35b48e5b0561608f28b5dc)
data sheet:
![p.jpeg](/board/proxy.php?image=https%3A%2F%2Fpreviews.dropbox.com%2Fp%2Fthumb%2FAATZBRU-izCygZPTiH7smDgqjL7dLLP3_50Pm-dtBnLCxP53M9Hxk5Dnui8nWcrp-E7BLp9U0ixKv2XxiaQkIQTWl5P4a_210-ev9KEpAvNLNpVrJWsY5_lBw0EUaKUe-pI8u47ARjyPFzetMiLPFBo-Kym4gvGD9C5V462nvKivDh2jOYFu-iZFeJmYTLtAaSoenIen3dI4DM_Ka-WyxhO_CVJKQBpum88GwMvZHxJSIQ%2Fp.jpeg%3Fsize%3D1600x1200%26size_mode%3D3&hash=f1f158352be7873530eef50c4e939378)
transfer sheet:
![p.jpeg](/board/proxy.php?image=https%3A%2F%2Fpreviews.dropbox.com%2Fp%2Fthumb%2FAARsFIvbF2o4E3Shw9_8IQHWqsj6YZ6f24bAxpcNT-m7MgMdxZ8KxWUDfMyW-or4Mpz04Exh-OwyHT7KFDIxV3T3J5H_eFUCvuG7Nya5jm09xoQT6sjMJ44r1rHDRMI8H8OEzoBcIuRsVYHCLoAMDPf3yOvwikicYLFGs22fmCIWO3-qzpQ3f4K7pLVg5N4HDLQDq5kkKroVmg3tUF7WlxiGD-re7GCxr4X4h5_BTEhxgQ%2Fp.jpeg%3Fsize%3D1600x1200%26size_mode%3D3&hash=806d56862a207d3cea4032bed99db105)