Comments on: How to compare data in two Google sheets or columns

Whether there's summer knocking on our doors or winter invading Westeros, we still work in Google Sheets and have to compare different pieces of tables with one another. In this article, I'm sharing ways of matching your data and giving away tips on doing that swiftly. Continue reading

Comments page 3. Total comments: 212

  1. Please, i need a formula to remove duplicates from a large data of name and phone number from two different columns. Thanks

  2. I am trying to test for conditions in two different columns and count the number of times the condition is true in both columns.
    For instance if the Value is "Closed" in column F and the Value is "M" in column K then count that row.

  3. Hi Natalia, I am hoping you will help me with a way to identify the common row fields from the two columns. They may not be in the same row and I want to identify the common in both columns appearing in anywhere in the two columns. All the fields in the individual columns are unique. Thanks for the opportunity to ask you this question.

  4. I am trying to compare/list duplicates taken from a calendar.
    Columns A and B are where people list their names and holiday dates. These columns got pretty bug quite quickly. To simplify looking for any available dates that you may want off I have created a drop down in J14 where you can select the month and which pulls the calendar for that month into cells J16:P21.
    I have taken dates from the list in column B and highlight the corresponding dates in the calendar in J16:P21.
    But, I want to list the people and the dates which they have booked off underneath the calendar.

    To recap.... compare dates from column B2:B to the calendar J16:P21 and list duplicates and the corresponding name from column A2:A

    1. Hello David,

      For us to be able to help you better, please share a small sample spreadsheet with us (support@4-bits.com) with your source data and the result you expect to get. I kindly ask you to shorten the table to 10-20 rows.
      Since we keep that email for file-sharing only, once you share the file, please confirm by replying here. Thank you.

  5. Hi,

    I have two separate Google Sheets, I need to take information from one sheet to the other. Using INDEX, MATCH how would I pull information over from one sheet to the other? MATCH("X",Sheet #2 URL, 0) doesn't seem to work

    Thanks

  6. Hey Guys!
    I'm having trouble doing this for two lists of names from a party. I have tried so many equations but still having trouble.
    For example, in one column I have the full list of invited guests and then in column B I have all the people who have paid. I am trying to find who hasn't paid for their ticket to the party. Can someone help me out?
    Cheers!

    1. I have two sheets of color names. in sheet one I have all the colors organized under their primary colors. I want to look for colors in column A of Sheet2 inside the table in Sheet1 and return in column B of Sheet2 the title of the column it was found in Sheet1. if there are multiple found then all in one cell separated with comma and no space. thanks

      1. Hello Maae,

        For us to be able to help you, please share a small sample spreadsheet with us (support@apps4gs.com) with 3 sheets: where 1st and 2nd are your sheets with colors and 3d is the result you need to get. I kindly ask you to shorten the tables to 10-20 rows.
        Note. We keep that Google account for file sharing only, please do not email there. Once you share the file, just confirm by replying here.

        We'll look into your task and see if our software can help.

    2. Hey Xavier,

      It looks like you need to find those names in column A that are not in column B. This point of the article offers a short formula to solve this:
      https://www.ablebits.com/office-addins-blog/google-sheets-compare-two-sheets-columns/#find-missing-data

      If you'd rather use colours, please read through this paragraph:
      https://www.ablebits.com/office-addins-blog/google-sheets-compare-two-sheets-columns/#highlight-both-lists

      Make sure your names are written identically and there are no extra spaces or other chars in them.

  7. Hi
    I you have a user database with all names in the SHEET1 A:A but in SHEET2!A:A you only have some of the names, and same with SHEET3A:A and SHEET4!A:A

    What if In SHEET1 you want the B:B collum to refference to what other sheet has the same name.

    So if the First name in The Sheet 1 list is «John B» And «John B» is also the 13th name in the SHEET3. How do I get SHEET!B1 to say SHEET3 when SHEET!A1 says «John B» ?

    If that makes any sence? What would the formula be in B1 (and dragged down for the rest of the sheet)

    1. Hi Christian,

      If I get your task correctly, this formula will help:
      =IF(COUNTIF(Sheet3!$A:$A,A1)>0,"Sheet3","")

      If you'd like to check in all 3 sheets at the same time and return the corresponding sheet name, try this one instead:
      =IF(COUNTIF(Sheet2!$A:$A,A1)>0,"Sheet2",IF(COUNTIF(Sheet3!$A:$A,A1)>0,"Sheet3",IF(COUNTIF(Sheet4!$A:$A,A1)>0,"Sheet4","")))

      Keep in mind that once the formula finds the value in Sheet2, it won't look in other sheets, it will return "Sheet2" right away. If the searched entry is absent from all three sheets, cells with formula will remain blank.

  8. Hi everyone,
    Can somone please help me with which formula to use:
    If Value in Column B is Column B minus Column A equal or greater than 2, then highlight Column B. So for example:

    Column A Column B
    100 103 = 103 is highlighted
    100 101 = 101 is not highlighted

    Thanks to whoever can answer this.

  9. Hi,
    I have to separate Google Spreadsheets. I need to make sure that they are identical. How can I compare the data between two separate spreadsheets?

    Thank you,
    Violet

    1. Hi Violet,

      To reference another spreadsheet, you need to use the IMPORTRANGE function.

      Thus, your formula to compare two Google Sheets for differences may look like this:
      =IF(Sheet1!A1<>IMPORTRANGE("link_to_your_2nd_spreadsheet","Sheet1!A1"),Sheet1!A1&" | "&IMPORTRANGE("link_to_your_2nd_spreadsheet","Sheet1!A1"),"")

Post a comment



Thanks for your comment! Please note that all comments are pre-moderated, and off-topic ones may be deleted.
For faster help, please keep your question clear and concise. While we can't guarantee a reply to every question, we'll do our best to respond :)