Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default When to use a VLookup

Try this experiment...

Open a new workbook
Hit function key F5
In the reference box type A51:A25050
Hit ENTER
Type this formula: =ROW()-50
Hold down the CTRL key then hit ENTER

Hit function key F5
In the reference box type B51:B25050
Hit ENTER
Type this formula: =25001-A51
Hold down the CTRL key then hit ENTER

Now, using your method, col A is already sorted, find the value from column
B that corresponds to 22222 in column A.

After you've done that scroll back up to cell D51 and enter this formula in
D51:

=VLOOKUP(22222,A:B,2)

Which method is faster?

Now, how would you do this using your method if the data was random and
*could not be sorted* ?

--
Biff
Microsoft Excel MVP


"ChuckW" wrote in message
...
Hi,

I am an intermediate Excel user who has been asked to learn what a VLookup
does. I read through an "Excel Bible" on the matter and checked the
online
help. I can't seem to figure out why it is so valuable. Why not just
sort
your records when looking to find or isolate on a value. Can someone tell
me
when a VLookup can be more valuable than simply sorting records?

Thanks,
--
Chuck W



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 in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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