Cause and Effect Sheet

Hi everyone, I need a solution based on the cause and effect diagram, especially a macro sheet or VBA script in Excel, which will help me generate all the tags and variables for the safety validator tool. Hence, writing all the tags manually takes more time to validate. i.e., VBA should identify the specific conditions such as 1oo2, 1oo3, 2oo3, “A” in the POS and MOS columns, and statuses like “LL”, “HH”, and “A”, Considering “Manual Trip” and “DCS Reset,” etc.