How to track changes in Excel

The tutorial shows how to track changes in Excel: highlight changes on screen, list changes in a separate sheet, accept and reject changes, as well as monitor the last changed cell.

When collaborating on an Excel workbook, you may want to keep track of the changes that have been made to it. This could be especially useful when the document is almost finished and your team is making the final revisions.

On a printed copy, you could use a red pen to mark edits. In an Excel file, you can review, accept or reject changes electronically by using the Track Changes feature specially designed for it. Furthermore, you can monitor the latest changes by using the Watch Window.

Excel Track Changes - the basics

By using the built-in Track Changes in Excel, you can easily review your edits directly in the edited worksheet or on a separate sheet, and then accept or reject each change individually or all changes at a time. To use the Excel tracking feature most effectively, there are a few points for you to remember.

1. Track Changes is only available in shared workbooks

Excel's Track Changes works only in shared workbooks. So, whenever your turn on tracking in Excel, the workbook becomes shared, meaning that multiple users can make their edits simultaneously. That sounds great, but sharing a file has its drawbacks too. Not all Excel features are fully supported in shared workbooks including conditional formatting, data validation, sorting and filtering by format, merging cells, to name a few. For more information, please see our Excel shared workbook tutorial.

2. Track Changes cannot be used in workbooks that contain tables

If the Track Changes button is unavailable (grayed out) in your Excel, most likely your workbook contains one or more tables or XML maps, which are not supported in shared workbooks. In that case, convert your tables to ranges and remove XML maps.

3. It's not possible to undo changes in Excel

In Microsoft Excel, you cannot revert the worksheet back in time by undoing changes like you can do in Microsoft Word. Excel's Track Changes is rather a log file that records information about the changes made to a workbook. You can manually review those changes and choose which ones to keep and which ones to override.

4. Not all changes are tracked in Excel

Excel does not track every single change. Any edits you make to cell values are tracked, but some other changes like formatting, hiding/unhiding rows and columns, formula recalculations are not.

5. Change history is kept for 30 days by default

By default, Excel keeps the change history for 30 days. If you open an edited workbook, say, in 40 days, you will see the change history for all 40 days, but only until you close the workbook. After closing the workbook, any changes older than 30 days will be gone. However, it's possible to change the number of days for keeping change history.

How to track changes in Excel

Now that you know the basics of Excel Track Changes, let's talk about how to enable and use this feature in your worksheets.

Turn on Excel Track Changes feature

To view the changes made to a given workbook by you or other users, perform these steps:

  1. On the Review tab, in the Changes group, click the Track Changes button, and then select Highlight Changes....
    Highlight changes in a shared workbook.
  2. In the Highlight Changes dialog box, do the following:
    • Check the Track changes while editing. This also shares your workbook. box
    • Under Highlight which changes, select the desired time period in the When box, and whose changes you want to see in the Who box (the screenshot below shows the default settings).
    • Select the Highlight changes on screen option.
    • Click OK.

    Highlight Changes options

  3. If prompted, allow Excel to save your workbook, and you are done!

Excel will highlight edits by different users in different colors as shown in the next section. Any new changes will be highlighted as you type.

Tip. If you are enabling Excel Track Changes in a shared workbook (which is indicated by the word [Shared] appended to the workbook name), the List changes on a new sheet will also be available. You can select this box too to view full details about each change on a separate sheet.

Highlight changes on screen

With Highlight changes on screen selected, Microsoft Excel shades the column letters and row numbers where changes were made in a dark red color. At the cell level, edits from different users are marked in different colors - a colored cell border and a small triangle in the upper-left corner. To get more information about a specific change, just hover over the cell:
Highlight changes on screen

View tracked changes history in a separate sheet

Apart from highlighting changes on screen, you can also view a list of changes on a separate sheet. To have it done, perform these steps:

  1. Share a workbook.

    For this, go to the Review tab > Changes group, click the Share Workbook button, and then select the Allow changes by more than one user at the same time check box. For more detailed steps, please see How to share a workbook in Excel.

  2. Turn on the Excel Track Changes feature (Review > Track Changes > Highlight Changes).
  3. In the Highlight Changes dialog window, configure the Highlight which changes boxes (the screenshot below shows the recommended settings), select the List changes on a new sheet box, and click OK.

List changes on a separate sheet.

This will list all tracked changes on a new worksheet, called the History sheet, which shows many details about each change including when it was made, who made it, what data was changed, whether the change was kept or not.

The conflicting changes (i.e. different changes made to the same cell by different users) that were kept have Won in the Action Type column. The numbers in the Losing Action column refer to the corresponding Action Numbers with information about the conflicting changes that were overridden. As an example, please see action number 5 (Won) and action number 2 (Lost) in the screenshot below:
The History sheet

Tips and notes:

  1. The History sheet displays only saved changes, so be sure to save your recent work (Ctrl + S) prior to using this option.
  2. If the History sheet does not list all the changes that have been made to the workbook, select All in the When box, and then clear the Who and Where check boxes.
  3. To remove the History worksheet from your workbook, either save the workbook again or uncheck the List changes on a new sheetbox in the Highlight Changes dialog window.
  4. If you want Excel's track changes to look like Word's track changes, i.e. deleted values formatted with strikethrough, you can use this macro posted on the Microsoft Excel Support Team blog.

Accept or reject changes

To accept or reject changes made by different users, go to the Review tab > Changes group, and click Track Changes > Accept/Reject Changes.
Accept or reject changes in Excel

In the Select Changes to Accept or Reject dialog box, configure the following options, and then click OK:

  • In the When list, choose either Not yet reviewed or Since date.
  • In the Who list, select the user whose changes you want to review (Everyone, Everyone but me or a specific user).
  • Clear the Where box.

Select the changes to review.

Excel will show you the changes one by one, and you click Accept or Reject to keep or cancel each change individually.
Click Accept or Reject to keep or cancel each change individually.

If several edits were made to a given cell, you will be asked which of the changes you want to keep:
Choose which of the changes you want to accept.

Alternatively, you can click Accept All or Reject All to approve or cancel all changes in one go.

Note. Even after accepting or rejecting the tracked changes, they will still be highlighted in your workbook. To remove them completely, turn off Track Changes in Excel.

Set for how long to keep change history

By default, Excel keeps the change history for 30 days and permanently erases any older changes. To keep changes history for a longer period, perform these steps:

  1. On the Review tab, in the Changes group, click the Share Workbook button.
  2. In the Share Workbook dialog window, switch to the Advanced tab, enter the desired number of days in the box next to Keep change history for, and click OK.

Set for how long to the change history should be kept.

How to turn off Track Changes in Excel

When you no longer want changes to be highlighted in your workbook, turn off the Excel Track Changes option. Here's how:

  1. On the Review tab, in the Changes group, click Track Changes > Highlight Changes.
  2. In the Highlight Changes dialog box, clear the Track changes while editing. This also shares your workbook check box.
    Turn off Track Changes in Excel.

Note. Turning off change tracking in Excel permanently deletes the change history. To keep that information for further reference, you can List changes on a new sheet, then copy the History sheet to another workbook and save that workbook.

How to track the last changed cell in Excel

In some situations, you may not want to view all of the changes made to a workbook, but only to monitor the last edit. This can be done by using the CELL function in combination with the Watch Window feature.

As you probably know, the CELL function in Excel is designed to retrieve information about a cell:

CELL(info_type, [reference])

The info_type argument specifies what type of information you want to return such as a cell value, address, formatting, etc. Overall, 12 info types are available, but for this task, we will use just two of them:

  • Contents - to retrieve the cell's value.
  • Address - to get the cell's address.

Optionally, you can utilize other into types to retrieve additional information, for example:

  • Col - to get the column number of the cell.
  • Row - to get the row number of the cell.
  • Filename - to display the path of the filename that contains the cell of interest.

By omitting the reference argument, you instruct Excel to return information about the last changed cell.

With the background information established, perform the following steps to track the last changed cell in your workbooks:

  1. Enter the below formulas in any empty cells:

    =CELL("address")

    =CELL("contents")

    Like show in the screenshot below, the formulas will display the address and current value of the last cell changed:
    Cell formulas to track the last changed cell

    That is great, but what if you move away from the sheet with your Cell formulas? To be able to monitor the latest changes from any sheet that you have currently open, add the formula cells to the Excel Watch Window.

  2. Add the formula cells to Watch Window:
    • Select the cells where you've just entered the Cell formulas.
    • Go to the Formulas tab > Formula Auditing group, and click the Watch Window button.
    • In the Watch Window, click Add Watch... .
    • The small Add Watch window will show up, with the cell references already added, and you click the Add button.

Add the formula cells to Watch Window.

This places the formula cells into the Watch Window. You can move or dock the Watch Window toolbar wherever you want, for example at the top of the sheet. And now, whatever worksheet or workbook you navigate to, the information about the last changed cell is just a glance away.

Note. The Cell formulas catch the latest change that has been made to any open workbook. If the change was made to a different workbook, the name of that workbook will be displayed like shown in the screenshot below:
Tracking the last changed cell in Excel

This is how you track changes in Excel. I thank you for reading and hope to see you on our blog next week!

23 comments

  1. Better then documentation from microsoft congratulations

  2. With Excel files stored on OneDrive what is the best option as these legacy functions and VBA do not work and the latest track changes isn’t fit for purpose as it only shows you new value and not the old value.

  3. All my files are unshare workbook and I don`t know how to change it. The track changes options even appears for me.

  4. If for some reason I wanted to track the changes to an excel sheet cell for a really long period of time, is there anyway to push the tracking of the cell values to a database?

    Thank you.

  5. Thank you! Is it possible to limit only me or certain people have the permission to accept and reject changes? So not every user is allowed to accept and reject the changes they made? Thanks!

  6. How do i create the ability for collaborators to be anonymous in their additions to an shared excel file?

  7. In the latest excel version, sharing has been replaced with co-authoring. Can we track cell level changes and cell history in co-authored files? Actually this is one feature where Google Sheets beats excel. Your views please.

  8. I have a shared Excel 2016 file for which I am setting the track changes to show all changes by everyone on screen. After I save, close, and open the file again. The setting does not stay to highlight the tracked changes that were done by me and others, to the next user. Why does the setting revert on its own to show changes since my last save? Is there some way I can prevent this?

  9. Please explain why should we track changes to a workbook when working with others? what feature of workbook collaboration can i use in the future?

  10. Hello! Do you know if they make any plugins too pfotect
    against hackers? I'm kinda paranoid about losing everything I've
    worked hard on. Any tips?

  11. This procedure only works on an excel file shared across the network.
    This feature is not available if you are using excel online since anyone from the internet can make changes, from there no option is able to track changes.

  12. I have a spreadsheet that is used by several people and I want to know if there is a way to track who uses fill color in the cell (example: I have 25% in a column, 75% in a column and full amount in a column - I highlight 25% - light purple, 75% light Yellow and full amount light green when amounts are paid and others are white if not paid)----so if someone colors a cell the wrong color how can I tell? Is there a formula I can use to put in my excel (macro) spreadsheet to track?
    Thanks in advance.

  13. Hello, is it possible to retrieve changes in a workbook of Excell 2013 even when the Track changes feature is not enabled- Thank you.

  14. I didn`t see this "track changes" in my excel sheet. I`m using excel 2016. how to find this track changes option in my excel?

  15. Thank you so much for this stes-by-step Excel guides.

  16. I would like to create an excel document which needs to have sheets linked each other.

    Thank you in advance for your hel

    Rgds,

    Ruff

  17. I need your help for understanding the tracking file process

  18. I was working on a shared workbook with 3 other people on the same day. After a while the data got jumbled up. Changes that were made appeared on cells they were not made in. For example, a change that I made to row 23 appeared on row 22. Someone suggested that it could be due to how one of us sorted the data but so far we havent2 been able to conclude that. Does excel track who sorted the data and is there a way to fix the issue of changes appearing in the wrong cell?

  19. hey tnx for your wonderful website.

    i use excel to keep my accounting and production in whole year so i need to have all changes for all the time so i figured out when i save the file and close it and then i open it again the tracking option turns off and if i forget to enable it every morning that i open the file i will lose changes trackong and after enabling it in the middle of the day all the times which adds to cell tracking dialog is the time i enabled it. could you help me with that please? i what tracking option enabled all the time in my file

  20. This is the best excel site i ever seen, your site is so clear that any one can understand excel formulas and many more easily.

    Thanks

  21. I have never seen any website explaining in simple and detail way like this website!

  22. Better than documentation from Microsoft !
    Congrats!

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)