Conditional formatting (vba)

tsitsicat1

New Member
Joined
Jun 27, 2018
Messages
10
Hey there!!
I have a problem with my worksheet.

ABCDEF
A/AnameΠΕΡΙΟΧΗΤΚREPFOCUS
41308ALBERT NAMEATHENS330511091
21776KONSTANT NAMEATHENS350011092
38235TSAPROS NAMELAMIA350021093
40982ANESTOSLAMIA350041094
35287MATSOS NAMEMIKONOS350041094

<tbody>
</tbody>

I would like to color the row
from A to F if 1 with green
from A to F if 2 with blue
from A to F if 3 with orange
from A to F if 4 with red

Can you help me please?
Thanks in advance
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
* Highlight all your data from A2:F1000 or whatever row it ends on.
* Start a new conditional format - Use a formula to determine the cell format
* Type: =$F2=1
* Choose the format to fill with green

Do the same thing for the other colors but type: =$F2=2 for blue.... and so on

Jeff
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,837
Members
449,193
Latest member
MikeVol

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