Please attach a sample workbook with expected output for better understanding