Solved

Dropdown list = cell in OpenOffice Calc

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

758 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

22 Experts available now in Live!

Get 1:1 Help Now