Power Query replicate date in DD/MM/YYYY format

jayjay123

New Member
Joined
Jun 3, 2021
Messages
45
Office Version
  1. 365
Platform
  1. Windows
Hi!
Im new to power query and would love your help!
I have a date in YYYYMMDD format in cell B2, and would like to create a new column A to reflect this date in DD/MM/YYYY format. Is this possible? If so, how can I do this?
Thanks heaps
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
"I have a date in YYYYMMDD format in cell B2", then Excel and PowerQuery will read that as a date.
If you have TEXT formatted to represent a date using the format of "YYYYMMDD", PowerQuery will transform to the Date when you change the data Type.
If you mean to say that you have a number that represents a date using the format "YYYYMMDD", you can transform to Text, then make sure there exist another step, such as rearrange columns, and then change the data type to Date.
 
Upvote 0
Unfortunately in that same column, I have numerical values. So I am unable to transform cell B2 to the "date format".
Is it possible to create a blank column A, then link column A cells to B2 so that the date "DD/MM/YYYY" appears in column A?
 
Upvote 0
That is a design contrary to Excel's design.
Each column is a different "field" of data. Each Field should have only a single data type. This is before you get to working with PowerQuery.
You may be able to differentiate the data and switch them to appropriate columns.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,517
Messages
6,125,287
Members
449,218
Latest member
Excel Master

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