vba help needed - please

gloworm

New Member
Joined
Jul 12, 2011
Messages
7
I have an excel workbook that I need to put some conditioning on.

for example:

column e - if the value of the cell is between 100 and 200 then it is green, anything else would be red. The values should be bold too, in this column.

column j - if the value is greater than 200 green, under is red. bolded again.


I did some of this years ago but have been out of the loop and did not realize how much I have forgotten. I have been looking for an answer but nothing is looking right to me.

I was out of work for a while and had to do something. i got in a little over my head. I don't need to lose this gig cause I have a kid on the way.

Any help is appreciated.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
conditional formatting
between 100 and 200
click on the format button, choose green fill, and bold text
click stop if true

less than 100
OR greater than 200
red
stop if true
 
Upvote 0
Highlight column E and go to the toolbar and click Format, then Conditional Formatting. You should be able to get it after that.
 
Upvote 0
I got this going, thanks for all the help.

However, I have another issue on how to do something in the conditional formatting. I have looked for over an hour and cannot find it.

I need to format on the following conditions:

if cell 1a has a value of 46 and cell 1b is between 54 and 56, color cell 1b green and bold, others where 1a equals 46 would be red and bold.

if cell 1a has a value of 56 and cell 1b is between 47 and 53, color cell 1b green and bold, others where 1a equals 56 would be red and bold.

if cell 1a has a value of 66 and cell 1b is between 46 and 50, color cell 1b green and bold, others where 1a equals 66 would be red and bold.

This will need to continue for all of the data in the column. Each cell till the end of the data will need to use this to determine its color.


Thanks for the help.
 
Last edited:
Upvote 0
Highlight the entire B column, and when you're doing the rules, pretend you're only doing it for B1.
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,259
Members
452,901
Latest member
LisaGo

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