Excel Power Query-Merge two columns with distinct value

aaleem

Board Regular
Joined
Sep 26, 2014
Messages
56
Office Version
  1. 2016
HI,

i have two columns coming from different tables. both are for Invoice Date, i want to merge these two columns to a new column with distinct date, Example
Column1 Column 2 Custom Column (new)
Invoice_Date Invoice Date New Date
19/04/2021 19/04/2021 19/04/2021
27/01/2021 null 27/01/2021
17/11/2020 17/11/2020 17/11/2020

thanks
aleem
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Unless I have misunderstood the requirement then a conditional column will do it.
Add Column > Conditional Column

I have done if not column is "not null" use that column otherwise use the other column.
You could of course reverse that with is "is null" use "other" column else use this column.

1623485202702.png
 
Upvote 0
Solution
Thanks, Alex, this is exactly what I was looking for. Thanks for your help
 
Upvote 0

Forum statistics

Threads
1,214,780
Messages
6,121,527
Members
449,037
Latest member
tmmotairi

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