Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Finding the average of date + time

mlail
6 - Meteoroid

I have two columns that i need to take the average of. The two columns are in Date Time format ex. 12/30/18 1:53 AM and 12/30/18 2:08 AM where the average of the two is 12/30/18 2:00 AM.

 

In excel its just a quick average formula but i have tried multiple ways to get the average and just can't seem to get the formula correct. Is there a quicker way than parsing the columns taking the average than bringing the cells back to date time? 

1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus

@mlail,

 

To find the mid-point of two times, try this formula to solve your challenge:

 

DateTimeAdd([date1],datetimediff([date2],[date1],"seconds")/2,"seconds")

 

Cheers,


Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels