Column types and options

A SharePoint column type determines how data is stored and displayed in a list or library. You choose a column type when you create a column, and the type that you choose indicates the type of data that you want to store in the column — for example, numbers, formatted text, a list of choices, or a number that is calculated automatically. You then add the column to one or more views of the list or library, which can help you and others view the data in a meaningful way.

Find links to additional information about columns and related features in the See Also section.



Overview

Columns help you create meaningful views of the items in a list or library. By using columns, you can sort, group, and filter items, and you can also calculate data about items automatically and display the results of those calculations. Columns also enable you to specify what information must be entered about an item when someone adds an item to a list or library. When an item is added, a form appears and provides fields and options for entering information. When you create a list or library, certain columns, such as Title and Modified By, are created automatically. You can create additional columns to suit your needs. The columns that you create determine which fields and options appear in that form, and the columns that can be added to views of the list or library.

You specify the type of column that you want when you create a column. In some cases, you can change the column type for a column that has already been created, but this depends on what kind and how much data is currently stored in the column. Changing the column type of an existing column can corrupt the data already stored in the column. For these reasons, it is important to decide what kind of data you want to store before you create a column. When deciding which column type you want, consider the following:

  • What kind of data do you want store? Letters and numbers only? Numbers only? Formatted text? For example, you cannot store letters in a Number column. Knowing what kind of data you want to store is the first step toward choosing the most appropriate column type.
  • Do you want to use the data in financial calculations? If so, the Currency column type is the best option.
  • Do you want to use the data in mathematical calculations? How precise must those calculations be? You can calculate data in Number or Currency columns, but not Text columns. In addition, calculations in a Currency column are most precise.
  • How do you want to sort data in the column? In a Text column, numbers are sorted as strings of characters (1, 10, 100, 2, 20, 200, and so on), not as numeric values. To sort numbers as numeric values, use a Number or Currency column. Also, many date formats do not sort properly if they are stored in a Text column. To ensure proper sorting of dates, use a Date and Time column.
  • Do you want to ensure that people enter information in the column? If so, you can specify that the column is required and people cannot add an item without entering the information.
  • Do you want to make sure that the data typed in the column meets specific criteria, such as an employee ID? If so, you can create a formula to perform Column Validation.

To create a column, see Create, change, or delete a column in a list or library.

The following sections provide information about the default types of columns that you can create and when to use each type of column. Depending on your organization, additional types of column may be available. For information about any additional column types, contact your administrator.

Top of Page Top of Page

Single line of text

Use this type of column to collect and display small amounts of unformatted text in a single line, including:

  • Text only, such as first names, last names, or department names
  • Combinations of text and numbers, such as street addresses or account numbers
  • Numbers that are not used in calculations, such as employee ID numbers, phone numbers, postal codes, or part numbers

A single line of text column can display up to 255 characters . If you want the column to display formatted text or more than one line of text at a time, create a Multiple lines of text column. You can change an existing Single line of text column to a Multiple lines of text column without losing any data that is stored in the column already.

You can customize a Single line of text column in these ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data is typed in this column. For example, you can require that an employee ID is provided when an employee is added to the employee list.
  • Require unique values   Require that items in the list or library contain unique values in this column. For example, you can require that an employee ID is unique.
  • Assign a character limit   Limit the number of characters by specifying the maximum number of characters that you want. For example, if the column stores five-digit employee ID numbers, you can use this feature to help ensure that people enter a maximum of five characters.
  • Display a default value   Automatically display specific text when someone adds a new item, while also allowing people to enter different text if they need to do so. A default value helps people enter information faster. For example, if the column stores the name of a company assigned to a project and your organization works with a specific company for most projects, you can enter the name of that company as the default value. As a result, the company name appears automatically when a new project is added to the list, and team members do not have to enter the name.

A default value can be either text that you specify or the result of a calculation, which is called a calculated value. Calculated values are helpful when you want to display specific text automatically but the text might vary depending on who added the item, when the item was added, or other reasons. To use a calculated value, you enter a formula, instead of specific text, as the default value. The formula can calculate a value based on information in other columns or system functions such as [today], to indicate the current date, or [me], to display the name of the person who adds or changes the item.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   Add the column to the default view, which people on your site automatically see when they first open a list or library.
  • Help ensure data integrity   You can help to ensure that data in a column meets specific criteria by validating the column, such as ensuring employee ID contains five characters. You type the formula that you want to use to validate the column and a message that you want to proved users to help them type valid data.

Top of Page Top of Page

Multiple lines of text

Use this type of column to collect and display formatted text or lengthy text and numbers on more than one line, such as a description of or comments about an item. A Multiple lines of text column can store as many as 63,999 characters, and you can specify the number of lines of text that you want to display when people enter information about an item. This type of column displays all of the text when the column is viewed in a list or library.

You can customize a Multiple lines of text column in these ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data is typed in this column. For example, you can require that an employee ID is provided when an employee is added to the employee list.
  • Assign a display limit   Limit the number of lines that appear when people enter information about an item. For example, if the column stores lengthy notes about a calendar event, you might choose to display ten lines of text. This makes it easier for people to enter information because they can easily see all of the text that they have entered. Conversely, if the column stores only a sentence or two about an event, you might choose to display only two or three lines of text.

If you assign a display limit, it does not limit the amount of text that appears when the column appears in a list or library. All of the text entered for an item appears in the column.

  • Enable or disable text formatting   Specify whether people can apply formatting such as bold, italics, or colors to text. There are three options: plain text, which does not support any formatting options; rich text, which supports basic formatting such as bold, italics, bulleted or numbered lists, colored text, and background colors; or enhanced rich text, which supports the same formatting options as rich text and additional options for hyperlinks, pictures, and tables.
  • Append changes   If versioning (versioning: The process of creating a numbered copy of a file or an item whenever a revision is saved to the library or list.) has been enabled for the list or library, specify whether people can add new text about an item without replacing any existing text about that item. If you choose not to append changes, new text about an item replaces any existing text about that item in the column. If you choose to append changes, people can enter additional information about an item, while also viewing text that was previously entered and the date and time that the text was entered. When viewed in a list or library, not as a field in an item form, the column displays the hyperlink View Entries, instead of the text, and people can click the hyperlink to see all of the information stored in the column for that item.

 Important    If you turn off this option after you create the column, all information except the most recent entry is deleted.

  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.
  • Help ensure data integrity   You can help to ensure that data in a column meets specific criteria by validating the column, such as ensuring employee ID contains five characters. You type the formula that you want to use to validate the column and a message that you want to proved users to help them type valid data.

Top of Page Top of Page

Choice

Use this type of column to let people choose from a list of options that you provide. This column type is an ideal choice in cases where you want to ensure that all of the data in the column is consistent because you can limit the values that are stored in a column.

 Tip    To limit the values in a column to only those values that are stored in the site, use a Lookup column instead of a Choice column. You can learn more about Lookup columns later in this article.

You can customize a Choice column in these ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, a choice must be selected for this column.
  • Require unique values   Require that items in the list or library contain unique values in this column. For example, you can require that an employee ID is unique.
  • Define the list of choices   Provide a list of specific values that people can use. To provide this list, replace the sample text in the Type each choice on a separate line box with the values that you want. Type each value on a separate line. To start a new line, press ENTER.
  • Choose a display format   Specify whether to display the choices in an expanding box, called a drop-down menu, or as a set of option buttons, called radio buttons, or check boxes. If you display the choices in a drop-down menu or as radio buttons, people can choose only value from the list. If you display the choices as check boxes, people can choose more than one value.

 Tip    If you want people to choose only one value and the list contains five or more choices, a drop-down menu is typically the best format.

  • Enable additional custom choices   To allow people to enter a value that is not included in the list of choices, turn on Fill-in choices. Doing so is a good idea if you may not know all of the values that people need to enter about items. If you prefer that people use only the values that you specify, turn off Fill-in choices.
  • Display a default value   Automatically select a specific value when someone adds a new item, while also allowing people to choose a different value if they need to do so. A default value helps people enter information faster. For example, if the column stores the names of companies assigned to a project and your organization works with a specific company for most projects, you can enter the name of that company as the default value. As a result, the company name appears automatically when a new project is added to the list, and team members do not have to choose the name.

A default value can be either a value that you specify or the result of a calculation, which is called a calculated value. Calculated values are helpful when you want to display specific text in the column automatically but the text might vary depending on who added the item, when the item was added, or other reasons. To use a calculated value, you enter a formula, instead of specific text, as the default value. The formula can calculate a value based on information in other columns or system functions such as [today], to indicate the current date, or [me], to display the name of the person who adds or changes the item.

  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view    Add the column to the default view, which people on your site automatically see when they first open a list or library.
  • Help ensure data validity     You can help to ensure that the data in the column meets specific criteria by validating the column. You type the formula that you want to use to validate the column and a message that you want to proved users to help them type valid data.

Top of Page Top of Page

Number

Use this type of column to store numerical values that are not monetary values.

ShowTips for choosing a Number or Currency column

Both the Number and Currency column types store numerical values. Use a Number column to store numeric data for mathematical calculations that are not financial calculations or do not require a high degree of accuracy. Use a Currency column to store numeric data for financial calculations or in cases where you do not want round numbers in calculations. Unlike a Number column, a Currency column is accurate 15 digits to the left of the decimal point and 4 digits to the right. Both the Number and Currency column types provide predefined formats that determine how data appears.

You can customize a Number column in these ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data must be typed for this column.
  • Require unique values   Require that items in the list or library contain unique values in this column.
  • Specify minimum and maximum values   Limit the range of numbers that people can enter. For example, if the column stores the amount of work that has been completed for a task as a percentage, you can specify zero as the minimum value and one hundred as the maximum value. Similarly, if the column stores the number of attendees for an event and you want to limit attendees to a specific number, you can enter the maximum number of attendees as the maximum value.
  • Include decimal places   Specify whether the numbers contain decimal places and the number of decimal places to store. If the column may need to store numbers that have more than five decimal places, you can choose Automatic when selecting the number of decimal places to include. Automatic is also a good choice if the column stores the results of calculations and you want the result to be as precise as possible. However, if you want to ensure that all values in the column have the same number of decimal places, it's a good idea to limit the number of decimal places to zero, for whole numbers only, or another number of decimal places through five.
  • Display a default value   Automatically display a specific number when someone adds a new item, while also allowing people to enter different numbers if they need to do so. A default value helps people enter information faster. For example, if the column stores the number of computers that each team member has and every team member has at least one computer, enter 1 as the default value. As a result, 1 appears automatically when a new item is added to the list, and team members do not have to enter the number.

A default value can be either a number that you specify or the result of a calculation, which is called a calculated value. Calculated values are helpful when you want to display a specific number automatically but the number might vary depending on who added the item, when the item was added, or other reasons. To use a calculated value, you enter a formula, instead of a specific number, as the default value. The formula can calculate a number based on information in other columns or system functions.

  • Format the number as a percentage   Indicate whether to display and store the number as a percentage, and to treat it as a percentage when it is used to calculate other values.
  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.
  • Help ensure data validity   You can help to ensure that the data in the column meets specific criteria by validating the column. You type the formula that you want to use to validate the column and a message that you want to proved users to help them type valid data.

Top of Page Top of Page

Currency

Use this type of column to store monetary values.

ShowTips for choosing a Number or Currency column

Both the Number and Currency column types store numerical values. Use a Number column to store numeric data for mathematical calculations that are not financial calculations or do not require a high degree of accuracy. Use a Currency column to store numeric data for financial calculations or in cases where you do not want round numbers in calculations. Unlike a Number column, a Currency column is accurate 15 digits to the left of the decimal point and 4 digits to the right. Both the Number and Currency column types provide predefined formats that determine how data appears.

You can customize a Currency column in these ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data must be typed for this column.
  • Require unique values   Require that items in the list or library contain unique values in this column.
  • Specify minimum and maximum values   Limit the range of currency values that people can enter. For example, if the column stores reported expenses for an event and your organization limits reporting to amounts within a specific range, you can specify those limits as the minimum and maximum values.
  • Include decimal places   Specify whether values include decimal places and the number of decimal places to store. For currency values, you can choose two decimal places or, if you prefer to store only round values, you can choose zero. For non-monetary values used in calculations that require a high degree of accuracy, you can choose to limit the number of decimal places to zero through five or, for more precise values, choose Automatic to automatically use the appropriate number of decimal places for the result of the calculation.
  • Display a default value   Automatically display a specific value when someone adds a new item, while also allowing people to enter a different value if they need to do so. A default value helps people enter information faster. For example, if the column stores expenses incurred for setting up new accounts and that expense is typically the same for all new accounts, you can specify that amount as the default value. As a result, that value appears automatically when a new item is added to the list, and team members do not have to enter the number.

A default value can be either a value that you specify or the result of a calculation, which is called a calculated value. Calculated values are helpful when you want to display a specific value automatically but the value might vary depending on the item, who added the item, when the item was added, or other reasons. To use a calculated value, you enter a formula, instead of specific text, as the default value. The formula can calculate a value based on information in other columns or system functions.

  • Choose a currency format   Ensure that all of the values in the column are based on the same currency by selecting a specific currency format for the column.
  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.
  • Help ensure data validity   You can help to ensure that data in a column meets specific criteria by validating the column, such as ensuring employee ID contains five characters. You type the formula that you want to use to validate the column and a message that you want to proved users to help them type valid data.

Top of Page Top of Page

Date and Time

Use this type of column to store calendar dates, or both dates and times. The date format varies based on the regional settings for the site. If the format that you want is not available, ask your administrator to add support for the appropriate region to the site.

You can customize a Date and Time column in these ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data must be typed for this column.
  • Require unique values   Require that items in the list or library contain unique values in this column.
  • Include only the date or both the date and time   Specify whether you want to include only the calendar date or both the calendar date and time of day.
  • Display a default value   Automatically display a specific date or date and time when someone adds a new item, while also allowing people to enter a different value if they need to do so. A default value helps people enter information faster. For example, if the column stores the date when an expense is incurred and most expenses are incurred on the first day of the fiscal year, you can specify the first day of the fiscal year as the default value. As a result, that date appears automatically when a new item is added to the list, and team members do not have to enter the date.

A default value can be a value that you specify, the date an item is added to a list or library, or the result of a calculation, which is called a calculated value. Calculated values are helpful when you want to display a specific date or time automatically but the date or time might vary depending on the item. To use a calculated value, you enter a formula as the default value. The formula can calculate a value based on information in other columns or system functions such as [today], to indicate the current date. For example, if you want the column to display a date that is 30 days after the current date, type the equation =[TODAY]+30 in the Calculated Value box.

  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.
  • Help ensure data validity   You can help to ensure that data in a column meets specific criteria by validating the column, such as ensuring employee ID contains five characters. You type the formula that you want to use to validate the column and a message that you want to proved users to help them type valid data.

Top of Page Top of Page

Lookup

Use this type of column to let people choose values based on information that is already stored in the site. For example, if you want a column to store the names of customer accounts to which employees are assigned and the list of accounts must be limited to a Customer Accounts list on the site, you can create a Lookup column that displays the names in the Customer Accounts list. The list of choices in a Lookup column appear in either an expanding box, called a drop-down menu, or a list box, depending on whether you allow people to select more than one value.

You can customize a Lookup column in these ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data must be typed for this column.
  • Require unique values   Require that items in the list or library contain unique values in this column.
  • Choose the target of the lookup column   Specify which list or library contains the values that you want to store in the lookup column. The source cannot be a subsite (subsite: A complete Web site stored in a named subdirectory of the top-level Web site. Each subsite can have administration, authoring, and browsing permissions that are independent from the top-level Web site and other subsites.), workspace site (workspace site: A subsite based on the Document Workspace or Meeting Workspace site templates.), wiki, or blog. After you specify the list or library that you want, you can specify which column in the target list or library contains the values that you want people to choose from.
  • Add additional columns   Select the additional columns from the target list or library that you want to add to this list or library. The additional columns that are available differ depending on the target of the lookup.
  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.
  • Enforce a relationship   A lookup column establishes a relationship between list items in this list and related items in the target list. What do you want to happen when you attempts to delete and item from the target list?
    • Chose Cascade Delete if you want related items in this list deleted when you delete an item in the target list.
    • Chose Restrict Delete if you want to prevent the deletion of an item in the target list if it has one or more related items in this list.

Top of Page Top of Page

Yes/No

Use this type of column to store yes/no information, such as whether someone will attend an event. A Yes/No column appears as a single check box when people enter information about an item. To indicate Yes, team members select the check box. To indicate No, team members clear the check box.

You can use the data in a Yes/No column in calculations for other columns. In these cases, Yes is converted to a numeric value of one (1) and No is converted to a numeric value of zero (0).

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Display a default value   You can choosing a default value for a Yes/No column. A default value is the selection that appears automatically when someone adds a new item. People can select a different value if they need to do so. For a Yes/No column you can specify whether the check box is selected automatically, indicating a Yes value, or not, indicating a No value.
  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.

Top of Page Top of Page

Person or Group

Use this type of column to provide a searchable list of people, e-mail distribution lists, and from which people can choose when they add or edit an item. For example, on a Tasks list, a Person or Group column named Assigned To can provide a list of people that a task can be assigned to. The contents of the list depends on how directory services and SharePoint groups have been configured for the site. To customize the contents of the list, you may might need to contact your administrator.

You can customize a Person or Group column in the following ways:

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data must be typed for this column.
  • Require unique values   Require that items in the list or library contain unique values in this column.
  • Allow multiple selections   Allow people to select as many options as they like or limit the number of selections to only one option.
  • Include or exclude groups of people   Specify whether the list includes only individual people, or additionally includes e-mail distribution lists and SharePoint groups. For example, on a Tasks list, you might want to include only individual people to ensure that a specific person is responsible for each task. On a Projects list, you might want to include e-mail distribution lists and SharePoint groups to ensure that a team is associated with each project.
  • Limit the list to site users only   Specify whether the list includes all people and groups in the directory service or only those people and groups who have access to the site as members of a SharePoint group.
  • Specify which information to display   Choose which information you want to display about people or groups. For example, on a Contacts list for a large organization, you might choose to display a person's name, picture, and details such as skills and expertise. On a Contacts list for a small team, you might choose to display only a person's name or e-mail address.
  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.

Top of Page Top of Page

Hyperlink or Picture

Use this type of column to store a hyperlink to a Web page or to display a picture on the intranet or Internet.

A Hyperlink or Picture column stores the Uniform Resource Locator (URL) (Uniform Resource Locator (URL): An address that specifies a protocol (such as HTTP or FTP) and a location of an object, document, World Wide Web page, or other destination on the Internet or an intranet. Example: http://www.microsoft.com/.) for a Web page, picture, or other resource. Depending on the display format that you choose, it displays either a hyperlink that can be clicked to access the resource, or a picture instead of the URL for the picture. You cannot display both hyperlinks and pictures in the same column.

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, a URL to a Web page, picture, or resource must provided.
  • How to display   To display the URL as a hyperlink, select the Hyperlink format. When people enter information about an item, they can enter the URL and descriptive text that appears in the column, instead of the URL.

To display a picture, instead of the URL for the picture, select the Picture. When people enter information about an item they must enter the complete URL for the graphics file, such as http://www.example.com/image.gif, and they can optionally enter descriptive, alternative text for the graphic, which appears for people who turn off graphics in their browsers or rely on screen-reading software to convert graphics on the screen to spoken words.

  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.

Top of Page Top of Page

Calculated

Use this type of column to display information that is based only on the results of a calculation.

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Provide a formula   When you add a calculated column to a list or library, you create a formula that contains operators, such as subtraction (-) and addition (+), functions, specific values, and references to other columns. Formulas can calculate dates and times, perform mathematical equations, or manipulate text. For example, on a Tasks list, you can use this type of column to calculate the number of calendar days required to complete each task based on the Start Date and Finish Date columns (=[Date Completed]-[Start Date]). In a Contacts list, you can use a Calculated column to combine the first and last names of the contacts and separate them with a space, based on First Name and Last Name columns (=[First Name]&" "&[Last Name]). Note that the formula in a calculated column can only reference other columns in the same list or library.
  • Type of data returned    In addition to entering the formula for the calculation, you specify what type of data you want the calculation to return and how to store and display that data. To learn more about each data type, see the appropriate sections of this article.
  • Make available to all content types   . If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.

Top of Page Top of Page

External Data

External Data columns enable you to add data to lists and libraries from sources external to SharePoint that your administrator has configure in the Business Data Connectivity (BDC) service metadata store. For example, your administrator could enable a connection with your organization’s accounting system.

  • Provide a description   Provide a description to help people understand the purpose of the column and what data it should contain. Description is optional.
  • Require values   Require that when an item is created in a list or library, data must be in this column.
  • Require unique values   Require that items in the list or library contain unique values in this column
  • External Content   You can choose data from sources external to SharePoint if your administrator has configured the connection in the Business Data Connectivity (BDC) service metadata store. For example, in External Content Type you could type or browse to Customer, external data from your organization’s accounting system. In Select the Field to be shown on this column you could select Address. You can choose any number of fields to be brought back from the external data source and displayed in the list or library. For an example, select Select All Fields to bring back all of the address related fields. Alternatively, clear Select All Fields and individually select the address related fields.

If you want the available actions menu to be available for the item in the list or library, ensure Display the actions menu is selected. If you want the value in the column to be a link to the default action of the external content type, such as a user profile, ensure Link the column to the Default Action of the External Content type is selected.

  • Make available to all content types   If you want to be able to fill in this column for all content types in the list or library, ensure Add to all content types is select. For example, in a document library you might create a column call Project and ensure Add to all content types is selected. Every time you add a file in the library, regardless of content type, the Project column will be available. You will be able to group, filter, and sort the files by using the data in the Project column.

If the column you are creating does not logically apply to all content type in the list or library, clear Add to all content types. For example, if a library contains expense reports and images, a column such as image size would not apply to expense reports, so you probably do not want it added to all content types.

  • Add to default view   . Add the column to the default view, which people on your site automatically see when they first open a list or library.

Top of Page Top of Page

 
 
Applies to:
SharePoint Foundation 2010 , SharePoint Server 2010