Power Query - Blank Cell = Cell of Another Column

Gsrgofass

New Member
Joined
Nov 8, 2019
Messages
39
Office Version
  1. 2016
Platform
  1. Windows
Hello,

In power query, I have a partially populated column A.
I would like to populate Column C using statements:

=IF [Column A] has an entry, then fill [Column C] with that information.
=IF [Column A] is null or blank, then fill [Column C] with [Column B] information

Resulting in Column C having all cells populated.

BEFORE
1680030651085.png


AFTER
1680030731288.png


Thank you
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Power Query:
=if [Week 1]= null then [Week 2] else [Week 1]

In Add Column, set the column name to Work Done and then apply this line of code
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,633
Members
452,661
Latest member
Nonhle

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