[Solved] Difference Between Name Box and Data Range

Discuss the spreadsheet application
Post Reply
dgsarnow
Posts: 35
Joined: Fri May 02, 2008 6:20 pm

[Solved] Difference Between Name Box and Data Range

Post by dgsarnow »

I am working with OpenOffice 3.0rc4 on a Windows Vista environment

I am just looking to clarify the difference between a named range created by going to Data>Define Range and the name created by highlighting cells and typing a name into the Name Box to the left of the formula box. They seem to do the same thing. Can anyone explain the difference to me?

Cheers,

Dave
Last edited by dgsarnow on Fri Apr 03, 2009 10:32 am, edited 1 time in total.
OpenOffice 3.1 | Ubuntu 9.04
User avatar
Hagar Delest
Moderator
Posts: 33428
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Difference Between Name Box and Data Range

Post by Hagar Delest »

It's only a quicker tool to set the names, a kind of 'shortcut'. But exactly the same feature as far as I can see.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Difference Between Name Box and Data Range

Post by acknak »

They both assign a name to a range of cells, but each type of name is distinct.

Data > Define Range defines a "database range" which is treated specially by some features (e.g. filters). That's the only difference I know of. The db range names can also be used in formulas, but they are less conveneint--as Hagar already mentioned.
AOO4/LO5 • Linux • Fedora 23
User avatar
Villeroy
Volunteer
Posts: 31347
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Difference Between Name Box and Data Range

Post by Villeroy »

Database ranges specify a database-like list by means of an absolute range-address and some additional options. If the data are imported from a database, if they are filtered, sorted or subtotalled all the settings are stored with this named thingy, so you can call Data>Refresh in order to refresh the sorting, filtering, subtotals and the import from database.

"Normal" range names, as also known in other spreadsheets, refer to an absolute range like database ranges if you create them in the name box. However they can also ...
- be relative (select A1, Ctrl+F3, NextBelow =A2)
- belong to all sheets (without sheet-name like like NextBelow)
- be constants (MyName ="Villeroy", VAT =0.16)
If a database range happens to have the same name as a "normal" named range, a formula will decide for the latter.

And then there are Insert>Labels>Define..., but that's a another story ...
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Nikos
Posts: 175
Joined: Mon Dec 17, 2007 11:50 am

Re: Difference Between Name Box and Data Range

Post by Nikos »

If a database range happens to have the same name as a "normal" named range, a formula will decide for the latter
Thank you!
LibreOffice 25.2 on Kubuntu 25.4 (flatpak) + LibreOffice 25.2 on Ubuntu 25.4 (flatpak)
Post Reply