• Angela Petrignano
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

Hello,

I need help to create a field 'Total Cost Savings 2015'  (TCS15__c) that will display the sum of cost savings for every employee in my department in 2015

To keep track of relevant data, each person in the department is listed as a Contact under the Parent company and each contact record has a required currency field called 'Cost Savings' (API Name: Savings__c)

To easily filter our departmental employees in the contact record, there is also a 'Type' field in every contact record, and the value assigned to employees in our department is 'Administration' (API Name: Type__c)

So for example contact records typically look like this:

Company: ABC Widgets
Contact: Jack White
Type: Administration
Cost Saving: 45,000

Company: ABC Widgets
Contact: Jack Black
Type: Administration
Cost Saving: 55,000

Company: ABC Widgets
Contact: Jack Purple
Type: Administration
Cost Saving: 100,000

What we need to do is have a field-formula in the Contact Record (TCS15__c) that will 

(a) identify the contacts in the administration deartment based on the API Name (and exclude contacts from other dept's)

(b) pull the 3 figures: €45,000, €55,000 and €100,000 

(c) sum the 3 figures and display €200,000 in the read only 'Total Cost Savings 2015'  (TCS15__c) field

I hope I've been able to convey this correctly and I hope that someone will be able to help!

Thanks,
Angela