vb script format row color based on cell multiple values

Muaitai

New Member
Joined
Feb 3, 2017
Messages
3
Hi,

I am new to this forum as for posting but I follow up on the posts for a long time.
Currently I am working on a spreadsheet where I register deals opportunities, on column I i have a data Validation List of Lost, Won and Invoiced.
What I am trying to do is to change the row color to Red for example to the row where I have Lost and green to the rows where I have Won and Invoiced. Each row goes from column A to N.
I have tried many VB Scripts I found in this forum but I have not been able to achieve what I am looking for.
Thank you in advance.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Have you tried using conditional formatting?
 
Upvote 0
Yes but I am only able to do it for one condition, when I apply multiple values it does not work on the second value
 
Upvote 0
Yes but I am only able to do it for one condition, when I apply multiple values it does not work on the second value

I don't quite fellow

You should be able to add multiple conditions, for "Lost" , "Won" and "invoiced" if you need to
 
Upvote 0
When I create the first condition =$I1="Won" it works fine, but when I add a second condition for Invoiced for example, it does not work.
 
Upvote 0

Forum statistics

Threads
1,216,115
Messages
6,128,915
Members
449,478
Latest member
Davenil

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