Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- General Development
- :
- Total field of multiple picklists
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Total field of multiple picklists
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-10-2013 12:41 PM
Hi. I am trying to figure out a formula to add up picklist fields to give me a total number. I have 6 different fields with a choice of 0,10,15,or 20% and I want to be able to add up all those and put the total into a new Probablilty Total field. I was working with this formula below and it saves but when I go to the page its won't total up and just gives me an error message.
VALUE(text(Competition__c)) + VALUE(text(Decision_Maker__c)) + VALUE(text(Decision_Timeline__c))
What am I doing wrong?
Re: Total field of multiple picklists
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-10-2013 02:57 PM
Hi,
the formula you created, you are converting picklist value into text and adding text values. sothat it wont work.
You can try like this, it would work.
Create a formula filed of number type.
Use CASE function for calculation.
ex:
CASE(Competition__c,0,0,10,10,15,15,20%,0.2)+
CASE(Decision_Maker__c,0,0,10,10,15,15,20%,0.2)+
CASE(Decision_Timeline__c,0,0,10,10,15,15,20%,0.2)+
Thanks,
SKA

