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: 4772
Member Since:
July 16, 2010
July 16, 2010
Offline
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: Kevin Campbell, Shaun Del Toro
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1939
SunnyKow: 1432
Anders Sehlstedt: 930
Purfleet: 415
Hans Hallebeek: 354
Frans Visser: 349
David_Ng: 312
lea cohen: 248
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Shaun Del Toro
QkBXoylJZ ionivxwYdRFNFL
kEUeirrVvEo LuuDySmTmIizW
uavBfwotTrMPA NIQkZzprwMG
qVMPnaSzpgZ uaHBwyav
rCkwbAORdf eaYibAkYjfXT
eNvhcbgYvaPRp nImfgnjOk
kwKbBpnpPjgKuhr LSOUORDzhcRqQ
CPUXMYKMkLuXs iAsOmBtNLn
Clive Webb
Forum Stats:
Groups: 3
Forums: 25
Topics: 7095
Posts: 31105
Member Stats:
Guest Posters: 49
Members: 34537
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —