How to Compare Lists of Data and Find Differences in Excel

Do you need to compare information in different lists? For example, you may need to find out which values exist in two lists and highlight differences. There are several ways to compare two sheets or even workbooks in Excel. You can use functions like EXACT, IF, Lookup or Conditional Formatting to compare lists of data. In this blog, Happy's trainers Sal and Ebbie will use Conditional Formatting to highlight values in one list that do not appear in another list.

Hi, we are Happy

We are leading a movement to create happy, empowered and productive workplaces.

How can we help you and your people to find joy in at least 80% of your work?

Keep informed about happy workplaces

Sign up to Henry's monthly Happy Manifesto newsletter, full of tips and inspiration to help you to create a happy, engaged workplace.

Generally Conditional Formatting allows you to format cells that meet a given condition or criteria. But it can be used to highlight values in a list that do not appear in another, too:

To do this:

  1. Select the cells that you wish to apply Conditional Formatting to
  2. From the Home tab click on the Conditional Formatting Button
  3. Choose New Rule
    The New Formatting Rule (dialog box appears)
  4. Select use a formula to determine which cells to format
  5. Enter the formula =A3<>’Database 2′!A3
  6. Change the formatting of the cells (as required
  7. Click OK.

This scenario identifies some differences and highlights the cells.

If your sheets are in the same workbook you will need to show both sheets on the screen at the same time.

To show both sheets in same workbook:

  1. Click View Tab > New Window (opens same sheet a second time)
  2. Go back to View Tab > Arrange All > Select Vertical > Click OK

You can also have a scenario where the sheets are in different workbooks but you can’t use Conditional Formatting across workbooks. It will need a logical formula to find the differences.

Find out more on our Excel Level 4 course

Join us on our interactive and engaging Expert Excel Core Level 4 full-day course (split over two half-days) to learn how to build more complex calculations that will deepen your understanding and help you feel more confident with problem-solving in Excel.

Related blogs

Learn the 10 core principles to create a happy and productive workplace in Henry Stewart's book, The Happy Manifesto.

Support your aspiring and current managers to be empowering and confident leaders with Happy

Happy offers leadership programmes at Level 3, Level 5 and Level 7, from new managers/supervisor level all the way up to senior leadership teams and CEOs. These programmes are based on the ideas of trusting your people. They are practical and based on applying what yo’ve learnt. We aim to inspire and ignite change in your organisation, as well as giving you valuable management skills such as business strategy, decision-making, negotiation and project management.

We also offer programmes tailored specifically to people from Global Majority backgrounds. The content is the same, but have been designed to give new and experienced managers the skills they need to navigate organisational culture with a clearer perspective on their own potential, as well as building their confidence and expanding their professional strengths.

Sal Agoro

Sal trains most MS Office packages. Her real love is in transferring knowledge by making her training sessions fun and more impactful. She is Happy’s Outlook Champion and ensures Outlook courses and training material are updated regularly with new features. Sal has been at Happy for over three years.

What you should look at next