Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default VLOOKUP best formula to use?

I have a worksheet that I have to update daily from data that is created by
an SQL query for orders created and not sent. I have to distinguish between
production and test vendors. I keep a separate worksheet that has the vendor
number, description and status. Once I update the first spreadsheet with the
SQL data, I would like to run something against my second worksheet that
would change the background color of the test vendors, parallel vendors, etc.
in the first spreadsheet based on the vendor/status in the second.

Hope that makes sense and I am not sure if VLOOKUP with conditional
formatting would be my choice.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default VLOOKUP best formula to use?

I would return with VLOOKUP the vendor status and put it in a separate column
(always easier when you have to sort later on, Excel will not allow sorting
using just colors!), then a conditional formatting on the whole row using
that cell as reference. Excel supports 3 conditional formatting, plus the
default color it makes a maximum of four options. With a macro, you could
have as many colors as you want.

Please give us more details about the position of your vendor code, status in
the sheet, and we will be able to give you exact formulas.

Stephane Quenson.

--
Message posted via http://www.officekb.com

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default VLOOKUP best formula to use?

In the "POs Unsent 2007", the vendor number is in column D, with anywhere
from 1 to 2500 rows. In the "EDI Status Report", the vendor number is in
column A and status is in column C, with anywhere from 1 to 50 rows.

Hope this explains it and many thanks for any and all help.

"squenson via OfficeKB.com" wrote:

I would return with VLOOKUP the vendor status and put it in a separate column
(always easier when you have to sort later on, Excel will not allow sorting
using just colors!), then a conditional formatting on the whole row using
that cell as reference. Excel supports 3 conditional formatting, plus the
default color it makes a maximum of four options. With a macro, you could
have as many colors as you want.

Please give us more details about the position of your vendor code, status in
the sheet, and we will be able to give you exact formulas.

Stephane Quenson.

--
Message posted via http://www.officekb.com


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
VLOOKUP formula masonn2 Excel Discussion (Misc queries) 4 August 9th 07 10:28 AM
VLOOKUP FORMULA? FC Excel Discussion (Misc queries) 4 March 22nd 07 05:48 PM
Excel 2002 VLOOKUP formula or other formula Serge Excel Discussion (Misc queries) 4 February 26th 07 03:56 PM
VLOOKUP Formula vishu Excel Discussion (Misc queries) 3 March 21st 06 12:49 PM
Vlookup formula Amnon Wilensky Excel Worksheet Functions 4 May 7th 05 02:59 PM


All times are GMT +1. The time now is 11:39 AM.

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

About Us

"It's about Microsoft Excel"