Adding a column with a fixed value from a cell in an Excel file

ARamirez1970

New Member
Joined
Aug 22, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I need to add a column to a PowerQuery that is filled with the same value (in my case, a specific date) contained on a cell in the source Excel file. How do I do that?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Add Column > Custom Column

Name the column, and enter = "08/22/2022" (or whatever your preferred date) as the custom formula - the quotes are important, or it will recognize your entry as a math problem. Then, under the Home tab, choose Data Type: Date
 
Upvote 0
Edit: I just realized that you want to pull the date from a cell in the source file. There would be different methods, depending on whether the date is just sitting in a cell, or if it is part of a table.
 
Upvote 0

Forum statistics

Threads
1,223,634
Messages
6,173,475
Members
452,516
Latest member
archcalx

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