If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Vlookup fuction

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-11-04, 17:12
tjarvas tjarvas is offline
Registered User
 
Join Date: Mar 2004
Posts: 361
Vlookup fuction

is anything wrong with this function

=VLOOKUP(AC6,Leases!K:L,12,FALSE)

AC6 is the unique number relative to both tables.

K is the column of the unique number

L is the Number I am trying to find

12 is = to L in the alphabet.

????????
Reply With Quote
  #2 (permalink)  
Old 03-11-04, 18:16
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
Just looking at it, there's nothing wrong with it. Putting it in your spreeadsheet example from your other example it worked fine.

What error are you getting?

Smitty
Reply With Quote
  #3 (permalink)  
Old 03-12-04, 07:35
DavidCoutts DavidCoutts is offline
Registered User
 
Join Date: Jan 2004
Location: Aberdeen, Scotland
Posts: 1,067
If you change the Function to this

=VLOOKUP(AC6,Leases!K:L,2,FALSE)

this should work for you
I just replaced 12 with 2

Although L is the 12 letter of the alphabet you are only looking up 2
Columns K and L so the VLOOKUP you suggested was trying to find the
12th Column in the range K:L which dosen't Exist hence #REF! is returned.

Hope this helps

David
Reply With Quote
  #4 (permalink)  
Old 03-12-04, 09:26
tjarvas tjarvas is offline
Registered User
 
Join Date: Mar 2004
Posts: 361
Is it possible to look up two seperate columns while using a v lookup?

Ex: The data is in Coloumn A and D.
Reply With Quote
  #5 (permalink)  
Old 03-12-04, 11:05
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
I think not.

You might have to do nested INDEX/MATCH functions to accomplish this.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #6 (permalink)  
Old 03-12-04, 12:06
texasalynn texasalynn is offline
Registered User
 
Join Date: Jun 2002
Location: Houston, TX
Posts: 116
I like sumproduct - it's easier to understand than the index/match

HTH
texasalynn
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On