You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/06/07 16:26:22 UTC

DO NOT REPLY [Bug 29426] New: - VLOOKUP Results in #VALUE!

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29426

VLOOKUP Results in #VALUE!

           Summary: VLOOKUP Results in #VALUE!
           Product: POI
           Version: 2.0FINAL
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: skrajesh@netzero.com


I am trying to use the following formula in my java program:
cell.setCellFormula("VLOOKUP(A2, A1:Z2, 2, FALSE)");
The result of the above formula is #VALUE!.

But if I replace the first argument of the vlookup with an actual value instead 
of cell reference it works fine.
cell.setCellFormula("VLOOKUP(\"Test\", A1:Z2, 2, FALSE)");

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org