Skip to content

Custom Fields, Formulas, and Lookup Tables

Custom fields let you add information to tasks or resources in Microsoft Project. Depending on the field type and settings, you can enter values directly, offer a lookup list for consistent entries, or use a formula to calculate a value from other project information.

For example, a team could use a text field to record a review category for each task, or a number field to display a calculated date difference. Once added to a view, the field appears as a column alongside the other project details.

In Microsoft Project desktop:

  1. Choose Project > Custom Fields.
  2. Select Task for a task field or Resource for a resource field.
  3. Choose the field type and an available field, such as Text1.
  4. Select Rename, enter a meaningful name, and choose OK.
  5. In a suitable task or resource view, right-click the column heading immediately to the right of where the field should appear. Choose Insert Column and select the renamed field.

Choose a field type that fits the information you want to store, such as text, a number, or a date. Insert a task field in a task view or a resource field in a resource view. For help arranging the columns, see Customizing Tables, Filters, and Groups.

In Project Plan 365, Project > Custom Fields also lets you create and rename task or resource custom fields for information you want to record in a plan.

Offer consistent choices with a lookup list

Section titled “Offer consistent choices with a lookup list”

A lookup list gives users a set of values to select for a custom field. For example, a task text field named Review stage could offer Not started, In review, and Approved.

To set it up in desktop Project, open Project > Custom Fields, select the field, and choose Lookup under Custom attributes. Enter the choices in the Value column, set a default if useful, and choose Close. Choose OK to finish configuring the field, then insert it into the appropriate view so the values can be selected.1

A formula uses project fields, functions, and expressions to calculate a custom field. In desktop Project, open Project > Custom Fields, select a suitable field, and choose Formula under Custom attributes. Use the Field and Function options to build the expression, then choose OK.

For example, this formula in a custom text field displays Complete when a task is 100% complete and In progress otherwise:

IIf([% Complete] = 100, "Complete", "In progress")

The second label also includes tasks that have not started. Insert the field into a task view and verify its output on representative tasks with known progress before using it in a report.2

For applicable field types and settings, the Custom Fields dialog provides separate controls for task and group summary rows and assignment rows. Summary-row settings determine how values are calculated or rolled up for summaries; assignment-row settings determine whether values roll down to assignments. Text and outline-code fields do not roll up. Review both kinds of rows when the field is intended for more than individual tasks or resources.

You can also choose Graphical Indicators under Values to display. Set tests and images to represent the field’s values—for example, different indicators for the review-stage choices above. The indicator makes the value easier to recognize in the view.

Custom-field definitions are specific to a project. To reuse a definition from another project or template, open Project > Custom Fields > Import Field, then select the source project and field. The imported definition can include its name, value list, formula, and graphical indicators.

  1. Create a custom field
  2. Project functions for custom fields