Excel Cell Editing

Hello, I am facing problem while Filtering the Excel Sheet based on value.
1.In Excel Sheet, Check the cell value in the row whether the value “A” is there or Not
2.If the cell value A is there keep the value, else make empty on the cell.

Input Image:

Output Image:

My Excel File:
MainFile (2).xlsx (11.6 KB)