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. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Division between two different lines and cell

hendricksk
7 - Meteor

Is there a way to divide cells from different lines and rows? I was to divide EBITDA $/day 298 by Eggs - Ave oz/day 41. The result should be 7.26.

Products   $/oz         ave oz/day     $/day           $/month
Cake         76            39                  3043           94342
Eggs          76           41                  3199           99178
Icing          97.7        23                   2294          71123
Pudding    106         16                  1732            53703
EBITDA      7.12                            298              9262

I tried a nested IF Then statement but is in error.

 

IF StartsWith([Products], "EBITDA") THEN (ToNumber([k$/Day]/ StartsWith([Products], "Eggs")[ave oz/day])) ELSE " " ENDIF

3 REPLIES 3
griffinwelsh
12 - Quasar

@hendricksk Easiest way to approach this is to use the transpose and cross tab tools for your calculations. See the attached solution

hendricksk
7 - Meteor

Thank  you!

griffinwelsh
12 - Quasar

@hendricksk please mark this thread solved if my solution works for your usecase.

Labels
Top Solution Authors