r/ExcelPowerQuery • u/AndAbcdefu • Jul 12 '24
How can you get calculation of days when date is coming from same column?
I have 3 columns as the following:
Log1, Log2, AuditDate
How do you calculate date difference from Audit Date column when the other columns need to meet a condition such a as when Log1 = “green” AND Log2 = “red” then calculate the difference in days from AuditDate column?
1
Upvotes
1
u/declutterdata Jul 13 '24
What difference do you mean? AuditDate to Today?
So you don't want a new column with the difference but the audit column edited?
2
u/ThunderJenkins Jul 13 '24
I'm confused. Could you post some example data?