| View previous topic :: View next topic |
| 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! |
|
| Back to top |
|
 |
Sliderule Super User


Joined: 29 May 2004 Posts: 2474 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:
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 |
|
| Back to top |
|
 |
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... |
|
| Back to top |
|
 |
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 |
|
| Back to top |
|
 |
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... |
|
| Back to top |
|
 |
|