Nested if returning cell value

Hi All,
I'm trying to create a nested if that will bring back the value of another cell if true. I can make it work in Excel but when I try to recreate in Smartsheet, I'm close but not quite there:
Excel Formula:
=IF(I8="Invoice Reconciled",0,IF(I8="Work Not Started",0,IF(I8="Completed/Not Invoiced",H8)))
Smartsheet Formula:
=IF(Status7 = "Invoice Reconciled", "0.00", IF(Status7 = "Work Not Started", "0.00", IF(Status7 = "Completed/Not Invoiced", "Invoice Amount7")))
Screen shot attached! Help please!!
Thanks!
Jacque
Comments
-
It looks like those quotes are throwing off your formula. Try this:
=IF(Status7 = "Invoice Reconciled", 0, IF(Status7 = "Work Not Started", 0, IF(Status7 = "Completed/Not Invoiced", [Invoice Amount]7))
You could also combine the first two instances with OR:
=IF(OR(Status7 = "Invoice Reconciled", Status7 = "Work Not Started"), 0, IF(Status7 = "Completed/Not Invoiced", [Invoice Amount]7))
-
Brian is correct. It was just an improper column reference. Any column name that contains a space, number, or special character needs to be wrapped in [Square Brackets].
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!