Autofill Cells based on other cells colors

dgent

New Member
Joined
Jun 9, 2015
Messages
1
I am creating a macro to help with daily tasks. I have gotten to the point where my data is in two columns (
A,B) and column A has the data colored both yellow and green and then sorted to where the yellow data is first.

What I was wondering is if it is possible to auto fill the cells in the column C according to the color of the corresponding cell in column A.

So any cell that is yellow in column A, for example A2 is yellow, I need C2 to say RV. But if it were to be green I would need C2 to say NC.

I am able to get it to do this for one single cell, but what I need is for it to check every cell in column A and then auto fill all the cells in column C.

Hopefully I have been clear enough and this is possible!

Thank you in advance guys
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,203,650
Messages
6,056,557
Members
444,876
Latest member
VidHuggers

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top