I've searched for the answer before bothering the forum

buteaur

Board Regular
Joined
Mar 15, 2016
Messages
170
I'm using conditional formatting but I either get only the first cells to change or if i use the $B$2, it changes every cell regardless of the rule.

Here it is:

CF= =B2="Kermit"
Only changes A2 - rest of spreadsheet to green and none of the other selected sales (through F500)

CF= =$B$2="Kermit"
Changes every cell in range to green even though only 20 say "Kermit"
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
If you want to conditionally format cells in col A that have a companion cell in col B that contains "Kermit", first select all applicable cells in col A with your mouse. For example, say you want the CF to apply to A2:A100. Then after selecting A2:A100 enter this rule: =$B2="Kermit", choose the format you want and click OK.
 
Upvote 0
Thank you. I'm looking for it to change all cells from a2 - e500 that contain kermit in b2-b500. I'm only seeing the a column change to greet.

Thanks again!
 
Upvote 0
Thank you. I'm looking for it to change all cells from a2 - e500 that contain kermit in b2-b500. I'm only seeing the a column change to greet.

Thanks again!
You are welcome.

Select A2:E500, then go to Home>conditional formatting>New Rule>Use a formula

Formula is: =$B2="Kermit"
choose green fill and click OK
 
Upvote 0

Forum statistics

Threads
1,214,791
Messages
6,121,611
Members
449,038
Latest member
apwr

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