Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Search the list of Ids in the records

Dear Experts

I am working every time with around 200 changing unique ids with corresponding row entries. It is a pain when list of IDs have to searched copying and searching in the sheet. Can I get a help to to search a each of list of (200) ids I want to search with the existing records and fetch the rest of the row information and to those which does not exist in the record a different colored cell. It will really help me.
1. The existing records list could be 500 max.
2. The list of records I would search would be 200.

How about I copy the records I want to search in the another tab. which searches the record in the first tab and displays result in second tab. Is this feasible.

Sample Problem:
The Data:
Unique Id Case Officer Description Assigned
A12323 Russel Blah Andrew
A12325 Smith Blah Jacqie
C23434 Clive Blah Kelvin
C23467 Karen Blah Peter
etc etc etc etc

I want to search the data for C3434534, A12323, A93434, C23434. C23467

in the second tab may be first column and the I must get the answer as follows

C3434534
A12323 Russel Blah Andrew
A93434
C23434 Clive Blah Kelvin
C23467 Karen Blah Peter

The colored ones meaning the records do not exist.

Please can you help me ...

The attached file has two tabs the first tab is records (500) and the solution tab is where I paste the list of Ids and look to macro search for each id, the existing info in the records and fetch the records. Cheers

Thanks in advance
P
Attached Files
File Type: zip Search.zip (2.0 KB, 39 views)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Search the list of Ids in the records

Hi,

Am Wed, 10 Oct 2012 10:07:08 +0000 schrieb protocoder:

Sample Problem:
The Data:
Unique Id Case Officer Description Assigned
A12323 Russel Blah Andrew
A12325 Smith Blah Jacqie
C23434 Clive Blah Kelvin
C23467 Karen Blah Peter
etc etc etc etc

I want to search the data for C3434534, A12323, A93434, C23434. C23467

in the second tab may be first column and the I must get the answer as
follows

C3434534
A12323 Russel Blah Andrew
A93434
C23434 Clive Blah Kelvin
C23467 Karen Blah Peter


try in B1:
=IF(COUNTIF(Problem!$A:$A,$A1)=0,"",VLOOKUP($A1,Pr oblem!$A$2:$E$100,COLUMN(B1),0))
and copy right to E1 and down


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Help : Search Duplicate Records and Paste to New Worksheet zaldy Excel Programming 0 February 8th 11 08:25 AM
VBA help - undo search and show all records Alberta Rose Excel Programming 0 September 23rd 09 10:58 PM
search for records WRC Excel Discussion (Misc queries) 0 January 13th 09 05:58 PM
search for a name from list and then go to relevant records sudip Excel Discussion (Misc queries) 2 December 30th 06 08:51 AM
search and export multiple records Richard R Excel Worksheet Functions 3 January 17th 06 09:48 PM


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