Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Converting HH:MM to just MM

Altrx
5 - Atom

How to convert a column with HH:MM to just minutes 

E.g., I have 1:20 then the output should be 80

1 REPLY 1
jdunkerley79
ACE Emeritus
ACE Emeritus

Two options (using formula tool):

 

 Just the minute part:

ToNumber(Right([HH:MM],2))

(assuming you want as a number otherwise just 

Right([HH:MM],2)

 

Total minutes:

ToNumber(Right([HH:MM],2))+ 60 * ToNumber(Left([HH:MM],2))

 

Quick sample attached

 

Labels
Top Solution Authors