Custom Column For Matching Values

radonwilson

Board Regular
Joined
Jun 23, 2021
Messages
50
Office Version
  1. 2019
Platform
  1. Windows
  1. In Trans_Type Col, I have 3 transaction types i.e. Order, Shipping Services & Refund.
  2. Now, some Order_IDs of Order (Trans_Type) are matching with Refund (Trans_Type), I want to tag these matched as "Found" and the rest as "Unfound" in Custom Column.
How to create a custom column in a power query?

Demo.xlsx
ABC
1Trans_TypeOrder IDHelper/Custom Column
2Order111Not Found
3Shipping Service111Not Found
4Refund999Found
5Shipping Service222Not Found
6Order222Found
7Order333Not Found
8Order444Not Found
9Order555Found
10Order666Not Found
11Order777Found
12Order888Not Found
13Order999Found
14Refund777Found
15Shipping Service333Not Found
16Shipping Service444Not Found
17Shipping Service555Not Found
18Shipping Service999Not Found
19Refund222Found
20Refund555Found
21Refund2121Not Found
22Shipping Service666Not Found
23Shipping Service777Not Found
24Shipping Service888Not Found
25Refund4242Not Found
26Refund3939Not Found
27Refund5757Not Found
Sheet1
 
I am already following his playlist, he is fantastic.
One of the best PQ tutorials is a full college level class - Full Advanced Data Analysis & BI Class (MSPTDA). Power Query. I highly recommend it. It's currently 83 videos, and nearly all have start and end workbook samples to download as well as data and PDFs as needed. The channel is amazing. Don't be fooled by how old the videos are, they still teach the basic and even high level skills needed for PQ. You might want to check out the channel itself. Mike is one of the best with PQ that I've seen
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,958
Messages
6,175,636
Members
452,662
Latest member
Aman1997

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top