Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Best Practices Discussion
- :
- Re: Days until close
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Days until close
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-29-2010 01:35 PM
Hi, Fairly simple question I'm sure for the seasoned SF.com coder.
I'd like to make a formula field that for my opportunities that calculates the number of days from NOW until the specified close date of the opportunity. Kind of like Age ( NOW() - CreatedDate) ), but the opposite direction.
What would the formula be?
Any help would be great, thanks!
prush
Solved! Go to Solution.
Re: Days until close
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-29-2010 01:46 PM
Here you go, you probably want to stop counting once it is closed so I added an IsClosed check.
IF(NOT(IsClosed), CloseDate - TODAY(), NULL)
Re: Days until close
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-29-2010 02:03 PM
Re: Days until close
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-29-2010 02:04 PM
You're welcome, you owe me a beer!
http://beeradvocate.com/beer/profile/863/7971/

