Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Text in table

I want to switch text in my 'table' after what value has been choosen in a dropdown.
The dropdown contains 'Toy1' and 'Toy2'
I have a sharepoint list 'TOYS' with the following columns
Title, Cell & Text.
Title is Toy1 or Toy2
Cell A1 or A2 or D4 or .... (you get the point)

Text is the text I want to insert as text in the Checkbox that the Cell tells it to place it in

As we cannot create tables, I created one where I places Checkboxes as a table. Is has 6 columns and 5 rows.
The checkboxes are named Table_A1 to Table_F5 as columns a A..F and rows are 1..5

When selecting in the dropdown, it updatges a collection (COtoys) (used for other things) and my checkbox text property in 'Cell A1' is set to:
If(LookUp( TOYS, And(Title = First(COtoys).Value, Cell = "A1"), Text ) <> "",LookUp( TOYS, And(Title = First(COtoys).Value, Cell = "A1"), Text)),"")

That works like a charm in Cell A1.


Right now I have copied the formula to Cell A2 and manually changed "A1" to "A2", so I'm manually in all 30 cells and I don't wanny do that.


Does anyone have an idea on how to make the formula where the formula can figure out what cell it in?
I have been looking for a formula that can get the Checkbox label "Table_A2" and get the cell reference from there without success.


Community Support
Community Support

Hi @Henrik_Nygaard,


Would you please share your data source, collection and the screenshot of the App screen that you are currently working on?

Also please share what you would like to achieve here, there might be some better method with more information shared.

With your description, I am not able to figure out what you would like to achieve.


Basically, just from my understanding, collect the SharePoint List in a collection, then use the Lookup function to reference the data should be enough.




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,226)