[Solved] Populate game data with a list

Discuss the spreadsheet application
Locked
ssnewbie
Posts: 1
Joined: Fri May 17, 2024 9:07 am

[Solved] Populate game data with a list

Post by ssnewbie »

i'm an absolute novice/noobie when it comes to messing with spreedsheets but i've had a fixation in trying to create a spreadsheet to track information for a game I play. Long story short I won't to be able to have a dropdown list with a number of options and each of those options would populate information automatically into other cells in the document. i figured out how to make the dropdown list but trying to ask google gemini for help on the formula needed resulted in an error 509. I'd appreciate any help on the matter. if it helps option 1 would populate a result of 100 into a block option 2 would populate a result of 134 and option 3 would populate 169.
Last edited by MrProgrammer on Thu May 30, 2024 9:42 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
OPen Office 4.1 on Windows 11
User avatar
robleyd
Moderator
Posts: 5505
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Populate Data With a LIst

Post by robleyd »

Well error 509 means Operator is missing, for example, "=2(3+4) * ", where the operator between "2" and "(" is missing ,but you haven't given any hint of the formula you are using, no-one can help specifically.

As I understand your question, you want to populate a certain cell - let's say C2 - with a specific value dependent on the value of another cell - let's say A2 - which is selected from a drop down list.
A simple slution would be to use a lookup table to determine the correct value for C1; the attached sample spreadsheet gives a very simple example based on your three mentioned values.
ssnewbie01.ods
(9.2 KiB) Downloaded 58 times
Some useful reading for newcomers to spreadsheets:
[Tutorial] Ten concepts that every Calc user should know
[Tutorial] Absolute, relative and mixed references
[Tutorial] VLOOKUP questions and answers
and others in Calc Tutorials
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
User avatar
Villeroy
Volunteer
Posts: 31363
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Populate Data With a LIst

Post by Villeroy »

ssnewbie wrote: Fri May 17, 2024 9:12 am i'm an absolute novice/noobie when it comes to messing with spreedsheets
No, you can't succeed in my honest opinion.
You want to mimic a database on a spreadsheet, which is possible with several tradeoffs, but still a sophisticated undertaking because it implies that to stretch the capabilities of spreadsheet software. Apart from that, you still need some theoretical concepts about database design because any software dealing with tables presumes certain design concepts.
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
User avatar
MrProgrammer
Moderator
Posts: 5430
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Populate data with a list

Post by MrProgrammer »

ssnewbie wrote: Fri May 17, 2024 9:12 am I'm an absolute novice/newbie when it comes to messing with spreadsheets …
This forum is not a good place for a novice to learn how to use spreadsheets, nor a good place to help you with building a spreadsheet from scratch. It helps people with some knowledge solve problems in spreadsheets they have already created. If you are a novice you should borrow one of the many Introduction to Spreadsheets type of book from your local library. Spreadsheet basics have not changed much in three decades. Any book, even one written 20 years ago for Excel, will help you gain this knowledge. At a basic level, all spreadsheet applications are pretty much the same. You need to learn basics like Number versus Text, Copy versus Move, Cell format versus Value, Absolute Address versus Relative Address, etc. The Ten Concepts tutorial, linked earlier, mentions some of it, but at only 3300 words the tutorial can't provide the detail that a spreadsheet book will. As with many things, the devil is in the details.

ssnewbie wrote: Fri May 17, 2024 9:12 am … to track information for a game I play.
If this is a Role-playing game, we have dozens and dozens of topics about that. As a beginner, you should read them to see what others have done. In the Calc forum type RPG in the Search this forum box by the New Topic button. Spreadsheets are good at doing tedious calculations for you. But they will not be very useful for determining an optimal strategy during play.

ssnewbie wrote: Fri May 17, 2024 9:12 am I want to be able to have a dropdown list with a number of options and each of those options would populate information automatically into other cells
You need the VLOOKUP function, tutorial above, but it will be a mistake to use that without reading a book on spreadsheets first. Any decent book will cover that function, since it is very important.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Locked