Skip to main content
I have a picklist: Change_Type__c and would like to automatically populate a different field Man_Hours__c based on the value selected from the picklist.

 

The values are;

 

Report

 

Dashboard

 

Email Template

 

Field

 

Case Type

 

Page Layout

 

Othe (please specify)

 

I would like to auto populate the field with a number based on the above values;

 

Report 2.25

 

Dashboard 4.75

 

Email Template 2.50

 

Field 1.25

 

Case Type 2.50

 

Page Layout 2.50 

 

Othe (please specify) 2.00

 

Can anyone suggest the formula I need to write to achieve this please?

 

 
5 件の回答
  1. 2017年1月18日 15:28
    Give this a try:

     

     

    CASE(Change_Type__c,

    "Report", 2.25,

    "Dashboard", 4.75,

    "Email Template", 2.50,

    "Field", 1.25,

    "Case Type", 2.50,

    "Page Layout", 2.50,

    "Other (please specify)", 2.00,

    0)

     

    PS.  Double-Check the spelling and punctuation of the picklist values so the Formula matches exactly
0/9000