
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: 4619
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: Mynda Treacy, Peter Venkatrao, QSolutions Group
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
Hans Hallebeek: 185
Newest Members:
Kate Dyka
Kwaje Alfred Mogga
thong nguyen
Appiagyei Kofi Frimpong
Hilary Burchfield
Richie Wright
Adel Kock
Barbara Murray
Doug Milne
Siobhan Stringer
Forum Stats:
Groups: 3
Forums: 24
Topics: 6546
Posts: 28655
Member Stats:
Guest Posters: 49
Members: 32832
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —
