Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Calculate previous rows with condition as sumifs function in excel

lzhang775
7 - Meteor

Hi,

Could any one help me with this calculation formula? I need to calculate in column 3, but have no idea how. column 3 formula in excel would be like this:

lzhang775_0-1604239351185.png

 

Thank you for your help!

Lee

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @lzhang775,

 

I needed to sort the data by customer ID but I hope this isn't an issue.

 

If it is please let me know and I will use Record ID to sort it in the previous order.

 

Emil_Kos_0-1604240173345.png

Output:

 

Emil_Kos_1-1604240195210.png

Please mark my post as an answer if this was something helpful!

Emil_Kos
17 - Castor
17 - Castor

Hi @lzhang775,

 

Thank you for marking my post as an answer!

 

Good Luck with your projects!

lzhang775
7 - Meteor

Hi Black Knight,

This is a very good solution, it works like a charm. Thank you!!

LEE

Labels