Need some guidance on how to proceed

Bub_the_Zombie

Board Regular
Joined
Nov 1, 2016
Messages
53
Hello Excel Gurus!

I am still new to coding excel and i am not sure what I want to do is possible; and if it is possible how to start putting it together. This seems like it should be easy, but excel has been fooling me everytime I say that. I really need someone more familiar with excel to tell me how to proceed, and what I should be googling to make this happen.

I have 2 large tables that data is added and deleted throughout the day, and I want the table rows to highlight different colors when a value in a certain cell is present; But also have a way to toggle the highlight on and off.

I am bad at explaining things, below is the technical details that may make this make more sense.

Table 1 has a range of ("F4:X33") (Table 1 header is located ("F3:X3")
Row 34 is blank
Table 2 has a range of ("F36:X45")(Table 2 header is located ("F35:X35")
The data that will trigger the highlight is in column "U" for both tables, column "U" is not used for anything else on the Worksheet.

The data in column U is, and the highlight I would like them to have.
Brad = red highlight
Heather = green highlight
Athena = blue highlight
Tom = Light Gray highlight
""= No highlight

Then a way to turn the highlight on /off.

I am not sure if trying to make this into a toggle button using vba makes more sense, or if writing a formula could preform the function. Which ever one is more practical It needs to auto update as changes happen to the rows throughout the day.

The two tables are almost identical, but need to stay separate for another function that the worksheet needs to do.

Thoughts?
 
Maybe check out this link to a file I have put up to DropBox.
The link will be temporary please advise me once you have looked or downloaded it.

LINK
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
@ Snakehips

I played around with it and was able to get it to work!

Your code was correct, I was just applying it wrong. Learnt how to do the highlight a range from google then altered the it to the code you provided.

Thanks again
 
Upvote 0
Brilliant. Good luck with the project and the Excel learning curve.
 
Upvote 0

Forum statistics

Threads
1,215,366
Messages
6,124,514
Members
449,168
Latest member
CheerfulWalker

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