
Gli Arias
Member
Members

Forum Posts: 7
Member Since:
May 2, 2021
May 2, 2021

Hi, All
I would like to seek help on how can I manage this scenario. In the attached file, I have column A "Date Creation". Some of those rows do not have any dates. For those without dates, the return would be the date today *excel function TODAY()*.
Not really sure if this is doable in power query.
I hope that someone can help me out on this.
Thank you!

Mynda Treacy
Admin

Forum Posts: 4524
Member Since:
July 16, 2010
July 16, 2010

Hi Gli,
No file attached. You need to click the 'start upload' button after selecting your file.
Anyhow, you can use the following formula to insert the current date into the query:
=Date.From(DateTime.LocalNow())
If you want to only populate this in cells that don't have a date you could use something like this via Add Custom Column:
= if [Date Creation] = null then Date.From(DateTime.LocalNow()) else [Date Creation]
Mynda

Answers Post
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Louis Muti
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 218
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Blair Gallagher
Brandi Taylor
Hafiz Ihsan Qadir
Gontran Bage
adolfo casanova
Annestine Johnpulle
Priscila Campbell
Jeff Mikles
Aaron Butler
Maurice Petterlin
Forum Stats:
Groups: 3
Forums: 24
Topics: 6369
Posts: 27852
Member Stats:
Guest Posters: 49
Members: 32359
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
