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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!