View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default VLOOKUP Function

Hi,

With the range correct theres nothing wrong with the formula so if it's
returning 0 then it isn't finding a match for L2 in the lookup array. Do a
manual check. Copy your value from L2 andpaste it into a cell in 'Charges'.
Rember Copy and paste don't type it.

manually find a match in column A an enter this formula in a cell =A10=H10
If they really match it will return TRUE, I suspect it will return False and
the likely culprits are spaces.

Mike

"infinite1013" wrote:

I'm not sure if this helps, but when i open the argument box, it shows that
the VALUE IF FALSE= #N/A in red.

"Mike H" wrote:

Hi,

You have a single column array in your vlookup 'CHARGES'!A$1:A$250
and are trying to return something from column 5. Should it be this
'CHARGES'!A$1:E$250


Mike


"infinite1013" wrote:

I have 2 worksheets. I am trying to use a number(L2) on sheet 2 to reference
column A on sheet 1 and return a percentage from column 5 on the sheet 1. In
order to avoid the #N/A result, I am using the following formula, but getting
0.00% returned when I know there should be another result. This formula has
worked for me before, but can't figure out why it isn't working this time.
Please help! The formula looks like this:

=IF(ISERROR(VLOOKUP(L2,'CHARGES'!A$1:A$250,5,FALSE )),0,VLOOKUP(L2,'CHARGES'!A$1:A$250,5,FALSE))