Salesforce tip: Compose formulas in Excel first

I was working on a fairly complicated formula in Salesforce and realized that it may be easier just to build in Excel. As many of the formula conventions in Salesforce are the same as Excel formulas, this little trick can save a heap of time.

Steps:

  1. Name your cells.  For every field that you’ll be using in your formula, name a corresponding cell in Excel with the name of that field. Don’t forget to include “__c” for custom fields (see below). 
  2. Put some data into each of these named cells.
  3. Build your formula, making sure to click on the named cells to insert into your formula.
  4. Make sure the calculations work as designed.
  5. Copy formula from Excel and paste into Salesforce!!
This entry was posted in Salesforce and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>