View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Sean Timmons Sean Timmons is offline
external usenet poster
 
Posts: 1,696
Default VLOOKUP not calculating - workbook protection issue?

VLookup returns a value based on the match of your first value.
If column 1 of sheet 1 matches with column 6 of sheet 2, it should be, which
would return the same exact value, if appropriate.
If you want to return a separate value, ensure your matching value is in the
first column of the VLOOKUP table, and the valeu to be returned is somewhere
to the right...

=VLOOKUP(A1,'Sheet2'!$F$1:$F$258,1,FALSE)

"DuncanR" wrote:

I am trying to use the VLOOKUP function below, but when I type the formula in, which seems to be correct, no result occurs (not even the normal "N/A) and the cell just lists the formula as I type it. Is there some protection setting that prevents VLOOKUP results that I am missing?

In Sheet1 Col2, I am trying to confirm that the invoice# in Col1 exists in Sheet2 Col6 which has 258 rows of data with 6 columns of data:

Sheet1 Col2:
=VLOOKUP(A1,'Sheet2'!$A$1:$F$258,6,FALSE)

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com