My IF statement isn't importing from excel and can't figure out why
I have what I think is a fairly simple nested if statement that isn't importing into Smartsheet, it just shows blank and I can't figure out the issue. The excel formula is: =IF(ISNUMBER(C2),
IF(AND(ISBLANK(X2), ISBLANK(Y2)), TODAY() - C2 + 1,
IF(AND(ISNUMBER(X2), ISBLANK(Y2)), X2 - C2 + 1,
IF(AND(ISNUMBER(X2), ISNUMBER(Y2)), (X2 - C2 + 1) + (TODAY() - Y2 + 1),
"Invalid Data"))))
Why can't I get it to import? (These are dates I'm working with)
Answers
-
Hello @thilmas
Due to formula syntax differences between Excel and Smartsheet, imported Excel formulas might not function in Smartsheet.
To work around this, store the source sheet formulas as text by removing the equal sign before the formula and then save the sheet. Once in Smartsheet, you can add the equal sign back and modify the syntax to make the formula work.
Melissa Yamada
melissa@insightfulsheets.com
Data made simple, spreadsheets reimagined
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!