Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Adding Custom Column - Parsing Existing Column

$
0
0

Hello, I am having below Table with Column1. I need to add a Custom Column (Column2) by Parsing Column1. In below table,the cell values are not in consisten format.I need to parse each value. If current cell value contains "(" then I need to pull Left side of cell value. If current cell contains "/" I need to pull right side of cell value. This is just a sample and I am having lot of variances like this. Up until now, I am using macros. But I want to convert this in to Power Query. Is there any way I can Parse this? I know we cannot user VBA in power Query. Any Input?

 

https://1drv.ms/i/s!AuLElRm7ChiimDSlfUc2pxw1sEl

 

COLUMN1COLUMN2
GZE-ABC-1234(SUBSCRIPTION)GZE-ABC-1234
\XYZ\GZE-ABC-5678GZE-ABC-5678
GZE-DEF-1234(SUBSCRIPTION1)GZE-DEF-1234
\XYZ1\GZE-GHI-5678GZE-GHI-5678

Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>