Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If Statement not showing correctly but has no error

Hi,

I have the below statement that shows without error, but is only giving 1 scenario instead of both.

Please assist

=if(Closed_Date =' ' AND [Sbu_Desc]='UNKNOWN'

  ,'Complaint In Progress',

'Known')

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Sorry my mistake.

If(Isnull(Closed_Date) and Wildmatch(Sbu_Desc, 'UNKNOWN'),'Complaint in Progress','Known')


Try this.


Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

6 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You can try this.

If(Isnull(Closed_Date) and Wildmatch(Sbu_Desc = 'UNKNOWN'),'Complaint in Progress','Known')

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thanks but its giving me an error in expression and no result

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Make sure that you have put correct name of the fields.

The expression it self will show where is the mistake by red line.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Its showing a red line at the bracket and comma between UNKNOWN and Complaint in Progress.

'UNKNOWN'),'Complaint in Progress

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Sorry my mistake.

If(Isnull(Closed_Date) and Wildmatch(Sbu_Desc, 'UNKNOWN'),'Complaint in Progress','Known')


Try this.


Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Its working!

Thank you sooooo much 🙂