Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jackoat
 
Posts: n/a
Default Need help with Vlookup


Hi

I am trying to use Vlookup in the following situation but I an an error
result "#N/A". Basically, I have a table that consists of the following
columns

Col 1: Month number: where e.g. "5" represents month no. 5 etc
Col 2: Principal
Col 3: Interest
Col 4: Ending Balance
Col 5: Cumulative interest
Col 6: paid up to year

For col 6, I use the formula
datedif (loan_start,b16,"Y") + datedif(loan_start,b16,"YM")/100 which
gives me a year month format as yr.mth e.g. (10.01 means 10 yr 1 mth,

20.11 means 20 years 11 mth etc)

Now, on ANOTHER sheet, I have a value, a year "20" that I want Vlookup
to find in the above-mentioned table and return the corresponding
cumulative interest in the 5th column. However, I get an #N/A. Could
there be some inconsistency between my "20" in the first sheet and the
"20.00" as given by the formula of column 6 in the 2nd sheet?

Thanks for your help!!

Jack


--
jackoat
------------------------------------------------------------------------
jackoat's Profile: http://www.excelforum.com/member.php...o&userid=25800
View this thread: http://www.excelforum.com/showthread...hreadid=401791

  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 4 Sep 2005 10:57:27 -0500, jackoat
wrote:


Hi

I am trying to use Vlookup in the following situation but I an an error
result "#N/A". Basically, I have a table that consists of the following
columns

Col 1: Month number: where e.g. "5" represents month no. 5 etc
Col 2: Principal
Col 3: Interest
Col 4: Ending Balance
Col 5: Cumulative interest
Col 6: paid up to year

For col 6, I use the formula
datedif (loan_start,b16,"Y") + datedif(loan_start,b16,"YM")/100 which
gives me a year month format as yr.mth e.g. (10.01 means 10 yr 1 mth,

20.11 means 20 years 11 mth etc)

Now, on ANOTHER sheet, I have a value, a year "20" that I want Vlookup
to find in the above-mentioned table and return the corresponding
cumulative interest in the 5th column. However, I get an #N/A. Could
there be some inconsistency between my "20" in the first sheet and the
"20.00" as given by the formula of column 6 in the 2nd sheet?

Thanks for your help!!

Jack


Undoubtedly there is a problem in your VLOOKUP formula. For one thing, (from
HELP) Lookup_value is the value to be found in the FIRST column of the array.

In your description, you are looking for the value in the 6th column and trying
to find the match in the 5th column. You cannot do that with VLOOKUP.

You need to either rearrange your table, so that PdUpToYr is to the left of the
info you are looking for, or use a different approach.

For example, something like:

=INDEX(CumInt,MATCH(H2,PdUpToYr))

where CumInt and PdUpToYr are the cell references for the appropriate columns
might work for you. But read HELP for MATCH so you understand the importance
of the optional argument, and whether that applies in what you want to do.


--ron
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 Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
VLOOKUP Question. StephenAccountant Excel Discussion (Misc queries) 3 July 6th 05 10:28 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
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 06:25 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"