Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
waldersha
 
Posts: n/a
Default Vlookup Function Cell shading


I would like to use a vlookup function to pull cell shading as part of
the results. Is this possible? We have a database that uses colors to
signify status of accounts and would like this to pull into another
sheet that uses vlookup.

Thanks for any help.


--
waldersha
------------------------------------------------------------------------
waldersha's Profile: http://www.excelforum.com/member.php...o&userid=26460
View this thread: http://www.excelforum.com/showthread...hreadid=397277

  #2   Report Post  
Chad
 
Posts: n/a
Default

VLOOKUP does not work with cell shading that I know of, but I would try a
combination of the vlookup fuction and conditional formatting. Or, you may
be able to just use conditional formatting, depending on the conditions.
Hope this helps!
Chad

"waldersha" wrote:


I would like to use a vlookup function to pull cell shading as part of
the results. Is this possible? We have a database that uses colors to
signify status of accounts and would like this to pull into another
sheet that uses vlookup.

Thanks for any help.


--
waldersha
------------------------------------------------------------------------
waldersha's Profile: http://www.excelforum.com/member.php...o&userid=26460
View this thread: http://www.excelforum.com/showthread...hreadid=397277


  #3   Report Post  
Excel_Geek
 
Posts: n/a
Default


Maybe you could use conditional formatting to shade the cells?

Say that one of the values you return is "Past Due". You could color
that cell (or row) red, using conditional formatting.

Similarly, if a value you're returning is numeric, like, 120 (as in 120
days past due, or something), you could conditionally format the cells
based upon if that value is greater than or equal certain numbers.

Let me know if this is not what you're after.


--
Excel_Geek


------------------------------------------------------------------------
Excel_Geek's Profile: http://www.excelforum.com/member.php...o&userid=26423
View this thread: http://www.excelforum.com/showthread...hreadid=397277

  #4   Report Post  
waldersha
 
Posts: n/a
Default


That would work except we have 6 colors to work with. As far as I know,
you can only use 3 in conditional format?


--
waldersha
------------------------------------------------------------------------
waldersha's Profile: http://www.excelforum.com/member.php...o&userid=26460
View this thread: http://www.excelforum.com/showthread...hreadid=397277

  #5   Report Post  
waldersha
 
Posts: n/a
Default


I should probably explain more about what I am after. The database
houses customer name, address, etc. The other sheet that uses the
Vlookup is an invoice sheet. We use a customer number to pull in Name,
address. I would like to shade if the customer is past due. This is
already done in the database sheet. Not sure if this can even be
accomplished, but thought that since you can copy and paste formats
maybe????


--
waldersha
------------------------------------------------------------------------
waldersha's Profile: http://www.excelforum.com/member.php...o&userid=26460
View this thread: http://www.excelforum.com/showthread...hreadid=397277



  #6   Report Post  
Chad
 
Posts: n/a
Default

Perhaps you could try some code with an if statement that if it meets a
certain condition, such as past due, then it pastes the format from another
cell?
-Chad

"waldersha" wrote:


I should probably explain more about what I am after. The database
houses customer name, address, etc. The other sheet that uses the
Vlookup is an invoice sheet. We use a customer number to pull in Name,
address. I would like to shade if the customer is past due. This is
already done in the database sheet. Not sure if this can even be
accomplished, but thought that since you can copy and paste formats
maybe????


--
waldersha
------------------------------------------------------------------------
waldersha's Profile: http://www.excelforum.com/member.php...o&userid=26460
View this thread: http://www.excelforum.com/showthread...hreadid=397277


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
How do I obtain the address of a cell using the vlookup function? Spock Excel Worksheet Functions 2 May 16th 05 06:35 PM
How do I access data stored in a SQL server for vlookup function? M.Heer Excel Worksheet Functions 8 May 12th 05 09:51 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Hiding a function value in a cell until function used Paul Smithson Excel Worksheet Functions 1 February 25th 05 06:19 PM


All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"