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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,225,382
Messages
6,184,640
Members
453,248
Latest member
levi_15

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