Solved

Dropdown list = cell in OpenOffice Calc

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
can excel files with data model work in excel 2010? 3 41
Modify Text File with Excel Macro 13 51
Excel - Active X Checkboxes Groups 45 36
NEED TO COUNT THE PAIR 12 14
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

752 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