Hi,
I want to insert a formula into a label that when a Building name is selected from a dropdown, the formula will look up the building from a Sharepoint list and return the value in a column determined by another separate label.
Below is my Sharepoint List Data.
Building Name | 2017 | 2018 | 2019 |
Building 1 | 100 | 400 | 700 |
Building 2 | 200 | 500 | 800 |
Building 3 | 300 | 600 | 900 |
I have set up the dropdown to show the options Building 1, 2 and 3, and the below formula works fine
ComboBox1.Selected.'2018'
However, I want to change “’2018’” to the value in Label 1, which for now say is 2019. I have tried the below formula, however this causes an error.
ComboBox1.Selected.'Label1'
Please can someone advise me what to change my formula to instead of “’Label1’”.
Example below
Data
Drop down value = Building 2
Label = 2019
Answer
Label with Formula = 800
Thanks