Solved

Dropdown list = cell in OpenOffice Calc

Posted on 2010-11-17
3
1,316 Views
Last Modified: 2012-05-10
I want to create a spreadsheet using OpenOffice Calc where each line is like a row in a database.
Each cell should be designed as a dropdown/pulldown list showing values from a predefined column of cells in another tab in the spreadsheet.
When I create a pulldown object it is "floating" around on top of the tab and is not linked toany particular cell. I can't figure out how this is done (or if it is possible).
The main reason for creating this in a spreadsheet and not as a database application is the need to transfer it to my cellphone (and other platforms) where I don't neccesarily have OpenOffice installed.
Please adviise.
0
Comment
Question by:nbtnt1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
BarryTice earned 500 total points
ID: 34157239
nbtnt1 --

It's pretty easy, once you know the trick.

Open a new workbook. Go to Sheet2, and in cells A1:A5, enter these values:
Alpha
Bravo
Charlie
Delta
Edward

Now go to Sheet1. Select a cell in which you would like to have your pick-list. Select Data -> Validity...

On the Criteria tab, select "Cell range" for the Allow field. In the Source field, enter the following:
$Sheet2.$A$1:$A$5

Click OK.

Now when you have that cell selected, you will see a drop-down option to the right of the cell indicating that there is a list available.

You can also use the Error Alert tab of the Select Data -> Validity... window to prevent users from typing a value that's not in the list already, if you so desire.

If you don't want to have to maintain a list of values on a separate tab, you can use the Select Data -> Validity... window and select "List" as the Allow value, defining the list of valid values in that window instead.

The trick is to do it through the Validation mechanism.

Hope this helps!

-- b.r.t.
0
 

Author Closing Comment

by:nbtnt1
ID: 34158361
Works perfect. It was a new angle to solving the problem, but it definitively did the trick. Thanks.
0
 
LVL 7

Expert Comment

by:BarryTice
ID: 34160061
Glad it worked for you, nbtnt1. Thanks for the A!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question