As shown in attachment, I need a result shown in sheet2. Sheet1 has source data. When I input on ""sheet2 cell B1" category name I need all the related columns with the same category name listed.