Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Error while transfering a formula from Excel to Smartsheet
Hi!
Someone tried to transfer a formula from excel to smartsheet... The only problem is that the formula is quite long and there is one/multiple error(s) left.
Can someone help? I've found a few ones ( ; instead of , ... WEEKNUM instead of WEEKNUMBER) but I can't get it to work...
Here it is. I colored the different if parts to help when looking at the formula.
=IF(ISBLANK([Kick off Date]51),"",IF(WEEKNUMBER(IF(YEAR([Kick off Date]51+([Timing (weeks)]51*7))-YEAR([Kick off Date]51)=1, [Kick off Date]51+((([Timing (weeks)]51+2)*7), [Kick off Date]51+(([Timing (weeks)]51*7)),1))>51,IF(YEAR([Kick off Date]51+(([Timing (weeks)]51*7))-YEAR([Kick off Date]51)=1,[Kick off Date]51+((([Timing (weeks)]51+2)*7), [Kick off Date]51+(([Timing (weeks)]51*7))+(2*7),IF(YEAR([Kick off Date]51+(([Timing (weeks)]51*7))-YEAR([Kick off Date]51)=1, [Kick off Date]51+((([Timing (weeks)]51+2)*7), [Kick off Date]51+(([Timing (weeks)]51*7))
Comments
-
Hi Etienne-- Would you be able to share this sheet (or a copy) with me at Kennedy.Stomps@Smartsheet.com? I'll be happy to help troubleshoot once I can get a better look at it
-
Your () are mismatched.
This section (near the end of the IF in the WEEKNUMBER)
Date]51+(([Timing (weeks)]51*7)),1))>51,IF(YEAR([
looks odd.
If you could put it into words what you are trying to accomplish, the formula might be simpler to write.
Craig -
My problem is that I actually don't know what they want that formula to do... Someone that doesn't know how it's supposed to be used gave me an excel file containing it and told me to translate to smartsheet...
-
Does the formula work in Excel?
It looks like it wouldn't, but I don't have Excel to test it on.
Craig -
This is the adaptation of the formula for Smartsheet... The excel formula works fine.
-
Can you post the Excel formula?
It might be easier to fix.
Craig
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 405 Global Discussions
- 216 Industry Talk
- 456 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