Gos-C
Active Member
- Joined
- Apr 11, 2005
- Messages
- 258
- Office Version
- 365
- 2016
- Platform
- Windows
Hello,
I have a column with quantity having the unit of measure tacked on to it:
Column1
25g
50g
100g
25g
100g
100ml
25g
25g
25g
100g
10g
1kg
I can easily split the quantity and unit of measure, in Excel for Microsoft 365, using:
However, when I use the same M code in Excel 2016, it does not work.
Any help, please.
Thanks,
Gos-C
I have a column with quantity having the unit of measure tacked on to it:
Column1
25g
50g
100g
25g
100g
100ml
25g
25g
25g
100g
10g
1kg
I can easily split the quantity and unit of measure, in Excel for Microsoft 365, using:
Power Query:
= Table.SplitColumn(#"Changed Type", "Column1", Splitter.SplitTextByCharacterTransition({"0".."9"}, (c) => not List.Contains({"0".."9"}, c)), {"Column1.1", "Column1.2"})
However, when I use the same M code in Excel 2016, it does not work.
Any help, please.
Thanks,
Gos-C