SlideShare a Scribd company logo
Formula Ninjas
Deepa Patel, Halak Consulting, LLC, President
@halakconsulting
Steve Molis, Epsilon, Salesforce Administrator
@stevemorforce
Francisc Pindar, Radnip, Technical Consultant
@radnip
Safe harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results
expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be
deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other
financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any
statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any
litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our
relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our
service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to
larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is
included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent
fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor
Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently
available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions
based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these
forward-looking statements.
Dreamfoce 2013 Formula Ninjas
Deepa Patel
Halak Consulting, LLC
@halakconsulting

Recommended for you

Process Builder and Flow: An Admin's Trigger by Rich Englhard
Process Builder and Flow: An Admin's Trigger by Rich EnglhardProcess Builder and Flow: An Admin's Trigger by Rich Englhard
Process Builder and Flow: An Admin's Trigger by Rich Englhard

This document discusses Process Builder and Flow in Salesforce and how they can be used to automate workflows and processes. It provides examples of how Process Builder allows updating related records through lookup fields and child objects, and how Flow enables more complex conditional logic and processes that can be triggered by button clicks. The document recommends Process Builder and Flow as an admin's tools to create automated workflows and processes without code, acting as a stepping stone to becoming a developer.

Webinar Coding for Salesforce Admins
Webinar Coding for Salesforce AdminsWebinar Coding for Salesforce Admins
Webinar Coding for Salesforce Admins

Every Admin can benefit from knowing a little code! Join us to learn why it’s so beneficial to know how to code in the “Lightning” era, how to write your first Apex trigger, and your specific steps to continue learning Apex.

salesforce admin
Fremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
Fremont Salesforce Community Group - Salesforce Labs Day - Flow TemplatesFremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
Fremont Salesforce Community Group - Salesforce Labs Day - Flow Templates

This document introduces Flow Templates in Salesforce which allow users to start with pre-built automation processes and customize them for their specific business needs. It provides examples of templates available on AppExchange that address common use cases like provisioning community users, adding profile photos, relating multiple records, closing opportunities, and tagging objects. The templates offer a quick start, leverage industry best practices, and help accelerate automation development by eliminating the blank canvas problem.

#salesforce #flowtemplates #labsday
All about Halak Consulting, LLC
Halak Consulting LLC a Salesforce partner. We help firms
identify problem areas and propose solutions that meet the
firm’s requirements.
 We work with clients to define their business goals, analyze current
business infrastructure and identify nonexistent business processes.
 We focus only on Salesforce.com software services
 Silicon Valley User group co-leader, run Process & Strategy and
Salesforce Certification Study Group on Success Community
 Visit Us – www.halakconsulting.com
 www.linkedin.com/in/deepapatelhalakconsulting/
Formula Ninjas - Basics

Traditional Formula Writing
Compared to
Writing Formulas in Salesforce
Formula Ninjas - Basics
Simple If Formula Statement
Traditional Formula:
If Apple =

Salesforce Formula:

then

Good to Eat
ELSE

IF (Apple = "Red", "Good to Eat",
"Not Good to Eat")

Not Good to Eat
END IF
In Salesforce world:
IF( field = "Value", then do this, else do that) Comma is use in place of “THEN” and
“ELSE”. Right parenthesis is used in place of “END IF”.
Formula Ninjas - Basics
What do you do if you have nested if statements
Traditional Formula:
IF Apple =

Salesforce Formula:

then Sour

If( Apple = "Green", "Sour"),

ELSE
If Apple =

If (Apple = "Yellow", "Semi Sweet"),
then Semi Sweet

If (Apple = "Red", "Delicious"),

ELSE
If Apple =

"Rotten"
then Delicious

)

ELSE

)
Rotten

END IF
END IF
END IF

)

Recommended for you

Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, SalesforceImproving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce

1) Jayesh Govindarajan presented on improving enterprise search and findability at Salesforce. He discussed how enterprise search differs from consumer search, challenges with enterprise findability, and machine learning algorithms like LETOR that can be used. 2) Govindarajan explained that diversity of data, intentions, and customers makes enterprise search more complex than consumer search. Most enterprise search relies on simple ranking functions that may not reflect relevance well. 3) Machine learning algorithms like logistic regression and learning to rank can learn relevance from user behavior data like clicks and views. These algorithms output ranking models that can be deployed to search engines like Solr.

Salesforce Innovates Faster with Agile - You Can Too
Salesforce Innovates Faster with Agile - You Can TooSalesforce Innovates Faster with Agile - You Can Too
Salesforce Innovates Faster with Agile - You Can Too

For years, over 400 teams at Salesforce have been using the Salesforce Platform to manage everything agile including sprints, code releases, kanban, and much more. For the first time earlier this year, Salesforce released these tools to AppExchange in a package called Salesforce Agile Accelerator_. Join us to learn how Salesforce and Pendo.io connect customers with development using Agile Accelerator. By building leveraging the Salesforce platform, Pendo will demonstrate how they have consolidated new feature work, case tracking, and bug tracking onto the Salesforce platform.

salesforcedreamforce
A G S005 Perdew 091807
A G S005  Perdew 091807A G S005  Perdew 091807
A G S005 Perdew 091807

The document discusses best practices for user adoption of Salesforce. It recommends establishing adoption strategy early, gaining executive sponsorship, and engaging users at all levels. It also stresses the importance of communication, training, productivity tools, and metrics to track adoption. Companies discussed saw improved results including stronger alignment, increased user engagement, and new revenue attributed to Salesforce adoption.

Formula Ninjas - Basics
Now what if we want to use “AND” in our formula
Traditional Formula:

Salesforce Formula:

IF Apple =
AND Apple =
Good to Eat
ELSE
Not Good to Eat
END IF

IF(
AND(Apple = "Yellow", Apple = "Red"),
"Good to Eat", "Not Good to Eat"
)
OR
IF(
(Apple = "Yellow" && Apple = "Red"),
"Good to Eat", "Not Good to Eat"
)

Salesforce World:
AND(value 1, value 2, value 3....)
(value 1 && value 2 && value 3...)
Formula Ninjas - Basics
Same applies to the “OR” criteria
Traditional Formula:

Salesforce Formula:

IF Apple =
OR Apple =
Good to Eat = “Yes"
ELSE
Good to Eat = “No"
END IF

IF(
OR(Apple = "Yellow", Apple = "Red"),
"Good to Eat", "Not Good to Eat"
)
OR
IF(
(Apple = "Yellow" || Apple = "Red"),
"Good to Eat", "Not Good to Eat"
)

Salesforce World:
OR(value 1, value 2, value 3....)
(value 1 || value 2 || value 3...)
Formula Ninjas - Basics
Now lets combine the "AND" & "OR" parameters
IF Picklist value is "Closed/Won" OR "Closed/Lost" AND Marketing Qualified Date
is not blank, then Calculate Close Date - Marketing Qualified Date
Traditional Formula:
IF (StageName = "Closed/Won" OR StageName = "Closed/Lost") AND
Marketing Qualified Date <> Blank then
Days to Close = Closed Date - Marketing Qualified Date ELSE
Days to Close = 0
End IF
Formula Ninjas - Basics
Now lets combine the "AND" & "OR" parameters
Salesforce Formula:
IF(
AND (
OR(ISPICKVAL(StageName, "Closed/Won"), ISPICKVAL(StageName,
"Closed/Lost)), //Stage Field is a Picklist field
NOT(ISBLANK(Marketing Qualified Date))
),
(CloseDate) - DATEVALUE(Marketing Qualified Date), // Marketing Qualified
Date is a DateTime Field
0
)

Recommended for you

New from Salesforce Labs
New from Salesforce LabsNew from Salesforce Labs
New from Salesforce Labs

The document introduces new solutions from Salesforce Labs for Lightning Flow, Bolt, Components and more that are available on AppExchange, including ready-to-install apps, components, and solutions to solve common business challenges, as well as innovations from Salesforce Labs for Einstein, Flows, and other products. It provides details on several new solutions that are available, such as Flow Magic Picklist, Einstein Vision and Language Model Builder, and myV2MOM, and encourages exploring more lab solutions on AppExchange.

salesforce adminsalesforce labssalesforce solutions
The Power of One by Steve Molis
The Power of One by Steve MolisThe Power of One by Steve Molis
The Power of One by Steve Molis

- Steve Molis, known as "SteveMo", is a self-taught Salesforce administrator and developer who was taught "The Power of One", a formula for counting records, at Dreamforce 2009 by Thomas Tobin. - "The Power of One" is a simple formula that can be added to any object as a number field to count the number of records. - The presentation discusses using custom summary formulas and functions like PREVGROUPVAL to calculate year-over-year variance in opportunity counts in a report.

salesforce admin
The Power of One by Steve Molis
The Power of One by Steve MolisThe Power of One by Steve Molis
The Power of One by Steve Molis

- Steve Molis, known as "SteveMo", is a self-taught Salesforce administrator and developer who was taught "The Power of One", a formula for counting records, at Dreamforce 2009 by Thomas Tobin. - "The Power of One" is a simple formula that can be added to any object as a number field to count the number of records. - The presentation discusses using custom summary formulas and functions like PREVGROUPVAL to calculate year-over-year variance in opportunity counts in a report.

Formula Ninjas - Basics
Now lets combine the "AND" & "OR" parameters
Salesforce Formula:
OR – a little more easier to interpret
IF(
((ISPICKVAL(StageName, "Closed/Won") || ISPICKVAL(StageName,
"Closed/Lost)) &&
NOT(ISBLANK(Marketing Qualified Date))),
(CloseDate) - DATEVALUE(Marketing Qualified Date),
0
)
Formula Ninjas - Basics
Lets look at two "AND" statements and two "OR" statements
Traditional Formula:
IF (StageName = "Closed/Won" OR StageName = "Closed/Lost")
AND
(Unqualified Date = " " OR Marketing Qualified Date = " " ) then
Calculate CloseDate - Created Date)
End If
Formula Ninjas - Basics
Lets look at two "AND" statements and two "OR" statements
Salesforce Formula:
IF (
AND (
OR(
ISPICKVAL( StageName , "Closed/Won"), ISPICKVAL( StageName ,
"Closed/Lost")
),
OR (
ISBLANK( Unqualified Date ), ISBLANK( Marketing Qualified Date)
)
),
( CloseDate) - DATEVALUE( CreatedDate),
0
)
Formula Ninjas - Basics
Lets look at two "AND" statements and two "OR" statements
Salesforce Formula:
OR– a little more easier to interpret
IF (
(ISPICKVAL( StageName , "Closed/Won") || ISPICKVAL( StageName ,
"Closed/Lost"))
&&
(ISBLANK( Unqualified Date ) || ISBLANK( Marketing Qualified Date)),
( CloseDate) - DATEVALUE( CreatedDate),
0
)

Recommended for you

Using Apex for REST Integration
Using Apex for REST IntegrationUsing Apex for REST Integration
Using Apex for REST Integration

Part of what truly makes a platform is an ability to integrate with third party devices, servers and software. Join Ami Assayag and Kirk Steffke from CRM Science and Developer Evangelist Josh Birk as they breakdown examples of using Apex for integration solutions. Apex has robust methods for handling both inbound requests into Salesforce and outbound calls into third party systems. This webinar will break down how Apex can be used in these cases as well as how to test the code once it is up and running. Key Takeaways - How Apex fits into an integration solution - Using Apex to create custom endpoints - Handling outbound calls with Apex - How to achieve test coverage with mock interfaces Intended Audience Developers with Apex experience looking to integrate with either existing API’s or expanding the functionality of Salesforce API’s.

apexsalesforce developersrest
App Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slidesApp Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slides

Here are the key points about supporting Salesforce1: - Consider building your app to be mobile-first so it works well on any device - Test your app runs properly within the Salesforce1 container - Leverage platform features like push notifications, geolocation, etc - Package your app as a managed package so it can be installed via the AppExchange - Provide guidance to customers on configuring your app for Salesforce1 - Monitor usage and feedback to refine the mobile experience over time Building with Salesforce1 in mind expands your addressable market to include the large population of mobile-first users.

App Academy: Getting Started (July 7, 2015)
App Academy: Getting Started (July 7, 2015)App Academy: Getting Started (July 7, 2015)
App Academy: Getting Started (July 7, 2015)

The document provides an overview of the key steps and components involved in the ISV partner lifecycle on Salesforce. It outlines the phases of plan, build, distribute, market, sell, and support. In the plan phase, partners can sign up for the partner community, complete online training, and get development environments. The build phase involves technical and security reviews of the app. In distribute, partners can list their app on AppExchange and use Trialforce. The market phase uses programs like AppExchange Marketing to generate leads. Sell involves managing leads and opportunities. Support provides customer support.

Formula Ninjas
Business Case
We want to see a score card for all accounts that have not been followed up
on for the last 30 days
Sales reps are supposed to follow up with their accounts at least once in 30 days. How can I see a
score card that allows me to see at a glance which accounts have been followed up on?

Solution
We built seven fields to build out this whole process:
Follow up Interval Days – By default this will be 30 days
Initial Follow up Date – Need this as this shows the deadline for when an account is first added
Follow up Status Flag – This will hold our colorful flags for the score card.
Account Last Activity Date – Inherit the system Last Activity Date
Next Follow up Date – Shows the next deadline for follow up
Days Since Last Activity – Calculates how long an account has not been followed up for
Account Follow Up status – values in this field are used to populate the Follow Up Status Flag
Formula Ninjas
Field Name
Follow up Interval Days
Initial Follow up Date
Follow up Status
Account Last Activity Date
Next Follow Up Date
Days Since Last Activity
Account Follow Up Status

Field Type
Number – Default 30
Date
Text
Date
Date
Number
Text

Attribute
Read Only
Formula
Formula
Formula
Formula
Formula
Formula - hidden
Formula Ninjas
Formulas
• Initial Follow Up Date – CreatedDate + Follow_up_Interval_Days__c
• Days Since Last Activity - IF( ISBLANK( LastActivityDate), (TODAY() Initial_Follow_up_Date__c ), ( TODAY() - LastActivityDate) )
• Account Follow Up Status - IF( Days_Since_Last_Activity__c >
Follow_up_Interval_Days__c , "Red", "Green")
• Follow Up Status - CASE( Account_Followup_Status__c ,
"Red", IMAGE ("/servlet/servlet.FileDownload?file=01550000000rzRO", "Red", 16,16),
“Blue", IMAGE ("/servlet/servlet.FileDownload?file=01550000000rzRG", “Blue", 16,16),
"")
• Account Last Activity Date – LastActivityDate
• Next Follow Up Date - LastActivityDate + Follow_up_Interval_Days__c
• Days Since Last Activity - IF( ISBLANK( LastActivityDate), (TODAY() Initial_Follow_up_Date__c ), ( TODAY() - LastActivityDate) )
Formula Ninjas
TaDa!

Recommended for you

Developing on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not CodeDeveloping on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not Code

Are you a Business Analyst architecting business solutions in the cloud, but you don't write code? Or a Rockstar Admin considering Developer 401 Certification? Join us to see how other non-coders are transforming their companies, and redefining the word developer with the declarative development tools on the Salesforce Platform.

point-and-clickdf13force.com
Salesforce1 Platform: Data Model, Relationships and Queries Webinar
Salesforce1 Platform: Data Model, Relationships and Queries WebinarSalesforce1 Platform: Data Model, Relationships and Queries Webinar
Salesforce1 Platform: Data Model, Relationships and Queries Webinar

In this webinar we will explore customizing your Salesforce1 data model. Different relationship types and utilisation in queries or in your custom Apex Code will be the main themes we will focus on. If you’ve ever wondered, “Lookup or Master Detail?”, or if even that question makes you scratch your head, this webinar is for you. Key Takeaways Tools for creating relationships Key distinctions between Lookup and Master Detail relationships Thinking beyond the database with relationships Common query and Apex patterns when using relationship data

salesforce1 platformsalesforce1soql
Solving Complex Data Load Challenges
Solving Complex Data Load ChallengesSolving Complex Data Load Challenges
Solving Complex Data Load Challenges

The document discusses strategies for solving complex data load challenges in Salesforce using various Salesforce APIs like the Bulk API, Metadata API, and Apex REST API. It proposes building your own dataloader (BYODL) using these APIs to extract, transform, and load large datasets into Salesforce in an automated way. The strategies are demonstrated through examples of loading opportunity data from external files into an org while handling relationships and duplicate records.

salesforcedreamforce 2014
Formula Ninjas
TaDa!
Francis Pindar
Radnip
@radnip
All about Francis Pindar
Solutions Architect with over 15 years in the web world. Now
working on global Salesforce.com projects.
 Founding member & architect of NCALT; eLearning service being used
by over 120k British civil servants on a weekly basis.
 My #DF13 Sessions today:
– Salesforce Integration (Hilton 1pm-2pm)
– Apex 10 Commandments (Moscone West 4pm – 4.45pm)

 Spare time I work in film, theatre & TV and most recently producer for
RENT in London. BAFTA nominated work on www.thelandofme.com
 http://linkedin.com/in/francisuk/ or @radnip
FORMULA
FROM
HELL

Recommended for you

resume_varun_sfdc
resume_varun_sfdcresume_varun_sfdc
resume_varun_sfdc

Varun Singh is a Salesforce developer with over 2 years of experience seeking a new challenging position. He has extensive experience designing and developing applications on the Salesforce platform including custom objects, Visualforce pages, Apex classes, triggers, and reports and dashboards. He currently works as a Salesforce developer for Nethusoft Pvt Ltd and has experience working on healthcare and inventory management projects involving customizations to meet client needs.

Partition Your (Apex) Trigger Logic Using Metadata
Partition Your  (Apex) Trigger Logic Using MetadataPartition Your  (Apex) Trigger Logic Using Metadata
Partition Your (Apex) Trigger Logic Using Metadata

Presentation from Twin Cities Salesforce Developer Group Lead Mitch Spano on partioning your Apex trigger logic, using Custom Metadata Types (CMDT).

salesforceapexsoftware development
Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...

Dreamforce 2015 - Build your Awesome Admin Career session by Brent Downey, Deepa Patel and Mike Martin. Link to Vide: http://tinyurl.com/ozcyn4n

salesforce1salesforce.comsalesforce
Salesforce Enhanced Formula Editor
Installing Salesforce Enhanced Formula Editor

1. Load Google Chrome Browser
2. http://bit.ly/FormulaEditor
3.
4. Say thanks to Kyle Peterson (@kpeterson85)
DISTANCE() Formula
Calculates the distance between two locations in miles or kilometers:
• Syntax:
DISTANCE(mylocation1, mylocation2, “unit”)

• Examples:
• DISTANCE(warehouse_location__c, store_location__c, “mi”)
• DISTANCE(warehouse_location__c, GEOLOCATION(37.775,-122.418), “km”)
Using distance with user location

Recommended for you

Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfoWave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo

Dreamforce 2015 Wave - Basics to Dashboard session by Brent Downey, Deepa Patel and Mike Martin. Video Link: http://tinyurl.com/oh25zfo

wavesalesforce1salesforce
Sales Lifecycle at Dreamforce 2014
Sales Lifecycle at Dreamforce 2014Sales Lifecycle at Dreamforce 2014
Sales Lifecycle at Dreamforce 2014

The document provides an overview of the sales lifecycle in Salesforce, including campaigns, leads, and opportunities. It discusses how campaign member status can track whether individuals responded to marketing campaigns. Leads contain information about potential customers and need to be qualified before being converted to opportunities. Opportunities allow companies to track revenue projections and forecast sales. The presentation emphasizes having a well-defined lead process and fewer opportunity stages to simplify tracking in the sales pipeline.

salesforce.comsales cloudmarketing
Effectively coach your sales staff with graphical images in salesforce
Effectively coach your sales staff with graphical images in salesforceEffectively coach your sales staff with graphical images in salesforce
Effectively coach your sales staff with graphical images in salesforce

Effectively coach your sales staff with graphical images in Salesforce. See how you can increase productivity with out Micro-management

salesforce.comscorecards
Steve Molis
Epsilon
@stevemoforce
All about SteveMo
 3 Time Salesforce MVP: 2011, 2012, 2013
 Success Community: 1,700+ Best Answers
 DeveloperForce: 400+ Solutions Authored
 Pliny the Elder's owed: 2,100+
 1 App named after me “Thanks Reid Carlberg!”
 0 Salesforce Admin or Developer Certifications
 Self-Taught Salesforce Administrator/Developer
 Community College Drop-Out: 0.67 GPA *
* Margin of error: +/- 0.67
> 1 way to deal with a Picklist field (or skin a cat) *
• ISPICKVAL
• CASE
• TEXT
• ISBLANK
• VALUE
• BEGINS
• CONTAINS
* No Animals Were Harmed in the Making of These Formulas
> 1 way to deal with a Picklist field (or skin a cat) *

Recommended for you

Salesforce1 Adoption Workshop - Silicon Valley User Group
Salesforce1 Adoption Workshop - Silicon Valley User GroupSalesforce1 Adoption Workshop - Silicon Valley User Group
Salesforce1 Adoption Workshop - Silicon Valley User Group

This document summarizes a Salesforce1 Mobile App workshop. It includes: 1. An overview of the workshop agenda which covers the anatomy of the Salesforce1 app, getting started in your org, configuring the left navigation menu, and creating publisher actions. 2. A section on the anatomy of the Salesforce1 app, highlighting features like accessing CRM data, customizations, AppExchange apps, custom apps, notifications, feeds, hybrid user interface, and custom publisher actions on mobile. 3. A section on getting started in your org, including ensuring the correct connected app, notification, and mobile browser permissions are enabled.

salesforce1
What can i do with conga presentation
What can i do with conga presentationWhat can i do with conga presentation
What can i do with conga presentation

How can Conga help you become more efficient with your Salesforce reporting and document generation needs

congasalesforce.com
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity ManagementDreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management

Dreamforce 2013 Presentation for Salesforce Fundamentals: Strategy for Opportunity Management. Presented by Deepa Patel, Halak Consulting, LLC, Shell Black, Shell Black LLC, Maria Beli, Case Partners, Bryan Boroughf, Monday Call

dreamforce 2013#df13salesforce.com
> 1 way to deal with a Picklist field (or skin a cat) *
Function: ISPICKVAL (aka “old faithful”)

Function: CASE

Description: Determines if the value of a picklist field is
equal to a text literal you specify.

Description: Checks a given expression against a series of
values.

Example:

Example:

IF(ISPICKVAL(Weather, "Zombies!"), "RUN!!!",

CASE(Weather,

IF(ISPICKVAL(Weather, "HOT"), "Go Swimming",

"Zombies!", "RUN!!!",

IF(ISPICKVAL(Weather, "WARM"), "Play Wiffle Ball",

"HOT", "Go Swimming",

IF(ISPICKVAL(Weather, "COLD"), "Sit by the fire",

"WARM", "Play Wiffle Ball",

"Send out for Pizza"))))

"COLD", "Sit by the fire",
"Send out for Pizza")
> 1 way to deal with a Picklist field (or skin a cat)
Function: TEXT
Description: Converts picklist values to text in Validation Rules, Formula Fields, and Workflow Field Updates.

So you can do stuff like this…
> 1 way to deal with a Picklist field (or skin a cat)
Problem:
Make a custom picklist field called “Loss Reason”
required if the Opportunity Stage is Closed/Lost.
> 1 way to deal with a Picklist field (or skin a cat)

Solution:
Create a Validation Rule
Formula:
AND(
TEXT(StageName) = "Closed Lost",
ISBLANK(TEXT(Loss_Reason__c)))

Recommended for you

DF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead ManagementDF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management

Dreamforce 2013 Salesforce Fundamentals: Strategy for Campaign and Lead Management presentation slide deck Presented by Deepa Patel, Halak Consulting, LLC, Shell Black, Shell Black, LLC, Maria Beli, CASE Partners, Bryan Boroughf, Monday Call

lead management#df13salesforce.com
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation

Manual Method of Product Research | Helium10 | MBS RETRIEVER

product researchhelium10 | mbs retriever
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck

YOUR RELIABLE WEB DESIGN & DEVELOPMENT TEAM — FOR LASTING SUCCESS WPRiders is a web development company specialized in WordPress and WooCommerce websites and plugins for customers around the world. The company is headquartered in Bucharest, Romania, but our team members are located all over the world. Our customers are primarily from the US and Western Europe, but we have clients from Australia, Canada and other areas as well. Some facts about WPRiders and why we are one of the best firms around: More than 700 five-star reviews! You can check them here. 1500 WordPress projects delivered. We respond 80% faster than other firms! Data provided by Freshdesk. We’ve been in business since 2015. We are located in 7 countries and have 22 team members. With so many projects delivered, our team knows what works and what doesn’t when it comes to WordPress and WooCommerce. Our team members are: - highly experienced developers (employees & contractors with 5 -10+ years of experience), - great designers with an eye for UX/UI with 10+ years of experience - project managers with development background who speak both tech and non-tech - QA specialists - Conversion Rate Optimisation - CRO experts They are all working together to provide you with the best possible service. We are passionate about WordPress, and we love creating custom solutions that help our clients achieve their goals. At WPRiders, we are committed to building long-term relationships with our clients. We believe in accountability, in doing the right thing, as well as in transparency and open communication. You can read more about WPRiders on the About us page.

web development agencywpriderswordpress development
> 1 way to deal with a Picklist field (or skin a cat)
Problem:
Calculate the Opportunity Discount Amount from
Discount% (a custom picklist field)
> 1 way to deal with a Picklist field (or skin a cat)
Solution:
Create a custom field
Datatype: Formula
Result: Currency
Formula:
Amount * ( VALUE( TEXT( Discount_Pct__c )) / 100)
> 1 way to deal with a Picklist field (or skin a cat)
Tip:
Create a custom Enhanced List
View or Report to double-check
your Formulas
> 1 way to deal with a Picklist field (or skin a cat)
Problem:
Require priority 1-3 for any “Existing Customer”
opportunities.

Recommended for you

Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM

Quantum Communications Q&A with Gemini LLM. These are based on Shannon's Noisy channel Theorem and offers how the classical theory applies to the quantum world.

quantum communicationsshannon's channel theoremclassical theory
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces

An invited talk given by Mark Billinghurst on Research Directions for Cross Reality Interfaces. This was given on July 2nd 2024 as part of the 2024 Summer School on Cross Reality in Hagenberg, Austria (July 1st - 7th)

augmented realitycross realityvirtual reality
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure

Recent advancements in the NIST-JARVIS infrastructure: JARVIS-Overview, JARVIS-DFT, AtomGPT, ALIGNN, JARVIS-Leaderboard

jarvisjarvis-dftalignn
> 1 way to deal with a Picklist field (or skin a cat)
Solution:
Create a Validation Rule
Formula:
AND(
BEGINS(TEXT(Type),"Existing"),
VALUE(TEXT( Priority__c )) > 3))
> 1 way to deal with a Picklist field (or skin a cat)
Problem:
Do not allow “Renewal” Cases for Inactive
Accounts
> 1 way to deal with a Picklist field (or skin a cat)

Solution:
Create a Validation Rule
Formula:
AND(Account.Active__c = FALSE,
CONTAINS( TEXT(Status) , "Renewal"))
Formula Ninjas
Resources
• Introduction to Formulas http://wiki.developerforce.com/page/An_Introduction_to_Formulas
• Formulas Quick Reference Guide https://na13.salesforce.com/help/pdfs/en/salesforce_formulas_cheatsheet.pdf
• Useful Validation Rules http://na13.salesforce.com/help/pdfs/en/salesforce_useful_validation_formulas.p
df
• Building a Cross Object Formula https://help.salesforce.com/HTViewHelpDoc?id=fields_creating_cross_object_a
dvanced.htm&language=en_US

Recommended for you

Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant

Password Rotation in 2024 is still Relevant

passwordmanagementrotation
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...

This presentation explores the practical application of image description techniques. Familiar guidelines will be demonstrated in practice, and descriptions will be developed “live”! If you have learned a lot about the theory of image description techniques but want to feel more confident putting them into practice, this is the presentation for you. There will be useful, actionable information for everyone, whether you are working with authors, colleagues, alone, or leveraging AI as a collaborator. Link to presentation recording and slides: https://bnctechforum.ca/sessions/details-of-description-part-ii-describing-images-in-practice/ Presented by BookNet Canada on June 25, 2024, with support from the Department of Canadian Heritage.

a11yaccessibilityalt text
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx

This is a slide deck that showcases the updates in Microsoft Copilot for May 2024

microsoftmicrosoft copilot
Deepa Patel

Steve Molis

Francis Pindar

President
@halakconsulting

Salesforce Administrator
@SteveMoForce

Technical Consultant
@radnip
Do Not Forget!

Please fill out the
Evaluation Forms
Dreamfoce 2013 Formula Ninjas

More Related Content

Similar to Dreamfoce 2013 Formula Ninjas

Deliver a Next Level Experience with Lightning Console Apps!
Deliver a Next Level Experience with Lightning Console Apps!Deliver a Next Level Experience with Lightning Console Apps!
Deliver a Next Level Experience with Lightning Console Apps!
Doug Dunfee
 
Best Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce DataBest Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce Data
Salesforce Admins
 
Become A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon Howe
Become A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon HoweBecome A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon Howe
Become A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon Howe
Salesforce Admins
 
Process Builder and Flow: An Admin's Trigger by Rich Englhard
Process Builder and Flow: An Admin's Trigger by Rich EnglhardProcess Builder and Flow: An Admin's Trigger by Rich Englhard
Process Builder and Flow: An Admin's Trigger by Rich Englhard
Salesforce Admins
 
Webinar Coding for Salesforce Admins
Webinar Coding for Salesforce AdminsWebinar Coding for Salesforce Admins
Webinar Coding for Salesforce Admins
Salesforce Admins
 
Fremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
Fremont Salesforce Community Group - Salesforce Labs Day - Flow TemplatesFremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
Fremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
Jayant Jindal
 
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, SalesforceImproving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Lucidworks
 
Salesforce Innovates Faster with Agile - You Can Too
Salesforce Innovates Faster with Agile - You Can TooSalesforce Innovates Faster with Agile - You Can Too
Salesforce Innovates Faster with Agile - You Can Too
Dreamforce
 
A G S005 Perdew 091807
A G S005  Perdew 091807A G S005  Perdew 091807
A G S005 Perdew 091807
Dreamforce07
 
New from Salesforce Labs
New from Salesforce LabsNew from Salesforce Labs
New from Salesforce Labs
Salesforce Admins
 
The Power of One by Steve Molis
The Power of One by Steve MolisThe Power of One by Steve Molis
The Power of One by Steve Molis
Salesforce Admins
 
The Power of One by Steve Molis
The Power of One by Steve MolisThe Power of One by Steve Molis
The Power of One by Steve Molis
Salesforce Admins
 
Using Apex for REST Integration
Using Apex for REST IntegrationUsing Apex for REST Integration
Using Apex for REST Integration
Salesforce Developers
 
App Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slidesApp Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slides
Salesforce Partners
 
App Academy: Getting Started (July 7, 2015)
App Academy: Getting Started (July 7, 2015)App Academy: Getting Started (July 7, 2015)
App Academy: Getting Started (July 7, 2015)
Salesforce Partners
 
Developing on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not CodeDeveloping on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not Code
Salesforce Developers
 
Salesforce1 Platform: Data Model, Relationships and Queries Webinar
Salesforce1 Platform: Data Model, Relationships and Queries WebinarSalesforce1 Platform: Data Model, Relationships and Queries Webinar
Salesforce1 Platform: Data Model, Relationships and Queries Webinar
Salesforce Developers
 
Solving Complex Data Load Challenges
Solving Complex Data Load ChallengesSolving Complex Data Load Challenges
Solving Complex Data Load Challenges
Sunand P
 
resume_varun_sfdc
resume_varun_sfdcresume_varun_sfdc
resume_varun_sfdc
Varun Singh
 
Partition Your (Apex) Trigger Logic Using Metadata
Partition Your  (Apex) Trigger Logic Using MetadataPartition Your  (Apex) Trigger Logic Using Metadata
Partition Your (Apex) Trigger Logic Using Metadata
James Loghry
 

Similar to Dreamfoce 2013 Formula Ninjas (20)

Deliver a Next Level Experience with Lightning Console Apps!
Deliver a Next Level Experience with Lightning Console Apps!Deliver a Next Level Experience with Lightning Console Apps!
Deliver a Next Level Experience with Lightning Console Apps!
 
Best Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce DataBest Practices and Tools for Backing Up Salesforce Data
Best Practices and Tools for Backing Up Salesforce Data
 
Become A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon Howe
Become A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon HoweBecome A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon Howe
Become A Formula Writing Guru in 20 Minutes by Mike Martin & Shannon Howe
 
Process Builder and Flow: An Admin's Trigger by Rich Englhard
Process Builder and Flow: An Admin's Trigger by Rich EnglhardProcess Builder and Flow: An Admin's Trigger by Rich Englhard
Process Builder and Flow: An Admin's Trigger by Rich Englhard
 
Webinar Coding for Salesforce Admins
Webinar Coding for Salesforce AdminsWebinar Coding for Salesforce Admins
Webinar Coding for Salesforce Admins
 
Fremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
Fremont Salesforce Community Group - Salesforce Labs Day - Flow TemplatesFremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
Fremont Salesforce Community Group - Salesforce Labs Day - Flow Templates
 
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, SalesforceImproving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
 
Salesforce Innovates Faster with Agile - You Can Too
Salesforce Innovates Faster with Agile - You Can TooSalesforce Innovates Faster with Agile - You Can Too
Salesforce Innovates Faster with Agile - You Can Too
 
A G S005 Perdew 091807
A G S005  Perdew 091807A G S005  Perdew 091807
A G S005 Perdew 091807
 
New from Salesforce Labs
New from Salesforce LabsNew from Salesforce Labs
New from Salesforce Labs
 
The Power of One by Steve Molis
The Power of One by Steve MolisThe Power of One by Steve Molis
The Power of One by Steve Molis
 
The Power of One by Steve Molis
The Power of One by Steve MolisThe Power of One by Steve Molis
The Power of One by Steve Molis
 
Using Apex for REST Integration
Using Apex for REST IntegrationUsing Apex for REST Integration
Using Apex for REST Integration
 
App Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slidesApp Academy: Getting Started (Virtual Classroom) slides
App Academy: Getting Started (Virtual Classroom) slides
 
App Academy: Getting Started (July 7, 2015)
App Academy: Getting Started (July 7, 2015)App Academy: Getting Started (July 7, 2015)
App Academy: Getting Started (July 7, 2015)
 
Developing on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not CodeDeveloping on the Salesforce Platform With Clicks, Not Code
Developing on the Salesforce Platform With Clicks, Not Code
 
Salesforce1 Platform: Data Model, Relationships and Queries Webinar
Salesforce1 Platform: Data Model, Relationships and Queries WebinarSalesforce1 Platform: Data Model, Relationships and Queries Webinar
Salesforce1 Platform: Data Model, Relationships and Queries Webinar
 
Solving Complex Data Load Challenges
Solving Complex Data Load ChallengesSolving Complex Data Load Challenges
Solving Complex Data Load Challenges
 
resume_varun_sfdc
resume_varun_sfdcresume_varun_sfdc
resume_varun_sfdc
 
Partition Your (Apex) Trigger Logic Using Metadata
Partition Your  (Apex) Trigger Logic Using MetadataPartition Your  (Apex) Trigger Logic Using Metadata
Partition Your (Apex) Trigger Logic Using Metadata
 

More from Deepa Patel

Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
Deepa Patel
 
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfoWave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
Deepa Patel
 
Sales Lifecycle at Dreamforce 2014
Sales Lifecycle at Dreamforce 2014Sales Lifecycle at Dreamforce 2014
Sales Lifecycle at Dreamforce 2014
Deepa Patel
 
Effectively coach your sales staff with graphical images in salesforce
Effectively coach your sales staff with graphical images in salesforceEffectively coach your sales staff with graphical images in salesforce
Effectively coach your sales staff with graphical images in salesforce
Deepa Patel
 
Salesforce1 Adoption Workshop - Silicon Valley User Group
Salesforce1 Adoption Workshop - Silicon Valley User GroupSalesforce1 Adoption Workshop - Silicon Valley User Group
Salesforce1 Adoption Workshop - Silicon Valley User Group
Deepa Patel
 
What can i do with conga presentation
What can i do with conga presentationWhat can i do with conga presentation
What can i do with conga presentation
Deepa Patel
 
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity ManagementDreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
Deepa Patel
 
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead ManagementDF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
Deepa Patel
 

More from Deepa Patel (8)

Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
Choose your Destiny - Building your Awesome Admin Career - Video Link: http:/...
 
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfoWave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
Wave - Basics to Dashboard Video: http://tinyurl.com/oh25zfo
 
Sales Lifecycle at Dreamforce 2014
Sales Lifecycle at Dreamforce 2014Sales Lifecycle at Dreamforce 2014
Sales Lifecycle at Dreamforce 2014
 
Effectively coach your sales staff with graphical images in salesforce
Effectively coach your sales staff with graphical images in salesforceEffectively coach your sales staff with graphical images in salesforce
Effectively coach your sales staff with graphical images in salesforce
 
Salesforce1 Adoption Workshop - Silicon Valley User Group
Salesforce1 Adoption Workshop - Silicon Valley User GroupSalesforce1 Adoption Workshop - Silicon Valley User Group
Salesforce1 Adoption Workshop - Silicon Valley User Group
 
What can i do with conga presentation
What can i do with conga presentationWhat can i do with conga presentation
What can i do with conga presentation
 
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity ManagementDreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
Dreamforce 2013 Salesforce Fundamentals: Strategy for Opportunity Management
 
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead ManagementDF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
DF13 Salesforce Fundamentals: Strategy for Campaign and Lead Management
 

Recently uploaded

Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
Lidia A.
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
KAMAL CHOUDHARY
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
Matthew Sinclair
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 

Recently uploaded (20)

Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 

Dreamfoce 2013 Formula Ninjas

  • 1. Formula Ninjas Deepa Patel, Halak Consulting, LLC, President @halakconsulting Steve Molis, Epsilon, Salesforce Administrator @stevemorforce Francisc Pindar, Radnip, Technical Consultant @radnip
  • 2. Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 4. Deepa Patel Halak Consulting, LLC @halakconsulting
  • 5. All about Halak Consulting, LLC Halak Consulting LLC a Salesforce partner. We help firms identify problem areas and propose solutions that meet the firm’s requirements.  We work with clients to define their business goals, analyze current business infrastructure and identify nonexistent business processes.  We focus only on Salesforce.com software services  Silicon Valley User group co-leader, run Process & Strategy and Salesforce Certification Study Group on Success Community  Visit Us – www.halakconsulting.com  www.linkedin.com/in/deepapatelhalakconsulting/
  • 6. Formula Ninjas - Basics Traditional Formula Writing Compared to Writing Formulas in Salesforce
  • 7. Formula Ninjas - Basics Simple If Formula Statement Traditional Formula: If Apple = Salesforce Formula: then Good to Eat ELSE IF (Apple = "Red", "Good to Eat", "Not Good to Eat") Not Good to Eat END IF In Salesforce world: IF( field = "Value", then do this, else do that) Comma is use in place of “THEN” and “ELSE”. Right parenthesis is used in place of “END IF”.
  • 8. Formula Ninjas - Basics What do you do if you have nested if statements Traditional Formula: IF Apple = Salesforce Formula: then Sour If( Apple = "Green", "Sour"), ELSE If Apple = If (Apple = "Yellow", "Semi Sweet"), then Semi Sweet If (Apple = "Red", "Delicious"), ELSE If Apple = "Rotten" then Delicious ) ELSE ) Rotten END IF END IF END IF )
  • 9. Formula Ninjas - Basics Now what if we want to use “AND” in our formula Traditional Formula: Salesforce Formula: IF Apple = AND Apple = Good to Eat ELSE Not Good to Eat END IF IF( AND(Apple = "Yellow", Apple = "Red"), "Good to Eat", "Not Good to Eat" ) OR IF( (Apple = "Yellow" && Apple = "Red"), "Good to Eat", "Not Good to Eat" ) Salesforce World: AND(value 1, value 2, value 3....) (value 1 && value 2 && value 3...)
  • 10. Formula Ninjas - Basics Same applies to the “OR” criteria Traditional Formula: Salesforce Formula: IF Apple = OR Apple = Good to Eat = “Yes" ELSE Good to Eat = “No" END IF IF( OR(Apple = "Yellow", Apple = "Red"), "Good to Eat", "Not Good to Eat" ) OR IF( (Apple = "Yellow" || Apple = "Red"), "Good to Eat", "Not Good to Eat" ) Salesforce World: OR(value 1, value 2, value 3....) (value 1 || value 2 || value 3...)
  • 11. Formula Ninjas - Basics Now lets combine the "AND" & "OR" parameters IF Picklist value is "Closed/Won" OR "Closed/Lost" AND Marketing Qualified Date is not blank, then Calculate Close Date - Marketing Qualified Date Traditional Formula: IF (StageName = "Closed/Won" OR StageName = "Closed/Lost") AND Marketing Qualified Date <> Blank then Days to Close = Closed Date - Marketing Qualified Date ELSE Days to Close = 0 End IF
  • 12. Formula Ninjas - Basics Now lets combine the "AND" & "OR" parameters Salesforce Formula: IF( AND ( OR(ISPICKVAL(StageName, "Closed/Won"), ISPICKVAL(StageName, "Closed/Lost)), //Stage Field is a Picklist field NOT(ISBLANK(Marketing Qualified Date)) ), (CloseDate) - DATEVALUE(Marketing Qualified Date), // Marketing Qualified Date is a DateTime Field 0 )
  • 13. Formula Ninjas - Basics Now lets combine the "AND" & "OR" parameters Salesforce Formula: OR – a little more easier to interpret IF( ((ISPICKVAL(StageName, "Closed/Won") || ISPICKVAL(StageName, "Closed/Lost)) && NOT(ISBLANK(Marketing Qualified Date))), (CloseDate) - DATEVALUE(Marketing Qualified Date), 0 )
  • 14. Formula Ninjas - Basics Lets look at two "AND" statements and two "OR" statements Traditional Formula: IF (StageName = "Closed/Won" OR StageName = "Closed/Lost") AND (Unqualified Date = " " OR Marketing Qualified Date = " " ) then Calculate CloseDate - Created Date) End If
  • 15. Formula Ninjas - Basics Lets look at two "AND" statements and two "OR" statements Salesforce Formula: IF ( AND ( OR( ISPICKVAL( StageName , "Closed/Won"), ISPICKVAL( StageName , "Closed/Lost") ), OR ( ISBLANK( Unqualified Date ), ISBLANK( Marketing Qualified Date) ) ), ( CloseDate) - DATEVALUE( CreatedDate), 0 )
  • 16. Formula Ninjas - Basics Lets look at two "AND" statements and two "OR" statements Salesforce Formula: OR– a little more easier to interpret IF ( (ISPICKVAL( StageName , "Closed/Won") || ISPICKVAL( StageName , "Closed/Lost")) && (ISBLANK( Unqualified Date ) || ISBLANK( Marketing Qualified Date)), ( CloseDate) - DATEVALUE( CreatedDate), 0 )
  • 17. Formula Ninjas Business Case We want to see a score card for all accounts that have not been followed up on for the last 30 days Sales reps are supposed to follow up with their accounts at least once in 30 days. How can I see a score card that allows me to see at a glance which accounts have been followed up on? Solution We built seven fields to build out this whole process: Follow up Interval Days – By default this will be 30 days Initial Follow up Date – Need this as this shows the deadline for when an account is first added Follow up Status Flag – This will hold our colorful flags for the score card. Account Last Activity Date – Inherit the system Last Activity Date Next Follow up Date – Shows the next deadline for follow up Days Since Last Activity – Calculates how long an account has not been followed up for Account Follow Up status – values in this field are used to populate the Follow Up Status Flag
  • 18. Formula Ninjas Field Name Follow up Interval Days Initial Follow up Date Follow up Status Account Last Activity Date Next Follow Up Date Days Since Last Activity Account Follow Up Status Field Type Number – Default 30 Date Text Date Date Number Text Attribute Read Only Formula Formula Formula Formula Formula Formula - hidden
  • 19. Formula Ninjas Formulas • Initial Follow Up Date – CreatedDate + Follow_up_Interval_Days__c • Days Since Last Activity - IF( ISBLANK( LastActivityDate), (TODAY() Initial_Follow_up_Date__c ), ( TODAY() - LastActivityDate) ) • Account Follow Up Status - IF( Days_Since_Last_Activity__c > Follow_up_Interval_Days__c , "Red", "Green") • Follow Up Status - CASE( Account_Followup_Status__c , "Red", IMAGE ("/servlet/servlet.FileDownload?file=01550000000rzRO", "Red", 16,16), “Blue", IMAGE ("/servlet/servlet.FileDownload?file=01550000000rzRG", “Blue", 16,16), "") • Account Last Activity Date – LastActivityDate • Next Follow Up Date - LastActivityDate + Follow_up_Interval_Days__c • Days Since Last Activity - IF( ISBLANK( LastActivityDate), (TODAY() Initial_Follow_up_Date__c ), ( TODAY() - LastActivityDate) )
  • 23. All about Francis Pindar Solutions Architect with over 15 years in the web world. Now working on global Salesforce.com projects.  Founding member & architect of NCALT; eLearning service being used by over 120k British civil servants on a weekly basis.  My #DF13 Sessions today: – Salesforce Integration (Hilton 1pm-2pm) – Apex 10 Commandments (Moscone West 4pm – 4.45pm)  Spare time I work in film, theatre & TV and most recently producer for RENT in London. BAFTA nominated work on www.thelandofme.com  http://linkedin.com/in/francisuk/ or @radnip
  • 26. Installing Salesforce Enhanced Formula Editor 1. Load Google Chrome Browser 2. http://bit.ly/FormulaEditor 3. 4. Say thanks to Kyle Peterson (@kpeterson85)
  • 27. DISTANCE() Formula Calculates the distance between two locations in miles or kilometers: • Syntax: DISTANCE(mylocation1, mylocation2, “unit”) • Examples: • DISTANCE(warehouse_location__c, store_location__c, “mi”) • DISTANCE(warehouse_location__c, GEOLOCATION(37.775,-122.418), “km”)
  • 28. Using distance with user location
  • 30. All about SteveMo  3 Time Salesforce MVP: 2011, 2012, 2013  Success Community: 1,700+ Best Answers  DeveloperForce: 400+ Solutions Authored  Pliny the Elder's owed: 2,100+  1 App named after me “Thanks Reid Carlberg!”  0 Salesforce Admin or Developer Certifications  Self-Taught Salesforce Administrator/Developer  Community College Drop-Out: 0.67 GPA * * Margin of error: +/- 0.67
  • 31. > 1 way to deal with a Picklist field (or skin a cat) * • ISPICKVAL • CASE • TEXT • ISBLANK • VALUE • BEGINS • CONTAINS * No Animals Were Harmed in the Making of These Formulas
  • 32. > 1 way to deal with a Picklist field (or skin a cat) *
  • 33. > 1 way to deal with a Picklist field (or skin a cat) * Function: ISPICKVAL (aka “old faithful”) Function: CASE Description: Determines if the value of a picklist field is equal to a text literal you specify. Description: Checks a given expression against a series of values. Example: Example: IF(ISPICKVAL(Weather, "Zombies!"), "RUN!!!", CASE(Weather, IF(ISPICKVAL(Weather, "HOT"), "Go Swimming", "Zombies!", "RUN!!!", IF(ISPICKVAL(Weather, "WARM"), "Play Wiffle Ball", "HOT", "Go Swimming", IF(ISPICKVAL(Weather, "COLD"), "Sit by the fire", "WARM", "Play Wiffle Ball", "Send out for Pizza")))) "COLD", "Sit by the fire", "Send out for Pizza")
  • 34. > 1 way to deal with a Picklist field (or skin a cat) Function: TEXT Description: Converts picklist values to text in Validation Rules, Formula Fields, and Workflow Field Updates. So you can do stuff like this…
  • 35. > 1 way to deal with a Picklist field (or skin a cat) Problem: Make a custom picklist field called “Loss Reason” required if the Opportunity Stage is Closed/Lost.
  • 36. > 1 way to deal with a Picklist field (or skin a cat) Solution: Create a Validation Rule Formula: AND( TEXT(StageName) = "Closed Lost", ISBLANK(TEXT(Loss_Reason__c)))
  • 37. > 1 way to deal with a Picklist field (or skin a cat) Problem: Calculate the Opportunity Discount Amount from Discount% (a custom picklist field)
  • 38. > 1 way to deal with a Picklist field (or skin a cat) Solution: Create a custom field Datatype: Formula Result: Currency Formula: Amount * ( VALUE( TEXT( Discount_Pct__c )) / 100)
  • 39. > 1 way to deal with a Picklist field (or skin a cat) Tip: Create a custom Enhanced List View or Report to double-check your Formulas
  • 40. > 1 way to deal with a Picklist field (or skin a cat) Problem: Require priority 1-3 for any “Existing Customer” opportunities.
  • 41. > 1 way to deal with a Picklist field (or skin a cat) Solution: Create a Validation Rule Formula: AND( BEGINS(TEXT(Type),"Existing"), VALUE(TEXT( Priority__c )) > 3))
  • 42. > 1 way to deal with a Picklist field (or skin a cat) Problem: Do not allow “Renewal” Cases for Inactive Accounts
  • 43. > 1 way to deal with a Picklist field (or skin a cat) Solution: Create a Validation Rule Formula: AND(Account.Active__c = FALSE, CONTAINS( TEXT(Status) , "Renewal"))
  • 44. Formula Ninjas Resources • Introduction to Formulas http://wiki.developerforce.com/page/An_Introduction_to_Formulas • Formulas Quick Reference Guide https://na13.salesforce.com/help/pdfs/en/salesforce_formulas_cheatsheet.pdf • Useful Validation Rules http://na13.salesforce.com/help/pdfs/en/salesforce_useful_validation_formulas.p df • Building a Cross Object Formula https://help.salesforce.com/HTViewHelpDoc?id=fields_creating_cross_object_a dvanced.htm&language=en_US
  • 45. Deepa Patel Steve Molis Francis Pindar President @halakconsulting Salesforce Administrator @SteveMoForce Technical Consultant @radnip
  • 46. Do Not Forget! Please fill out the Evaluation Forms