Clear column A color if column B has text.

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
Office Version
  1. 365
Platform
  1. Windows
Hi,
Basically i have names that get added in Column A and they are hilighted yellow. I put the correct names in Column B right next to it after that. I need to clear the color yellow in column A when i put the correct names in B and press enter.

Conditional formatting ? Any help thank
 

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.
You can use CF to do this
Highlight the cell in "A" and then create a new CF rule.
Select the Use a formula line and insert the formula below....assuming the cell is A1

Code:
=$B$1<>""

format as required
 
Upvote 0
ok thanks I haven't tried it yet ill let know. Thanks for reply
 
Upvote 0
ok I just tried this and got it to work, but I cant get it to go in range. I need it to look at name in A:A that are yellow and when added next to in in B:B then clear A:A color. I got this part done but only doing it at a set range A10 to B10 or something like that.

Start:

Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
A
[/th][th]
B
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
402
[/td][td]Willian[/td][td]William[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
403
[/td][td=bgcolor:#FFFF00]Espos[/td][td][/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
404
[/td][td=bgcolor:#FFFF00]Zachar[/td][td][/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Name Correction[/td][/tr][/table]


Results I need:

Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
A
[/th][th]
B
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
402
[/td][td]Willian[/td][td]William[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
403
[/td][td]Espos[/td][td]ESPOSIT[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
404
[/td][td]Zachar[/td][td]Zachary[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Name Correction[/td][/tr][/table]

I followed your approach and works I just need more range. thanks
 
Upvote 0
when you want to set up an entire range you highlight that range first.....then create the rule !!
 
Upvote 0
I think then i'm doing something wrong. I highted the whole range already in Column A then i used your formula in new rule and made that range B:B with $ signs but it did nothing. My situation is sometime i can have 2 yellow cells maybe 4 then the next time 6. i need to just clear the Cells in Col A that are yellow if text is next to it in B
 
Upvote 0
ok I just tried this and got it to work, but I cant get it to go in range. I need it to look at name in A:A that are yellow and when added next to in in B:B then clear A:A color. I got this part done but only doing it at a set range A10 to B10 or something like that.

Start:

Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
A
[/th][th]
B
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
402
[/td][td]Willian[/td][td]William[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
403
[/td][td=bgcolor:#FFFF00]Espos[/td][td][/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
404
[/td][td=bgcolor:#FFFF00]Zachar[/td][td][/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Name Correction[/td][/tr][/table]


Results I need:

Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
A
[/th][th]
B
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
402
[/td][td]Willian[/td][td]William[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
403
[/td][td]Espos[/td][td]ESPOSIT[/td][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
404
[/td][td]Zachar[/td][td]Zachary[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Name Correction[/td][/tr][/table]

I followed your approach and works I just need more range. thanks

zone709,

What product did you use to display the above screenshots?
 
Upvote 0
ooops, sorry....remove the $ signs ...:oops:
 
Upvote 0
ok ill try this later and let you know. Maybe that's it thanks for replying again.
 
Upvote 0
hi its called Forum Tools in top of my excel. Its an Add in and I probably added this awhile ago. Trying to think how I did it, but I got it from this site on how to do it. It copys the range and generates BB Code and then it shows the results as you can see above
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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