Forum Discussion
Delete text in one column from another column (variable)
Hello guys,
I have the following topic.
I have a table with the first two columns (First one: postal code, city, district of the city, sometimes the street and number, information about km which should be deleted).
The goal should be the last column:
| 46145 Oberhausen (Sterkrade-Mitte)14,2 km | 14,2 km | 46145 Oberhausen |
| 41061 Mönchengladbach (Stadtmitte), Hindenburgstraße47,6 km | 47,6 km | 41061 Mönchengladbach Hindenburgstraße |
| 41236 Mönchengladbach (Rheydt), Hauptstraße 20049,4 km | 49,4 km | 41236 Mönchengladbach Hauptstraße 200 |
Sometimes I have only the zip code and city (Row 1), sometimes the name of the street (Row 2), sometimes the whole adress with the number of the street, but no space between the information out of column 2 (Row 3).
So I have to delete the text from column 2 out of column 1.
Do you know how I can achieve that?
Thanks in advance!
2 Replies
- PhilipTreacy
Super User
Hi Chris_Ka123
I'm confused. You say the desired result is what's shown in Column 2. But then you say you need to delete the text in Col 2 from Col 1??
Regards
Phil
- Chris_Ka123New Member
Hi PhilipTreacy , I think the format of the created table was not so great here. Sorry for that!
As a screenshot it would be easier to see:
So column 1 + 2 is available, column 3 should be the goal.
Br,
Christopher