Solved

Dropdown list = cell in OpenOffice Calc

Posted on 2010-11-17
3
1,295 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now