OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

vlookup strange result, same result duplicated till diff...

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
patll
General User
General User


Joined: 23 Jun 2008
Posts: 9

PostPosted: Wed Jul 13, 2011 9:31 pm    Post subject: vlookup strange result, same result duplicated till diff... Reply with quote

i have oo3.2.0 and worked thru learning how to use the VLookup. I seems to work, yet as the formula goes down a col, when it hits a positive criteria it works, then (this is what is strage) every formula down issues the same result until a new criteria is met then the formula does it again and continues to repeat the result of the next met criteria(even though that row index doesn't match anything)

search criteria is 1st col, the array $A$1:$C$64, the index is 3 (for 3rd col the result will come from if matched and thus the location of the formula in the 3rd col and copied down the rows for 1600 rows to match/fill in the result in col 3 when the criteria is met for that row.
=VLOOKUP(A116;$A$1:$C$64;3)

How to eliminate the duplicate results in each row even though there is no criteria match for that row?

any help is appreciated
Thanks
P
Back to top
View user's profile Send private message AIM Address
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Thu Jul 14, 2011 1:15 am    Post subject: Reply with quote

No, it does not work this way unless you add the 4th parameter.
VLOOKUP(what ; where ; which ; 0)

It is the same matter with all spreadsheets since 20 years at least.
_________________
Rest in peace, oooforum.org
Get help on http://forum.openoffice.org
Back to top
View user's profile Send private message
patll
General User
General User


Joined: 23 Jun 2008
Posts: 9

PostPosted: Thu Jul 14, 2011 7:48 pm    Post subject: Reply with quote

Villeroy wrote:
No, it does not work this way unless you add the 4th parameter.
VLOOKUP(what ; where ; which ; 0)

It is the same matter with all spreadsheets since 20 years at least.


Thanks that seemed to work, however the help file says it, the 4th parameter is optional.
Back to top
View user's profile Send private message AIM Address
gerard24
OOo Enthusiast
OOo Enthusiast


Joined: 08 Jul 2011
Posts: 100
Location: France

PostPosted: Thu Jul 14, 2011 10:29 pm    Post subject: Reply with quote

patll wrote:


Thanks that seemed to work, however the help file says it, the 4th parameter is optional.

Optional doesn't mean Unnecessary, nor Useless. Smile
_________________
LibreOffice 3.5.0 on Windows Vista
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group