Hi Friends,
I am trying to write macro for the below condition
If column A begins with “A1 & A2” then Column “B” to be filed with Left(A1,5) and Column “C” to be updated as “Apple” Range is equal to ColumnA
If column A begins with “B1 & B2” then Column “B” to be filed with Left(A1,5) and Column “C” to be updated as “Banana” Range is equal to Column A
If column A begins with “O1 & O2” then Column “B” to be filed with Left(A1,5) and Column “C” to be updated as “Orange” Range is equal to Column A
If column A done not begins with any of the above then Column B & C should be blank
Kindly help to get VBA code
Bookmarks