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

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))