How can I get two range of columns to highlight if they have the exact number in it, and highlight them red.
Thanks
How can I get two range of columns to highlight if they have the exact number in it, and highlight them red.
Thanks
Hi and welcome to the forum
Are the numbers next to each other? (same row) Or could they be in different rows in each column?
Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.
Click on GO ADVANCED and use the paperclip icon to open the upload window.
View Pic
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
109 50.24
324.82 92.18
50.87 300
92.18 1000
How can I get the 92.18 highlighted red, so I know they are the same value?
You can do this with conditional formatting. Assuming your data is in A1:B4...
1. highlight the range you want to apply the conditional formatting to (A1:A4)
2. on the home tab, styles, select CF
3. select new rule, select use formula
4. enter =VLOOKUP(A1,$B$1:$B$4,1,0).........................format fill RED
Repeat for columns B, change the formula to =VLOOKUP(b1,$a$1:$a$4,1,0)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks