Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Conditional formatting or Vlookup?

Hey folks.

I have a wee query. I have a spread sheet with two columns of data
(they're item codes.) I need to somehow highlight the item code in one
column if it exists in the other.

Background: I have a list of items that have been purchased sorted by
the Purchase Order on which they appear, thats the first list. The
second list is items in a particular department. I need to highlight
the items on the PO list but only from that specific department,
(second list.)

Mmm, hope that makes sense...

Thanks in advance.

Paul.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 897
Default Conditional formatting or Vlookup?

Conditional formatting could do this for you.

Let's say your data is in columns A1:B1000.

1. Highlight column B.
2. Click FormatConditional Formatting
3. Formula Is =COUNTIF($A$1:$A$1000,B1)0
4. Click Formatchoose your favorite color
5. Click OK twice.

Anything in column B that is found in column A will be highlighted.


HTH,
JP


On Jan 21, 8:02*am, pa_broon74 wrote:
Hey folks.

I have a wee query. I have a spread sheet with two columns of data
(they're item codes.) I need to somehow highlight the item code in one
column if it exists in the other.

Background: I have a list of items that have been purchased sorted by
the Purchase Order on which they appear, thats the first list. The
second list is items in a particular department. I need to highlight
the items on the PO list but only from that specific department,
(second list.)

Mmm, hope that makes sense...

Thanks in advance.

Paul.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Conditional formatting or Vlookup?

Thank you.

That worked perfectly.

Paul.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 897
Default Conditional formatting or Vlookup?

You're welcome!

--JP

On Jan 21, 11:39*am, pa_broon74 wrote:
Thank you.

That worked perfectly.

Paul.


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 and Conditional Formatting exceluser Excel Worksheet Functions 1 December 31st 07 03:35 PM
VLookup & Conditional Formatting together Mike Excel Worksheet Functions 4 December 19th 07 12:00 PM
vlookup with conditional formatting pm Excel Worksheet Functions 1 January 4th 07 05:32 PM
VLookup for Conditional Formatting Alicia Excel Discussion (Misc queries) 2 December 7th 06 12:49 AM
vlookup & conditional formatting Emma Excel Worksheet Functions 5 February 23rd 05 02:29 PM


All times are GMT +1. The time now is 08:52 PM.

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"