Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Amnon Wilensky
 
Posts: n/a
Default VlLOOKUP function with MATCH

Hi,

I tried to use the VLOOKUP function with MATCH to locate the price of
specific type of a pipe by type and height (see table enclosed). But as you
can see the result is wrong. In some cases, for instance, type 150/150 gives
the correct answer while pipe type 120/180 gives wrong answer.

What is wrong?

Using Office XP

Thanks,

Amnon


--


---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"

Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com





  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

Without looking into your attachmentn I am guessing that vlookup probably
needs to lookup an exact match instead of approximate and this you can
achieve by inserting a 0 after the column number as follows:-

=vlookup(lookup_value,lookuprange,columnnumber,0)

Notice a 0 in the formula above

most people won't open an attachment So next time submit the actual formula
by pasting it in the body of the message
If the above does not resolve post your formula.



"Amnon Wilensky" wrote in message
...
Hi,

I tried to use the VLOOKUP function with MATCH to locate the price of
specific type of a pipe by type and height (see table enclosed). But as
you can see the result is wrong. In some cases, for instance, type 150/150
gives the correct answer while pipe type 120/180 gives wrong answer.

What is wrong?

Using Office XP

Thanks,

Amnon


--


---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"

Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com






  #3   Report Post  
FxM
 
Posts: n/a
Default

Hi Amon,

something like the following should work :
=INDEX(D6:H18,match(E21,C6:C18,0),match(E23,D5:H5, 0))

HTH
FxM



Amnon Wilensky a écrit :
Hi,

I tried to use the VLOOKUP function with MATCH to locate the price of
specific type of a pipe by type and height (see table enclosed). But as you
can see the result is wrong. In some cases, for instance, type 150/150 gives
the correct answer while pipe type 120/180 gives wrong answer.

What is wrong?

Using Office XP

Thanks,

Amnon


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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Match Function Problem - Won't Find Certain Numbers PE Excel Discussion (Misc queries) 2 May 9th 05 03:53 PM
I want to use the MATCH function with the AVERAGE function but I . Miguel Excel Worksheet Functions 2 April 23rd 05 05:29 PM
Match Function arguments Stan Altshuller Excel Worksheet Functions 3 March 11th 05 08:48 PM


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