LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Vlookup/address question

Based on data entered (ID_Location) I need to extract information from
another worksheet. I have used VLookup successfully to extract the first
occurrance of the information.

VMM_Sig_Name = Application.WorksheetFunction.VLookup(Range(ID_Loc ation),
VMM_Workbook.Worksheets(ShortVMM_FileName).Range(" B6:P2000"), 3, False)

I do know the number of times the "ID" shows up in the other worksheet.

Num_Of_IDs_In_VMM =
Application.WorksheetFunction.CountIf(VMM_Workbook .Worksheets(ShortVMM_FileName).Range("B6:B2000"), myID)

What is the best way to extract all the information? Use multiple VLookups?
Obtain the address, in the other worksheet, of the first occurrance then
conduct a copy and paste?

Example:
ID to lookup, fisrt run = 100h, second run = 025h,

Lookup Worksheet information:

Column B Column D Column P
000h A Desk
000h B Chair
000h C Computer
100h A Apple
100h B Orange
100h C Pear
100h D Peach
100h E Grape
025h A Tomato
025h B Beans
025h C Cucumber
025h D Pepper

Thanks
 
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
INDIRECT(ADDRESS) inside a VLOOKUP JG Excel Worksheet Functions 13 April 22nd 09 08:33 PM
How to get the address of the cell found our by vlookup dilettante Excel Programming 3 August 25th 06 01:41 AM
Vlookup + Address functions combined Peter Excel Worksheet Functions 2 January 26th 06 10:45 PM
Address and Vlookup sjring Excel Worksheet Functions 5 October 31st 05 06:05 PM
Cell address from Vlookup Harry Excel Programming 2 July 11th 05 02:45 PM


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