msquared99
New member
- Joined
- Aug 30, 2017
- Messages
- 4
- Reaction score
- 0
- Points
- 0
In Power Query I have two columns that I need to cleanup some data. In column 1 I have a company ID# and in column 3 I have a service. What I am trying to do is filter out what I do not need.
Example:
Column 1 Column 3
F1972 Farming
F1972 Tractor
C1002 Farming
C1002 Tractor
H1624 Farming
H1624 Tractor
12456 Farming
13595 Farming
What I want to do is say IF column 1 begins with "F" or "C" or "H" and contains "Farming" True else False. This way in the new custom column I can filter out all the True and end up with the below output:
Column 1 Column 3
F1972 Tractor
C1002 Tractor
H1624 Tractor
12456 Farming
13595 Farming
Thanks for anyone's help.
Example:
Column 1 Column 3
F1972 Farming
F1972 Tractor
C1002 Farming
C1002 Tractor
H1624 Farming
H1624 Tractor
12456 Farming
13595 Farming
What I want to do is say IF column 1 begins with "F" or "C" or "H" and contains "Farming" True else False. This way in the new custom column I can filter out all the True and end up with the below output:
Column 1 Column 3
F1972 Tractor
C1002 Tractor
H1624 Tractor
12456 Farming
13595 Farming
Thanks for anyone's help.