Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Microsoft Lists

You're reading from   Hands-On Microsoft Lists Create custom data models and improve the way data is organized using Lists in Microsoft 365

Arrow left icon
Product type Paperback
Published in Jul 2021
Publisher Packt
ISBN-13 9781801075046
Length 356 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Rene Modery Rene Modery
Author Profile Icon Rene Modery
Rene Modery
João Ferreira João Ferreira
Author Profile Icon João Ferreira
João Ferreira
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Chapter 1: Getting Started with Microsoft Lists 2. Chapter 2: Creating Your First List FREE CHAPTER 3. Chapter 3: Microsoft Lists Core Features 4. Chapter 4: Collaborating on Microsoft Lists 5. Chapter 5: Creating Microsoft Lists Views 6. Chapter 6: Customizing Microsoft Lists 7. Chapter 7: Customizing Microsoft Lists Views 8. Chapter 8: Customizing Microsoft Lists Forms 9. Chapter 9: Integrating Microsoft Lists with the Power Platform 10. Chapter 10: Microsoft Lists for Admins and Advanced Users 11. Chapter 11: Extending Microsoft Lists Using SPFx 12. Other Books You May Enjoy

Creating a list from Excel

Often, you won't want to create a new list when starting from a blank canvas, as you may have already defined the data structure and potentially even have existing data. A lot of corporate and personal information resides in Excel spreadsheets. In some cases, you may want to take this information from an existing spreadsheet and put it into a list, in order to make use of additional functionalities such as formatting columns or creating a workflow to respond to changes.

If we have a spreadsheet where we keep track of our annual leave, we will likely have the structure of our information already defined, and will also have some data already available in this spreadsheet:

Figure 2.19 – Existing spreadsheet with a data table

Figure 2.19 – Existing spreadsheet with a data table

As we saw previously, Microsoft Lists can be created from such existing Excel spreadsheets. Generally, it is highly recommended to review and clean up the data inside your spreadsheet before you perform any imports. Any data that exists in the table you want to import from your spreadsheet will be added to your list as new items. But if you do not want to import everything, performing a cleanup in Excel beforehand is easier than doing the cleanup afterward in your list.

When you start the process of creating a new list, you can select From Excel as a starting point. The dialog that appears allows you to either upload a local file or select an existing file from the current site's Documents library:

Figure 2.20 – Creating a new list from an Excel spreadsheet

Figure 2.20 – Creating a new list from an Excel spreadsheet

Once you have selected your spreadsheet, the import process will start by examining the file for any existing tables. If no tables are available in your file, you will be informed about how to format your data accordingly to make use of the import functionality:

Figure 2.21 – Information dialog informing you of how to format your spreadsheet

Figure 2.21 – Information dialog informing you of how to format your spreadsheet

If tables are found in your document, the import process will ask you to select the table to be used. If there are multiple tables in your spreadsheet, you need to define which single table should be used. You can also review the identified column from the selected table and define which column type to use, respectively. Depending on the format of the data in your spreadsheet, different options are available.

For example, a column that has been formatted as a date or as a number in Excel can be set up as text, number, choice, date, or currency in your list:

Figure 2.22 – Import dialog showing the column type options for columns with number values

Figure 2.22 – Import dialog showing the column type options for columns with number values

If the column is formatted as text only, the provided options are restricted to text and choice only:

Figure 2.23 – Import dialog showing the column options for columns with text values

Figure 2.23 – Import dialog showing the column options for columns with text values

If desired, you can also choose to exclude columns from your table by selecting Do not import as the column type. It should also be noted that not all column types can be imported. Complex types, such as Person or Group, can't be imported easily, so they can't be selected. When you import a spreadsheet, you should consider this limitation and plan for it accordingly. Further configuration and manual data imports might be required.

Once you've confirmed the column configuration, you can define a name and description for your list and complete the process. The list will then be set up with the selected columns, and any available data from the spreadsheet will be imported into it:

Figure 2.24 – A list created from an Excel spreadsheet

Figure 2.24 – A list created from an Excel spreadsheet

Instead of creating a blank list and adding columns manually, you now know how to leverage the From Excel creation functionality to easily and quickly set up a new list based on an existing spreadsheet. As a lot of corporate data is often stored in Excel spreadsheets first, this method is extremely useful for converting such spreadsheets into a list in a convenient manner.

With that, we have seen how to create our own lists by starting from scratch and adding relevant columns as needed, and we have also looked at how to create a list based on an existing Excel spreadsheet. The next step is to learn how to duplicate a list that already exists.

You have been reading a chapter from
Hands-On Microsoft Lists
Published in: Jul 2021
Publisher: Packt
ISBN-13: 9781801075046
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image