Have a table dropdown_lists ; with a bunch of different drop down lists columns inside it.
Have a Column H which basically converts a nested list dropdown list into a single word.
dowpdown_lists Column B value cells make up a "dropdown list app user selects in form, from ref_dropdown in main table.
Wish to pull the matching row value out of Column H and.....
how to add the H cell value from same row from dropdown selected into another user form field automatically???
_____________________________________________________________
I'm sure the answer is out there, however have spent days looking and confusion because so many different types of drop downs and many ways to do it. So many different examples in different orders and combinations. Looked at the continent country example but this doesn't really have to do with pulling a single value from another column. Looked at the State City School example but this is narrowing down to multiple value results.
Just want to pull a single value from a row based on a selected ref dropdown in the same table, same row.
To my understanding Ref is the best way to do a drop down and the most likely way it will transfer if moved to a database format in the future from a sheet?
At first we tried this with Formulas in the sheet but that info does not transfer into appsheet.
Really grateful if someone can help answer; did try to figure out on own, but the more I look the more confused I get.
Have rearranged ref parent child as this is confusing.
Have tried using valid_if , select, any select thisrow.
The drop down in the form works, but not yet just the single value automatically.
An example would be
COLUMN B: Company_Department_Section_SubSection_Result
COLUMN H: And pulling our just the _Result which has already been put as Result in a matching row in the same table; but instead of using the word _result wish to another word which has already been defined in the H column.
Solved! Go to Solution.
Didn't quite understand what it is you are trying to do, so let me explain how to use a Ref column, its dropdown and get access to other row columns.
A Ref column is simply a "pointer" to a ROW in a table. Could be same table but usually is in another table. The "pointer" value MUST MUST MUST always be the row key of the referenced table.
When creating the dropdown for a Ref column, the list values MUST be a list of row keys from the referenced table. So any expression you supply to generate the dropdown list MUST result in a set of row keys.
However, the row keys may not be the desired visible value - especially if they are the preferred random generated values. AppSheet has a feature that allows you to specify a "Label" column in each Table. A single value column (or an image column + a value column) can be marked as the "Label". NOTE: at times it may be that the dropdown label value needs to be several value columns together. In these cases, you would create a dedicated column and set it as the "Label" column in the table.
AppSheet will automatically display the "Label" column value to the user in the dropdown. When a dropdown choice is made, the row key value will be stored in the column when the row is Saved.
Once a dropdown Ref value has been selected, you can use the Ref column to access other row column values through "dereference" or what I like to call "dot" notation.
For example, let's say I have an Order row where I reference the Customers table. I choose a Customer and want to set the Phone number and the shipping address on the Order row. I can use the following dereference expressions:
[Customer].[Phone]
[Customer].[Address]
I hope this helps!
User | Count |
---|---|
15 | |
11 | |
9 | |
7 | |
3 |