LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Comparing 2 Lists

Hello,

I haven't touched code in 10+ years and I need to do this
quick thing and... errr... could someone just flesh it out
a bit for me and I'll do the rest of the legwork? Maybe
just some help with the syntax and looping statements? It
would be much appreciated.

I have two LONG single-column lists, each one on it's own
spreadsheet tab. There are product categories with
indented product listings under each category. The
categories all start with the same 6 characters (say
ABCDEF) and then a bunch more characters. Starting at the
top of one worksheet, I want to go down 1 item at a time
and see if it's in the 2nd list. If it ISN'T, I want to
color that entry or flag it in some way.

ABCDEF-53426334
bat
cat
dog
mouse
ABCDEF-827726363
armadillo
cat
ferret

Everything's in alphanumeric order -- categories and
products -- and the categories are unique and won't
repeat, but the products might. The test has to be
correct for the given category, so 'cat' has to be tested
twice in the case above, and match-tested within the same
category on the other sheet.

Anyway, any and all help would be appreciated. Even
guidance to an article or link to a similar exercise.

Thanks in advance!
Glenn

 
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
comparing lists brian New Users to Excel 2 May 11th 09 12:20 PM
Comparing two lists John Fesen Excel Discussion (Misc queries) 3 February 22nd 09 01:58 PM
Comparing Lists PAL Excel Worksheet Functions 2 August 8th 08 04:40 PM
Comparing two lists ExcelHelpNeeded Excel Worksheet Functions 3 September 5th 07 08:18 PM
comparing lists sofiane b via OfficeKB.com Excel Worksheet Functions 4 July 13th 05 06:47 PM


All times are GMT +1. The time now is 11:44 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"