Excel vlookup data/text and colour? or another formula

Karoundtheworld

New Member
Joined
Oct 22, 2013
Messages
1
Hi, I'm using vlookup to find data, but the data is highlighted in different colours and I need this to appear as well as the data/text. Is there a way to do this? The data is individually highlighted with a specific RGB colour for each one and so far could not think of a way to do this. In the end there will be 81 RGB colours and text answers (just in case there is a limit, but if I had to I could break this down to 14 and less for each cell). Hoping someone can help. Thanks for reading:)
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Two ways that I can see - off the top of my head.
1, if you're using conditional formating to color the cells, then replicate the condition in the new table. This would be the most efficient way to do it.
2, If it's manually colored, then you could do 1 of 2 things.
2.1 Copy paste value the vlookup table. Sort by lookup value
Go to the table with the colors, and add a column to countif the value in the table.
Sort that column, and lookup value.
The tables should match and you can copy paste format
2.2 Use a macro to copy formats from one table to the other once the data is populated.

Hope one of the many options is suitable to your needs.
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,962
Members
449,200
Latest member
indiansth

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