ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is it possible in a vlookup to pull formatting too? Like colors? (https://www.excelbanter.com/excel-programming/409158-possible-vlookup-pull-formatting-too-like-colors.html)

Neal Hammond

Is it possible in a vlookup to pull formatting too? Like colors?
 
Just was curious if doing a vlookup if I could pull colors... For example if
I define 1 to equal GREEN (like a green background) and 2 to equal Yellow
(with Yellow Background), 3 equal RED with REd background on one sheet...

Was curious if doing a Vlookup that each time someone entered a 1,2, 3 if it
would pull the COLOR. That's what the boss is after.

Thanks,
Neal

L. Howard Kittle

Is it possible in a vlookup to pull formatting too? Like colors?
 
Hi Neal,

A formula can only returna value to a cell.

Take a look at Conditional Formatting and format the cell getting the 1, 2
or 3. Use cell Value is equal to and 1, 2 or 3..

HTH
Regards,
Howard



"Neal Hammond" <Neal wrote in message
...
Just was curious if doing a vlookup if I could pull colors... For example
if
I define 1 to equal GREEN (like a green background) and 2 to equal Yellow
(with Yellow Background), 3 equal RED with REd background on one sheet...

Was curious if doing a Vlookup that each time someone entered a 1,2, 3 if
it
would pull the COLOR. That's what the boss is after.

Thanks,
Neal




Dave Peterson

Is it possible in a vlookup to pull formatting too? Like colors?
 
Nope.

Formulas return values, not this kind of formatting.

Neal Hammond wrote:

Just was curious if doing a vlookup if I could pull colors... For example if
I define 1 to equal GREEN (like a green background) and 2 to equal Yellow
(with Yellow Background), 3 equal RED with REd background on one sheet...

Was curious if doing a Vlookup that each time someone entered a 1,2, 3 if it
would pull the COLOR. That's what the boss is after.

Thanks,
Neal


--

Dave Peterson

JLGWhiz

Is it possible in a vlookup to pull formatting too? Like colors?
 
You would have to format the results of the VLookup by putting them in a
range that can be formatted.

"Neal Hammond" wrote:

Just was curious if doing a vlookup if I could pull colors... For example if
I define 1 to equal GREEN (like a green background) and 2 to equal Yellow
(with Yellow Background), 3 equal RED with REd background on one sheet...

Was curious if doing a Vlookup that each time someone entered a 1,2, 3 if it
would pull the COLOR. That's what the boss is after.

Thanks,
Neal



All times are GMT +1. The time now is 04:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com