Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JulieD
 
Posts: n/a
Default

Hi

this function is used all the time, often to overcome the limitations of the
IF statement ... for example, say you are creating an invoice workbook ..
you have all your products and their prices on sheet 2 ... on sheet 1 you
want to select the product the customer wants and have the price
automatically fill in ... this is where VLOOKUP comes in

the four parameters of VLOOKUP are (in my words):-
=VLOOKUP(thing_to_look_up,table_with_item_and_answ er,column_number_of_answer,approx_match?)

so in my above example the cell reference of the product the customer wants
on sheet 1 (say A5) is my "thing_to_look_up"
sheet 2 columns A & B (where i have my products & prices) is the
"table_with_item_and_answer"
column B has the information i want returned by the formula, so 2 (2nd
column of table) is my "column_number_of_answer"
and
as i want an exact match i type 0 or FALSE in the fourth parameter ...
giving me
=VLOOKUP(A5,Sheet2!$A$2:$B$500,2,0)

the HLOOKUP works the same way, except that instead of having the data in
two columns i have it in two rows, top row is the product and 2nd row is the
price (but as there's only 256 columns i'ld have problem as i've got 499
products).

hope this makes some sense.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Phlogiston2312" m wrote in
message . com...

Does anybody know what vlookup and hlookup do, and how do you determine
the variables that need to be imputted into the formula. I read the
help, and it left me scratching my head, and seemed very cryptic.
What, if any is the "REAL WORLD" application of this function???


--
Phlogiston2312



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
lookup combine vlookup with hlookup Doug Excel Worksheet Functions 2 April 23rd 23 11:42 AM
Can vlookup or hlookup look to other worksheets within a workbook. flgc54 Excel Worksheet Functions 1 March 12th 05 12:31 AM
How do I find a value in an array (VLOOKUP? HLOOKUP?) M Skabialka New Users to Excel 2 March 11th 05 02:52 AM
VLOOKUP or HLOOKUP?? reno Excel Worksheet Functions 0 December 20th 04 07:03 PM
formula using both vlookup & hlookup xFreeAdvice Excel Worksheet Functions 2 November 17th 04 11:19 PM


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