Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Thierry
 
Posts: n/a
Default alternative to VLOOKUP

Hi,

What I am looking for is an alternative for the function VLOOKUP.
I want to to exactly the operation this function performs, only I do
not have the option to sort the data in my array.

I am trying the following:

Sheet 2; cel A1:

= 'Sheet 1'!A14

Sheet 2; cel B1:

=INDIRECT("'Sheet 1'!C"&ROW(B3))

Condition: The cel B1 in sheet 2 has to be a reference to Sheet 2 cel
A1.

My problem is that I cannot get the rownumber from Sheet 1 (= 14 in my
example).

Thanks for any help!!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macropod
 
Posts: n/a
Default alternative to VLOOKUP

Hi Thierry,

If you're looking for exact matches, you can use an INDEX and MATCH field
combination for this, in the form of:
=INDEX(ResultRange,(MATCH(QueryValue,QueryRange,0) )
No need for sorting. If no match is found, you get #NA!.

By changing the 'MatchType' (the '0' above) to '1' or '-1', as appropriate,
the function will also return near matches from a sorted range. See the help
file for more details.

Cheers

--
macropod
[MVP - Microsoft Word]


"Thierry" wrote in message
ups.com...
Hi,

What I am looking for is an alternative for the function VLOOKUP.
I want to to exactly the operation this function performs, only I do
not have the option to sort the data in my array.

I am trying the following:

Sheet 2; cel A1:

= 'Sheet 1'!A14

Sheet 2; cel B1:

=INDIRECT("'Sheet 1'!C"&ROW(B3))

Condition: The cel B1 in sheet 2 has to be a reference to Sheet 2 cel
A1.

My problem is that I cannot get the rownumber from Sheet 1 (= 14 in my
example).

Thanks for any help!!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default alternative to VLOOKUP

Hi Thierry

You do not have to have the data sorted to use VLOOKUP().
Just include the optional 4th parameter of either FALSE or 0 to deal
with unsorted tables.

=VLOOKUP(value,mytable,offset,0)
substitute entries for value, mytable and offset to suit your needs.

--
Regards

Roger Govier


"Thierry" wrote in message
ups.com...
Hi,

What I am looking for is an alternative for the function VLOOKUP.
I want to to exactly the operation this function performs, only I do
not have the option to sort the data in my array.

I am trying the following:

Sheet 2; cel A1:

= 'Sheet 1'!A14

Sheet 2; cel B1:

=INDIRECT("'Sheet 1'!C"&ROW(B3))

Condition: The cel B1 in sheet 2 has to be a reference to Sheet 2 cel
A1.

My problem is that I cannot get the rownumber from Sheet 1 (= 14 in my
example).

Thanks for any help!!



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
Which is faster? SUMPRODUCT or VLOOKUP, or another alternative? SteveC Excel Worksheet Functions 6 May 26th 06 01:57 PM
vlookup in excel have alternative result than #N/A selectable Bruce A Excel Worksheet Functions 1 April 25th 06 11:02 AM
Vlookup Alternative Needed Rita Palazzi Excel Discussion (Misc queries) 3 March 2nd 06 04:14 PM
Nested Vlookup or alternative? scoobydoo99 Excel Worksheet Functions 2 October 28th 05 02:38 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 01:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"