Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Way to get quotient integer like QUOTIENT function in excel

DataUser
7 - Meteor

Is there an opposite to the MOD function? I'm looking for some function or way to get the quotient integer (so not including the remainder) like the Quotient function in excel. Is there a Alteryx formula for this or a work around that would yield this result?

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

If you are dealing just with postive values then:

FLoor([Numerator]/[Denominator])

will work

 

For general case, it is a little more work:

Floor(Abs([Numerator]/[Denominator]))*IIF([Numerator]/[Denominator]>0,1,-1)

 

DataUser
7 - Meteor

Great thank you!

Labels
Top Solution Authors