[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
Spankyf
Newbie

Joined: 29 May 2012
Posts: 4

 Posted: Tue May 29, 2012 8:40 am    Post subject: [Solved] Iferror from excel in Calc? 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
Villeroy
Super User

Joined: 04 Oct 2004
Posts: 10106
Location: Germany

 Posted: Tue May 29, 2012 8:44 am    Post subject: Same as with Excel XP: IF( ISERROR(this) ; that ; other )_________________Rest in peace, oooforum.org Get help on https://forum.openoffice.org
Spankyf
Newbie

Joined: 29 May 2012
Posts: 4

 Posted: Wed May 30, 2012 11:51 am    Post subject: Thanks, got it to work eventually.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
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