Gli Arias
Member
Members
Forum Posts: 7
Member Since:
May 2, 2021
May 2, 2021
Offline
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: 4703
Member Since:
July 16, 2010
July 16, 2010
Online
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, Carol Egan-Davis
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1917
SunnyKow: 1432
Anders Sehlstedt: 900
Purfleet: 414
Frans Visser: 346
David_Ng: 306
Hans Hallebeek: 289
lea cohen: 246
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Jan Elenbaas
Ranjeet Wankhade
Sugata Maity
Karen McCarron
Amanda Zibell
Kevin Sanderson
wer klaus
Richard Gower
Sanket Rathod
Tung Vo
Forum Stats:
Groups: 3
Forums: 24
Topics: 6879
Posts: 30150
Member Stats:
Guest Posters: 49
Members: 33697
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —