LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
DG DG is offline
external usenet poster
 
Posts: 46
Default vlookup is not the answer

I have a list of parts that are in Kits (like a socket set). It is two
columns A = PARTS and B = KIT. It is sorted by Parts. one part can be in
more than one kit and that is what I need to know.

example:

PART KIT
Part_A Kit_1
Part_A Kit_2
Part_A Kit_3
Part_B Kit_2
Part_B Kit_3
Part_C Kit_1

The above array is in a named range called KIT_DATA. And I was going to use
vlookup untill I realized it would only give me the first kit. The above
data is in Sheet2. Sheet1 lists all of the Parts. The objective is to
insert a comment into the Part on sheet1 and put all the Kits that the part
is in (from sheet2 or KIT_DATA) into the comment.

Soooo....

Sheet1

Part_A would have a comment "Kit_1, Kit_2, Kit_3"
Part_B would have a comment "Kit_2, Kit_3"
Part_C would have a comment "Kit_1"

Does that make sense? Can anyone help? I could loop through the whole mess
but it's about 50,000 lines.

DG


 
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? Questions about answer I got??? Help, please. Dave Excel Discussion (Misc queries) 2 December 4th 08 08:01 PM
vlookup returns wrong answer (off by one row) BAA Excel Worksheet Functions 2 October 4th 08 04:45 AM
VLOOKUP not returning correct answer Alan Davies Excel Worksheet Functions 3 May 10th 06 03:37 PM
vlookup answer in different cell Psychlogic Excel Worksheet Functions 1 January 24th 06 09:40 PM
vlookup search for more then one answer Gemse Excel Discussion (Misc queries) 2 July 4th 05 01:24 PM


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