I have an Excel workbook with two sheets (Sheet 1 and Sheet 2A). I’d like to create VBA code that scans through each row in Sheet 1. Based on the Color and Animal columns in Sheet 1, it should insert an X into the appropriate Name column in Sheet 2A. The end result should look like Sheet 2B. See images for visual references.
How might I do this with VBA code?
Sheet1
Sheet 2a
Sheet 2b
3