Tuesday, June 10, 2025

Here's the Easy Way to Insert a Table of Contents in Microsoft Word

A table of contents is incredibly useful, especially in long documents, as it eliminates the need to scroll through numerous pages to find the information you need. Thankfully, Microsoft Word makes inserting a table of contents into your document easy.

How to Create a Table of Contents Automatically in Word

Microsoft Word can automatically create a table of contents (TOC) based on the headings in your document. To use this feature, you first need to apply Word’s built-in heading styles to the headings and subheadings in your document.

To create headings, select the text, go to the Home tab, and choose the appropriate heading style from the Styles group. For example, use Heading 1 for main headings, Heading 2 for subheadings, and so on.

Once you've finished creating headings, follow these steps to insert a table of contents into your Word document.

  1. In your Word document, place the cursor where you want to insert the table of contents.
  2. Switch to the References tab.
  3. Click Table of Contents.
  4. Select Automatic Table 1 or Automatic Table 2 from the menu.
Table of Contents Menu in Microsoft Word

Word will create and insert the table of contents at the specified location. You can then navigate to a heading quickly by holding the CTRL key and clicking on the entry you want to jump to.

If you want to remove the table of contents from your document, simply go to References > Table of Contents and select Remove Table of Contents.

How to Update the Table of Contents in Word

While Word makes it easy to create TOCs, it doesn't automatically update them when you edit headings or move them to different pages. Fortunately, updating the table of contents manually is straightforward. Here's how to do it:

  1. Click anywhere within the table of contents to select it.
  2. Click the Update Table button that appears.
  3. Choose Update page numbers only if you have only made changes that affect the page numbers.
  4. Select Update entire table if you want to update the entire table of contents, including the headings.
  5. Hit OK to confirm.
Update Table of Contents in Word

Your table of contents will now be updated to reflect the latest changes in your Word document.

How to Customize the Style and Appearance of Your Table of Contents

If Word's default table of contents feels too plain, don't worry. Word offers several customization options to help you tailor it to match your document's design. Here's how you can make your table of contents more visually appealing:

  1. In your Word document, go to the References tab.
  2. Click Table of Contents and select Custom Table of Contents.
  3. In the Print Preview section, use the checkboxes to show or hide page numbers and adjust the alignment. You can also change the pattern style between the heading title and the page number.
  4. Under the General section, you can select from predefined styles and specify the number of heading levels you want to display in your TOC.
  5. Click Modify to change the appearance of items in the table of contents. In the Styles list, select the level you want to change, and then click Modify to change the font, size, color, format, and more.
  6. Once you’re done making the changes, click OK.

You can be as creative as you like while modifying the table of contents. If you need inspiration, check out these table of contents template examples for Microsoft Word. If customizing the table of contents manually seems like a lot of work, you can also download free, ready-made templates from the web.

Whether you choose to create a table of contents manually or use a template, it shouldn't take much time once you become familiar with the process.

Source: https://www.makeuseof.com/insert-table-of-contents-word/?utm_medium=newsletter&utm_campaign=MUO-202506100800&utm_source=MUO-NL&user=amltLm5hZ3kyQGdtYWlsLmNvbQ&lctg=02f46df6687a5c6b6c6a51453f460af32dc1bbe4d7321e3d7b193ec97761583e

Monday, September 11, 2023

How to Add a Drop-Down List to a Cell in Excel





















Drop-down lists are very useful data entry tools we see just about everywhere, and you can add custom drop-down lists to your own Excel worksheets. It’s easy and we’ll show you how.
Drop-down lists make it easier and more efficient to enter data into your spreadsheets. Simply click the arrow and select an option. You can add drop-down lists to cells in Excel containing options such as Yes and No, Male and Female, or any other custom list of options.
It’s easy to add a drop-down list to a cell in Excel, but the process is not intuitive. Drop-down lists are created using the Data Validation feature. We’re going to create a drop-down list with a selection of age ranges to show you how it’s done.
To begin, enter the list of age ranges into sequential cells down a column or across a row. We entered our age ranges into cells A9 through A13 on the same worksheet, as shown below. You can also add your list of options to a different worksheet in the same workbook.


01_entering_items_for_drop_down_list


Now, we’re going to name our range of cells to make it easier to add them to the drop-down list. To do this, select all the cells containing the drop-down list items and then enter a name for the cell range into the Name box above the grid. We named our cell range Age.


02_naming_cell_range


Now, select the cell into which you want to add a drop-down list and click the “Data” tab.


03_clicking_data_tab


In the Data Tools section of the Data tab, click the “Data Validation” button.


04_clicking_data_validation


The Data Validation dialog box displays. On the Settings tab, select “List” from the Allow drop-down list (see, drop-down lists are everywhere!).


05_selecting_list_from_allow


Now, we’re going to use the name we assigned to the range of cells containing the options for our drop-down list. Enter =Age in the “Source” box (if you named your cell range something else, replace “Age” with that name). Make sure the “In-cell dropdown” box is checked.
The “Ignore blank” check box is checked by default. This means that the user can select the cell and then deselect the cell without selecting an item. If you want to require the user to select an option from the drop-down list, uncheck the Ignore blank check box.


06_entering_source


You can add a popup message that displays when the cell containing the drop-down list is selected. To do this, click the “Input Message” tab on the Data Validation dialog box. Make sure the “Show input message when the cell is selected” box is checked. Enter a Title and an Input message and then click the “OK” button.


07_entering_input_message


When the cell containing the drop-down list is selected, you’ll see a down arrow button to the right of the cell. If you added an input message, it displays below the cell. The down arrow button only displays when the cell is selected.


08_drop_down_list_in_cell


Click the down arrow button to drop down the list of options and select one.


09_selecting_an_option


If you decide you want to remove the drop-down list from the cell, open the Data Validation dialog box as described earlier and click the “Clear All” button, which is available no matter which tab is selected on the dialog box.


10_clearing_drop_down_list


The options on the Data Validation dialog box are reset to their defaults. Click “OK” to remove the drop-down list and restore the cell to its default format.


11_clicking_ok_after_clearing


If there was an option selected when you removed the drop-down list, the cell is populated with the value of that option.


12_selected_option_in_cell_after_clearing



Source: https://www.howtogeek.com/290104/how-to-add-a-drop-down-list-to-a-cell-in-excel/

Monday, April 3, 2023

How to Compare Two Columns in Excel: 7 Methods

 When working with large Excel spreadsheets, comparing the data from two columns can be time-consuming. Instead of analyzing the columns and writing “Match” or “Mismatch” into a separate column, you can use Excel’s functions to streamline the process.

We’ll take a look at how to use different Excel functions to compare two columns and identify matching or mismatching data.

1. How to Highlight Duplicate Data

If you want to compare two columns in Excel, but don’t want to add a third column showing if the data exists in both columns, you can use the Conditional formatting feature.

  1. Select the data cells you want to compare.
  2. Head to the Home tab.
  3. From the Styles group, open the Conditional Formatting menu.
  4. Click Highlight Cells Rules > Duplicate Values.
     
    5. In the Duplicate Values window, make sure the Format cells that contain option is set to Duplicate and choose the formatting option next to values with.
  5. Click OK.

Excel will now highlight the names that are present in both columns.

2. How to Highlight Unique Data

You can use the same function if you want to identify data that isn’t part of both columns.

  1. Select the data set.
  2. Once again, head to Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values.
  3. For Format cells that contain, choose Unique.
  4. Select how the mismatched data should be highlighted and click OK.

Excel will now highlight the names that can be found only in one of the two columns.

 
While these methods are quite easy to use, they might not be efficient for larger spreadsheets, so you’ll have to take think about an efficient way to organize your spreadsheet. So we’ll take a look at more complex solutions that show you which rows have the same data or use an additional column to display values indicating if the data matches or not.

3. Highlight Rows With Identical Data

If you need a better visual representation of identical data, you can make Excel find matching values in two columns and highlight the rows with matching data. As we did on the previous method, we’ll use the Conditional formatting feature, but will add a few extra steps.

This way, you will have a visual indicator that will help you identify matching data faster than reading through a separate column. Follow these steps to use Excel’s conditional formatting to compare two sets of data:

  1. Select the data you want to compare (don’t include the headers) and open the Home tab.
  2. Click Conditional Formatting and select New Rule.
  3. From Select a Rule Type, click Use a formula to determine which cells to format.
  4. Enter =$A2=$B2 into the field below Format values where this formula is true. Here, A and B correspond to the two columns we are comparing.
     
    5. To customize how Excel will highlight the rows, click Format, and in the Format cells window, select the Fill tab. You can choose the background color, pattern style, and pattern color. You will get a sample, so you can preview the design. Click OK once you’ve completed the customization process.

  5. Click OK in the New Formatting Rule window, so Excel will highlight the rows with matching data instantly.
 
When comparing two columns in Excel using this method, you can also highlight the rows with different data. Go through the above steps, and at step 5, enter the =$A2<>$B2 formula within the Format values where this formula is true field.

4. Identify Matches With TRUE or FALSE

You can add a new column when comparing two Excel columns. Using this method, you will add a third column that will display TRUE if the data matches and FALSE if the data doesn’t match.

For the third column, use the =A2=B2 formula to compare the first two columns. If you think your spreadsheet will look too crowded with the TRUE and FALSE rows, you can set a filter in Excel, so it will only show the TRUE values.

5. Compare Two Columns With an IF Function

A different method to analyze Excel data from two columns is to use an IF function. This is similar to the above method, but it comes with the advantage that you can customize the displayed value.

Instead of having the TRUE or FALSE values, you can set the value for matching or different data. For this example, we’ll use the Data matches and Data doesn’t match values.

The formula we’ll use for the column showing the results is =IF(A2=B2,"Data Matches","Data Doesn’t Match").

6. Compare Two Columns With a VLOOKUP Function and Find Matching Data

Another way to have Excel find duplicates in two columns is to use a VLOOKUP function. Excel will compare each cell in the second column against the cells in the first column.

Use the =VLOOKUP(B2,$A$2:$A$14,1,0) for the column displaying the results. Just make sure you adjust the data range.

 
When using this formula, Excel will display the matching data or use a #N/A value. However, the #N/Avalue might be confusing, especially if you send the spreadsheet to someone else. If they are not experienced when it comes to Excel, they could believe there’s a mistake.


So to avoid any confusion, upgrade the VLOOKUP function to an IFERROR function. If you need to find data that is in column B and is also in column A, use the =IFERROR(VLOOKUP(B2,$A$2:$A$14,1,0),"Data Doesn't Match") formula.

This is just an example of a VLOOKUP function that you could use to search spreadsheets efficiently.

7. How to Compare Two Columns and Extract Data

Besides comparing two Excel columns for matches, you can also use the VLOOKUP function to extract matching data. This will save you time as you don’t have to manually go through the first column and search for relevant data.

Also, if data in the second column misses from the first column, Excel will display a #N/A value. For this, use the =VLOOKUP(D2,$A$2:$B$14,2,0) formula.

 
Note: If you want to protect your results from spelling mistakes, use the =VLOOKUP("*"&D2&"*",$A$2:$B$14,2,0) formula. Here, the asterisk (*) has the role of a wild card character, replacing any number of characters. This is just one of the ways you could use a wild card for better results in Excel

Compare Excel Columns With Ease

As we’ve discussed, there are plenty of ways and tricks you can use to compare two columns in an Excel spreadsheet and get the best results. You can even add a third column to display the results. You can even use Excel to compare physical documents, as you can quickly import data in Excel with its built-in tools.

Source: https://www.makeuseof.com/search/?q=How+to+Compare+Two+Columns+in+Excel%3A+7+Methods

Saturday, October 29, 2022

How to Import Data From a PDF to Microsoft Excel


To import data from a PDF file to Excel, open Excel and go to the "Data" tab, then navigate to Get Data > From File > From PDF and select your PDF. Customize the import settings as necessary for your data, then click "OK."

If you have a PDF document such as a bank statement or financial report, you may want to pull this information into Microsoft Excel. With a built-in feature, you can easily import and automatically convert a PDF to Excel.

This convenient feature can save you from hunting down a PDF file converter. Not only that, but it allows you to pick and choose the data from the file you want to import. The entire process takes only a minute.

Note: Since the time this feature was implemented, August 2020, it has only been available to Office 365 subscribers.

Connect a PDF File to Excel

To get started, select the sheet you want to work with in Excel and go to the Data tab. Click the Get Data drop-down arrow on the left side of the ribbon. Move your cursor to From File and pick “From PDF.”

Locate your file in the browse window, select it, and click “Import.”

Next, you’ll see the Navigator pane. On the left are the tables and pages in your PDF file. You can search for one at the top or simply select an element and see a preview on the right side.

When you see the item you want to import, click “Load” at the bottom of the window.

Load the data

Once your data is imported from the PDF, you should see it in your sheet along with the Queries & Connections sidebar. This handy spot lets you adjust the connected data if you wish, and we’ll explain these options below.

Data loaded into Excel

Adjust the Load Settings

If you prefer to load the data in a specific format such as a pivot table or to a new worksheet, select the Load drop-down arrow and pick “Load to” instead.

Select Load To

Then choose your options in the Import Data window and click “OK.”

Choose an import option

RELATED: How to Use Pivot Tables to Analyze Excel Data

Transform the Data with Power Query

Another option for importing data from your PDF is to transform it using the Power Query Editor. In the Navigator window where you select the element to import, click “Transform Data” at the bottom instead of “Load.”

This will open the Power Query window where you can do things like choosing or adding more columns, transposing rows and columns, managing parameters, and formatting the data.

Power Query Editor

Adjust the Connected Data

If you want to adjust the data you imported, you can do so by opening the data from the Queries & Connections sidebar. You can then take actions such as editing it using the Power Query Editor, duplicating, merging, adding a reference, or deleting the connected data.

RELATED: How to Create Your Own Data Type in Microsoft Excel

As mentioned, you’ll see the Queries & Connections sidebar open when you import your PDF file. If you happen to close it, you can reopen it by going to the Data tab and clicking “Queries & Connections” in the ribbon.

Place your cursor over the connected data and you’ll see a window appear. At the bottom, you have actions for View in Worksheet, Edit, and Delete. If you click the three dots, you’ll see options like Duplicate, Reference, and Merge.

Edit the connected data in Excel

You can also manipulate the data within your sheet as you normally would. If you’re using a table, you can filter and sort. You can also select a different style, update the font, and apply additional formatting.

RELATED: How to Create and Use a Table in Microsoft Excel

For those times when the data you need to work with or analyze comes in the form of a PDF, remember that you can pull that PDF file right into Microsoft Excel.

If you’re looking to do the reverse, learn how easy it is to save an Excel sheet as a PDF file.

Source: https://www.howtogeek.com/770474/how-to-import-data-from-a-pdf-to-microsoft-excel/

Wednesday, June 29, 2022

How to export PDF files from Acrobat to Excel, and Excel to Acrobat

You have just a few choices when working with PDFs and Microsoft Excel compared to everything you can do with PDFs in Microsoft Word. You cannot import PDFs from Adobe Acrobat directly into Excel 2016. However, you can export PDFs from Excel to Acrobat, and you can export from Acrobat to Excel. We'll show you how.
1- Export from Excel to Acrobat
2- Export from Acrobat to Excel

Export from Excel to Acrobat

1. To export from Excel to Acrobat, open an Excel spreadsheet.
2. Then choose File > Export, and click the Create PDF/XPS button.

xl15 file export create pdf


JD Sartain / IDG Worldwide
File export create pdf
3. The Publish As PDF screen appears and displays the Excel filename, followed by the Acrobat extension PDF in the File Name field box, followed by the PDF extension in the Save As Type field box (Products.pdf).
4. Click the Publish button and the system jumps to Adobe Acrobat. showing your Excel spreadsheet as an Acrobat PDF file.





xl16 publish and jump to acrobat JD Sartain / IDG Worldwide
Publish and jump to Acrobat
5. Choose File > Save As, then browse to the applicable folder (if necessary).
6. On the Save As screen, confirm the File Name (or change it), select Adobe PDF files (*.pdf) for the Save As Type, then click the Save button. Conversion complete!





xl17 save as adobe pdf JD Sartain / IDG Worldwide
Save As Adobe pdf

Export from Acrobat to Excel

1. To export the PDF from Acrobat to Excel, open the PDF file.





2. Select Export To > Spreadsheet > Microsoft Excel Workbook.
3. On the Save As screen, Acrobat enters the Export File Name for you followed by the Excel extension xlsx.
4. Ensure the Save As Type says: Excel Workbook (*.xlsx).
5. Click the Save button and the conversion is complete!





xl18 convert the pdf back to an excel wprksheet JD Sartain / IDG Worldwide
Convert the pdf back to an Excel worksheet

To comment on this article and other PCWorld content, visit our Facebook page or our Twitter feed.
JD Sartain is a technology journalist from Boston. She writes the Max Productivity column for PCWorld, a monthly column for CIO, and regular feature articles for Network World.


Source: https://www.pcworld.com/article/3314749/software/how-to-export-pdf-files-from-acrobat-to-excel-and-excel-to-acrobat.html?idg_eid=8458d72e614c68751de48f5c175520f4&email_SHA1_lc=f7e21d5e818ec725d3ee897e41e5054f614367ba&cid=pcw_nlt_pcw_powertips_html_2018-10-23&utm_source=Sailthru&utm_medium=email&utm_campaign=PCWorld%20Power%20Tips%202018-10-23&utm_term=pcw_powertips_html