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

Author Message
DavidWilliams(Toronto)
Newbie

Joined: 20 Mar 2007
Posts: 3

 Posted: Tue Mar 20, 2007 12:44 pm    Post subject: Struggling with named cells... I thought I'd try what seemed like a trivial experiment with named cells. What am I doing wrong? I have 2 cells - A1 & A2, both contain 1 If I insert the formula =SUM(A1,A2) I get the answer 2 Now, if I define a name for A1 (insert->names->define), say fred and enter insert a formula: =SUM(fred,A2) I get #NAME? in fact, even if I try =SUM(A1,A2) again, I still get #NAME? If instead I use =fred+A2, again I get 2 What's going on here. Is this a bug or am I missing something? Thanks in advance for any help!
Sliderule
Super User

Joined: 29 May 2004
Posts: 2489
Location: 3rd Rock From The Sun

Posted: Tue Mar 20, 2007 1:03 pm    Post subject:

DavidWilliams(Toronto):

The SUM function, must use ; ( semicolon ) to separate each parameter ( not a comma as in certain other spreadsheet products ).

Therefore, try this:
 Code: =SUM(fred;A2)

Just for your information . . . you can see the Range Names available in your Calc file by using the Navigator. Press F5 and click on Range names to see the names you have defined.

I hope this helps, please be sure to let me / us know.

Sliderule
DavidWilliams(Toronto)
Newbie

Joined: 20 Mar 2007
Posts: 3

 Posted: Tue Mar 20, 2007 4:02 pm    Post subject: Thanks, I guess I missed that little detail! So, having got over that hurdle, I immediately his another snag when I tried to use a named cell as part of a range, for example: =SUM(fred:A2) gives the same error #NAME? If I can solve this one, I think I'll be able to convert everything from Excel...
noranthon
Super User

Joined: 07 Jul 2005
Posts: 3318

 Posted: Tue Mar 20, 2007 4:19 pm    Post subject: You cannot do that. You have to use cell addresses to define a range. You can give a name to a range._________________ search forum by month
DavidWilliams(Toronto)
Newbie

Joined: 20 Mar 2007
Posts: 3

 Posted: Tue Mar 20, 2007 4:46 pm    Post subject: OK, thanks a lot for the quick responses. This seems like a pretty disappointing limitation on using cell names...
 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