What is wrong with my nested IIF THEN ELSE statement?!
Allison Jones
✭✭✭✭
I typically do not have issues with calculations  I am sure that this is a really stupid mistake I am making  but what I am doing wrong with this nested IIF THEN statement?!
iif ([Data Type] = "Income Statement"
THEN iif([Data Type]="Net Sales"
THEN [Value] else "" END))
Tags:
Comments

I dont know much about iif or how it differs from if but i think the problem is your parenthesis. did you try the following?
iif ([Data Type] = "Income Statement" )
THEN iif([Data Type]="Net Sales" )
THEN ( [Value] else "" END)
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 63.8K Get Help
 406 Global Discussions
 218 Industry Talk
 457 Announcements
 4.7K Ideas & Feature Requests
 141 Brandfolder
 136 Just for fun
 57 Community Job Board
 459 Show & Tell
 31 Member Spotlight
 1 SmartStories
 297 Events
 37 Webinars
 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!