Check values in a column and if condition matches then populate 3 other columns

Important Notice


Please note that on 14th December 2023 users will experience an expected outage whilst we make upgrades to our network. We anticipate this process may take a couple of hours and so we apologise in advance for any inconvenience.

  • I want to write a macro which would check the value of cells in column f and fill column g, h and I cells if condition is met and this is for the entire column range.


    The column f in total has 3 different values.


    Say if- cell in column f has value x then I want column G cell to have AAA, column h cell to have BBB and column I to have CCC.


    Similarly if Column F cell has value y then G, H and I to have AA, BB, CC respectively.


    Can any one help me out please.

  • Maybe

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

  • Can you attach your workbook.

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

  • Please attach the workbook with the dummy sheet, not a PDF of it.

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

  • Sorry, it was my bad with the code I provided, I left out the sheet reference. This works

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

  • This better

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

  • You're welcome.

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!