Alteryx Designer Desktop Discussions

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

Sumifs function

Amy123
8 - Asteroid

Hi,


Can anyone help how to write this on alteryx

 

=SUMIFS($B$1:$B$2,$A$1:$A$2,B3,$C$1:$C$2,"<>-")

 

Amy123_0-1636442314501.png

 

Test data

 

Order NumberAccounting colour amountBooking flag
2561895-218,599Closed
2561895218,599Closed
2571480-7,627,360Closed
25714800Closed
25714807,627,360Closed
25714800Closed
2583986-152,859Closed
25839860Closed
2583986-13,500Closed
3 REPLIES 3
Pang_Hee_Choy
12 - Quasar
Sebastiaandb
12 - Quasar

@Amy123  

 

Your Excelformula is a bit weird. Your criteria for range 1 is set at the title order number and only B3 moves along your rows, it's doesn't make to much sense to me. What is your goal? 

 

Do you want to sum the next value in column B  if not 0 value AND if Order number is the same AND Booking flag is the same?

In that case the sum of all @ order 2583986 would not be zero.

 

If you can explain it, i can surely make it for you :-)!

 

Greetings,

 

Seb

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @Amy123,

 

I agree with @Sebastiaandb it's a little difficult to know exactly what you're looking for as the formula doesn't seem to be working logically, but i would be taking an approach along this line:

 

JonathanSherman_0-1636462637866.png

I've attached my workflow for you to download if needed!

 

Kind regards,

Jonathan

Labels