Any way to use values in one table from another
Asked by Chasovskikh Kirill:

Hi guys!

i have 2 tables - clients and products.

For each row in table "clients" in column "product" i need to select one (or more) product names from table "products".

[Previous time](https://community.atlassian.com/t5/Confluence-questions/Way-to-merge-tables-data/qaq-p/2091589) there was recommendation for plugin Orderly database , but permission settings of this plugin does not suit us.

Is there any other way to build this construction with related tables ?


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Chasovskikh Kirill](/t5/user/viewprofilepage/user-id/4814824),  

As [@Juliette Lallement _Elements Apps_](/t5/user/viewprofilepage/user-id/4741041) has mentioned, the Excel-like cell data verification (a dropdown list made of the second table and used in the first table) may indeed be a good solution to your case.  

If it happens so that you use our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app, you may do it with the help of the [Table Spreadsheet](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-spreadsheet-macro-83100938.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro.


author: Juliette Lallement _Elements Apps_
body: Hi [@Chasovskikh Kirill](/t5/user/viewprofilepage/user-id/4814824)

Do you absolutely need to have two separate tables?

Could you consider two separate tabs from a spreadsheet document instead?

With the app [Elements Spreadsheet](https://marketplace.atlassian.com/apps/1212486/elements-spreadsheet-for-confluence?hosting=cloud&tab=overview&utm_source=community&utm_medium=referral&utm_campaign=question-2264397) , you can create lists from a selected range of cells containing values and apply these lists to one or several cells.

For example, you can create a spreadsheet document with two tabs:

- one with clients

- one with products

From there, you can create a list from the range of cells containing your product names and apply that list to relevant cells from the clients tab.

Would that work?

Best wishes

comments: author: Chasovskikh Kirill
body: Hi [@Juliette Lallement _Elements Apps_](/t5/user/viewprofilepage/user-id/4741041) !

Thank for the answer!

The main question is permissions. I need to have

- Page A with table Clients, with view and edit permissions for user **abc** , user **xyz**   
- Page B with table Clients, with view and edit permissions for user **def** , user **xyz** - Page C with table Clients, that contains rows from pages (tables) A and B , with view and edit permissions ++only for user **xyz**++

and i need to have anywhere table Products, all values for column Name from these table must be available in all tables Clients in column Product

is it possible to create these functionality with [Elements spreadsheet](https://marketplace.atlassian.com/apps/1212486/elements-spreadsheet-for-confluence?tab=overview&hosting=cloud) ?


author: Juliette Lallement _Elements Apps_
body: I'm afraid you won't be able to set specific permissions with Spreadsheet...


author: Chasovskikh Kirill
body: anyway thank you for reply!


Tags: table

cloud

confluence-cloud

database

filter

table-filter

table-filter-and-charts

table-spreadsheet