I am running Windows Vista 64 and OOo 3.0.1 (just updated it 2 nights ago to make sure I was on the latest version). I am coming to this forum because I think either I am missing something basic in my LOOKUP function call or maybe lookup is not what I need. So here's my scenario:
I have a multiple page spread sheet. The first page is a form where a user would fill in certain cells on the form (some of them are merged). Based on what they fill out, I need to have another cell perform a lookup against a column of data and return the appropriate value that is contained in a corresponding column.
Code: Select all
=IF(E8<8;"";LOOKUP(E8;Data.A25:A35;C25:C35))
The IF portion of the formula works fine. If I take out the IF portion of the formula I still get #N/A as the result. I have verified that the value I am putting into cell E8 can be found in the range of cells A25 to A35 on the Data worksheet using the find feature.
Is there a program option I have turned on (or off) that shouldn't be? Maybe a cell formatting problem (text instead of number, etc)? Is LOOKUP what I should be using for what I want? I have used excel in the past with the LOOKUP function and also in earlier versions of OOo. However, the only difference I can see in this is that I created this file brand new in OOo instead of converting it from excel, which I have done in the past. Any help would be greatly appreciated, though I suspect I may be a little embarrassed for missing something simple.
