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

[Solved] Iferror from excel in Calc?

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


Joined: 29 May 2012
Posts: 4

PostPosted: Tue May 29, 2012 8:40 am    Post subject: [Solved] Iferror from excel in Calc? Reply with quote

Hi there,

I can't figure out how I can convert my excel formula into something similar in openoffice. Here's how the excel formula looks:

=IF(SUMPRODUCT(--($B$2:$C2=B3))<1,1000,IF(IFERROR(LOOKUP(2,1/($B$2:$B2=B3),ROW($A$1:$A1)),0)>IFERROR(LOOKUP(2,1/($C$2:$C2=B3),ROW($A$1:$A1)),0),INDEX($L$2:$L2,LOOKUP(2,1/($B$2:$B2=B3),ROW($A$1:$A1))),INDEX($M$2:$M2,LOOKUP(2,1/($C$2:$C2=B3),ROW($A$1:$A1)))))

Complicated looking but I just can't figure out how to work w/o IFERROR which isin't in openoffice. I'm sure there is an easy way around this but can't figure it out. Any help would be appreciated. Cheers.


Last edited by Spankyf on Wed May 30, 2012 11:51 am; edited 1 time in total
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Tue May 29, 2012 8:44 am    Post subject: Reply with quote

Same as with Excel XP:
IF( ISERROR(this) ; that ; other )
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
Spankyf
Newbie
Newbie


Joined: 29 May 2012
Posts: 4

PostPosted: Wed May 30, 2012 11:51 am    Post subject: Reply with quote

Thanks, got it to work eventually.
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