Alteryx Designer Desktop Discussions

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

IF formula within IF formula

Barclaysusercds
8 - Asteroid

Hi, I am trying to re-create this excel formula =IF(C2="",IF(D2="",E2,D2),C2) in Alteryx.

I wrote the below but the formula is only giving me stage 1. The second IF is not working. No error messages appear.

I tried both these formulae

Please can you help. Thanks in advance.

 

IF [Stage 1 DataLens Trade ID matched]="" THEN (IF [Stage 2
Business mapping]="" THEN [Stage 3 Assumption based] ELSE [Stage 2
Business mapping] ENDIF) ELSE [Stage 1 DataLens Trade ID matched] ENDIF

 

IF [Stage 1 DataLens Trade ID matched]="" THEN IF [Stage 2
Business mapping]="" THEN [Stage 3 Assumption based] ELSE [Stage 2
Business mapping] ENDIF ELSE [Stage 1 DataLens Trade ID matched] ENDIF

16 REPLIES 16
Barclaysusercds
8 - Asteroid

I am trying to upload an example but it's not allowing me to upload excel. It's taking a very long time.

binuacs
20 - Arcturus

@Barclaysusercds can you copy paste few records

Barclaysusercds
8 - Asteroid

Barclaysusercds_0-1652802753701.png

 

binuacs
20 - Arcturus

@Barclaysusercds i used teh same formula and it seems to be working

 

 

binuacs_5-1652803114813.png

 

grazitti_sapna
17 - Castor

@Barclaysusercds, getting the same result.

grazitti_sapna_0-1652803566376.png

 

Thanks!

Sapna Gupta
Barclaysusercds
8 - Asteroid

Thanks all

grazitti_sapna
17 - Castor

@Barclaysusercds, could you please test my workflow too, if it works in your scenario please mark it as a solution too!

 

Thanks!

Sapna Gupta
Labels