Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Software > Spreadsheets   »   Limitations of VLOOKUP

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old Feb 21, 2007, 10:37 AM
Amyunimus
New Member
Amyunimus is offline
 
Join Date: Jun 2006
Posts: 14
Amyunimus See this member's comment history on his/her Profile page.
Limitations of VLOOKUP

I have a column of values that can't be put in ascending order.

20
55
3
61
2
etc.

I want to lookup another value that corresponds to each of these numbers.

1 345
2 568
3 111
4 908
5 786
etc...

However, since the lookup values are not ordered, the VLOOKUP function does not return a value if the lookup value is less than its position in the list.

For example, in the first list "2" would not return a value because it appears 5th on the list, and the function is referencing the array from row 5 and above.

Is there any way to just get a value that corresponds to the lookup number, ordered or not?

Thanks!

Reply With Quote
 
     

Answers
 
 
Old Feb 21, 2007, 10:54 AM   #2  
Computer Expert and Renaissance Man
ScottGem is offline
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 33,676
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
The order of the value being looked up doesn't matter. The syntax of the VLookup is:

VLookup(value, range, offset)

The range is the table you are looking up with the first column being the value to lookup and the second or subsequent columns being the value to return.

So, if the lookup value is 2, then the function will return 568.
  Reply With Quote
 
     
 
 
Old Feb 21, 2007, 11:01 AM   #3  
Science Expert
Capuchin is offline
 
Capuchin's Avatar
 
Join Date: Oct 2006
Location: UK
Posts: 5,236
Capuchin See this member's comment history on his/her Profile page.Capuchin See this member's comment history on his/her Profile page.Capuchin See this member's comment history on his/her Profile page.Capuchin See this member's comment history on his/her Profile page.Capuchin See this member's comment history on his/her Profile page.Capuchin See this member's comment history on his/her Profile page.
Call Capuchin via Skype™ Send a message via MSN to Capuchin
I agree with scott here, I dont remember it needing to be in order for VLOOKUP to work.
  Reply With Quote
 
     
 
 
Old Feb 21, 2007, 01:41 PM   #4  
New Member
Amyunimus is offline
 
Join Date: Jun 2006
Posts: 14
Amyunimus See this member's comment history on his/her Profile page.
Thanks, I just adjusted the range for all cells and it worked.
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Similar Threads
Statute of Limitations
(1 replies)
statue of limitations
(2 replies)
limitations
(1 replies)
using VLOOKUP in excel
(0 replies)
statute of limitations
(6 replies)

Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 03:07 PM.