In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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