Hi all,
I have an excel table that has a large number of data, I wonder if it would be possible to do the following: -
If text in column A ends with specific digits found in another table then remove the last 1 or 2 digits would be removed from column A.
Look up Table 1
LW
RP
Y
N
Table 2
Column A Result column
TestLW Test
Test123 Test123
TestY Test
Test90N Test
TestRP Test
Test1567 Test1567
The above example I have highlighted in bold those that would change and those not in bold would not be affected.
Any help would be appreciated. I know there is find and replace or conditional columns but I may need to quickly add more data to the look up table rather than going into the table to amend the formula or steps in the power query.
I have an excel table that has a large number of data, I wonder if it would be possible to do the following: -
If text in column A ends with specific digits found in another table then remove the last 1 or 2 digits would be removed from column A.
Look up Table 1
LW
RP
Y
N
Table 2
Column A Result column
TestLW Test
Test123 Test123
TestY Test
Test90N Test
TestRP Test
Test1567 Test1567
The above example I have highlighted in bold those that would change and those not in bold would not be affected.
Any help would be appreciated. I know there is find and replace or conditional columns but I may need to quickly add more data to the look up table rather than going into the table to amend the formula or steps in the power query.