#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Vlookup?

I have a range of data on one sheet and am trying to import that data into
another sheet but I need to look up more than one criteria to get the data.
e.g If employee is greater than 3 (text) and employee no is 1234 then give me
cell xx2 otherwise return nothing. There may also be more than one entry for
each employee in the same category. How would I do this lookup?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default Vlookup?

=INDEX(Sheet2!A1:A100,MATCH(1,(Sheet2!B1:B100"3") *(Sheet2!C1:C100=1234),0))

which is an array formula, so commit with Ctrl-Shift-Enter, not just Enter

This will only get the first match though.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Funkyfido" wrote in message
...
I have a range of data on one sheet and am trying to import that data into
another sheet but I need to look up more than one criteria to get the
data.
e.g If employee is greater than 3 (text) and employee no is 1234 then give
me
cell xx2 otherwise return nothing. There may also be more than one entry
for
each employee in the same category. How would I do this lookup?

Thanks



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 isn't working correctly? Dave F Excel Discussion (Misc queries) 2 October 14th 06 04:27 AM
VLookup a Vlookup adamb2000 Excel Worksheet Functions 4 June 28th 06 10:54 PM
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


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