Comments on: How to compare two columns in Excel for matches and differences

The tutorial demonstrates a number of techniques to compare and match two or more columns in Excel with formulas, conditional formatting and the specialized wizard. Continue reading

Comments page 2. Total comments: 262

  1. Column1 Column2
    Andy JOHNSON Andrew Johnson

    How can I highlight the difference in letters in this two names with another color ?

  2. Hi,

    Thank for the great article.

    Every singel one of this formulas gives me an "There is a problem with this formula" error when copy/pasting them into Excel...what am I doing wrong?

    1. Sorry, just found out. Your commas are semicolons on my Excel, no clue why, but took me a while to find out ;)

  3. I have to compare four column in two sheets. Like

    Sheet 1:
    column G "DHKMTRTA138217, DHKMTRTA162534,......... and Column E "DHAKA METRO-TA-13-8217", "DHAKA METRO-16-2534",...........

    Sheet 2:
    Column A "DHKMTRTA138217", "DHKMTRTA162534",.........

    I need a result in Column C of Sheet 2 "DHAKA METRO-TA-13-8217", "DHAKA METRO TA-16-2534",....... (Result need to pick from Sheet 1 column E)

    Would you kind help me to get the result

    Thank you
    Jewel

  4. I want that the values in Column B to Column Z gets highlighted as per the values entered in Column A. Two conditions for getting highlighted are 1.) When it is equal to or greater than the value of Column A
    2.) When it is in between the range of 90% to 99.99% of the value of Column A.

  5. I have two sheets. The first has two columns A has company names and B has the product they purchase. some companies are listed several times because they purchase various products. In Sheet two I have Company names (listed once) in column A starting in row 2 and the across row 1 I have the unique products. I would like to have the unique companies and all of the products they purchase in one row. example (Sheet 2 A2=company Name, all products that the company buys (listed in row 1) are then marked with an X across row 2) Any guidance will be greatly appreciated.

    1. Hello!
      If I understand your task correctly, the following formula should work for you:

      =IF(ISNUMBER(MATCH($A$2&B1,Sheet1!A1:A100&Sheet1!B1:B100,0)),"X","")

      You can learn more about MATCH function in Excel in this article on our blog.

  6. Hi,

    I wish to return a value of TRUE if all values in a series of Columns are present in another reference column.

    i.e.

    Reference Column
    A1
    A2
    A3
    A4
    A5

    Column Checked1
    A1
    A5
    A3

    Return TRUE

    Column Checked2
    A1
    B1
    A3

    Return FALSE

  7. I'm trying to compare two columns cell by cell or row by row to find values that are much higher or much lower than the estimated value in one column is there a simple way to do this?

    I not only want to know that there is a difference but how much the difference is can this be done with a formula also the values are labeled either E or G in a separate column is there a way to differentiate by these within the formula like IF "G" or something like that?

  8. Hi
    I have data like this:

    Foreign Name Mobile Phone Telephone 2 Telephone 1
    38822 9873225232 9811991232 9811597655
    38823 9871955755
    38824 9818380011
    38825 9810086774
    38825 9987022284 8800596095 9810086774
    38826 9811090878
    38827 9312227934 9811126121 9811126121
    38828 9312664028
    38829 9811256883
    38829 9811550006

    Can you please help me to find all unique contacts from different columns for same Foreign Name.
    Note there are duplicates Foreign Name as well as duplicate contact numbers in a sheet.
    Waiting for the positive response....

  9. Hi Sir,
    I need your help, i want a formula of column A & B which match in cross pattern, eg- A2 moon has B2 Mercury & A4 Mercury has B4 Moon its Match,
    below i have shown the condition. its like X pattern .

    A B C
    SUN JUPITER
    MOON MERCURY match
    MARS SUN
    MERCURY MOON match
    JUPITER VENUS
    VENUS MARS
    SATURN SATURN

    Thanks

  10. I need a formula that will compare numbers in Column B on sheet 1 to numbers in column A in sheet 2 and if it finds a match return a value from column AD from sheet 2 to column A on sheet 1.

  11. Dear experts,
    I am looking for a formula to match two column values.

    Col 1 have 300,000 rows (contains numbers only)
    Col 2 have 220,000 rows (contains numbers only)

    I would like to compare first 800 column values with col2 (all the cell values) and print the matching values.

    Repeat the same for every 800 values(second one starts from 801 to 1600) in col1 and compare with all the col 2 values and display the matching values.

    Can we do this in one formula for every 800 values increments ?

    Expected Results:
    --------------------------
    Matching values for first 800 values : List all the matching values
    (increments of 800 every time)
    Matching values for 801-1600 values : List all the matching values

    please advise. Thanks in advance.

    Cheers,
    Jane

    1. Hello!
      To get a list of duplicates from two columns try this formula -

      =TEXTJOIN(", ",TRUE,UNIQUE(IFERROR(INDEX(A1:A800,IFERROR(MATCH(B1:B800,A1:A800,0),"")),"")))

      To concatenate all values into a string, use the TEXTJOIN function.

  12. Hello there!
    I have a sheet which contains code and product type as shown below.

    Code P.T.
    1.01 BCF
    1.01 BCF
    2.05 BCD
    2.03 BCF
    2.03 BCD

    I want to check which individual code have two or more similar product types or set of some specific product types, how can I do that. Also, Thanks in Advance.

  13. I have 30 days sheet. I just want to confirm if the same Name is repeated under the same cell like in J2. Is there any shortcut or formula to do the same?
    I tried this but not working

    ='1'!J1='2'!J1='3'!J1='4'!J1='5'!J1='6'!J1='7'!J1='8'!J1='9'!J1='10'!J1='11'!J1='12'!J1='13'!J1='14'!J1='15'!J1='16'!J1='17'!J1='18'!J1='19'!J1='20'!J1='21'!J1='22'!J1='23'!J1='24'!J1='25'!J1='26'!J1='27'!J1='28'!J1='29'!J1='30'!J1='31'!J1

    1. It's working with this.
      =IF(AND('1'!J1='2'!J1,'3'!J1='4'!J1,'5'!J1='6'!J1,'7'!J1='8'!J1,'9'!J1='10'!J1,'11'!J1='12'!J1,'13'!J1='14'!J1,'15'!J1='16'!J1,'17'!J1='18'!J1,'19'!J1='20'!J1,'21'!J1='22'!J1,'23'!J1='24'!J1,'25'!J1='26'!J1,'27'!J1='28'!J1,'29'!J1='30'!J1,'30'!J1='31'!J1),"Match", "")

  14. In my excel sheet, Column A is having names, Column B is having a Country name, Column C is having phone numbers, Column D is having a subject list and Column E is having status (Active or Inactive). How

    Can I create data with name, country, and status?

    I have to display the active students' names while I select the country.
    eg. If I select 'India', active students in India have to be displayed.

  15. I am trying to use the example under the section 'Compare two lists and highlight matches and differences' (Example 3. Highlight matches (duplicates) between 2 columns). Whilst i can get this to work okay, i was wondering if there was a way where if in list 1 there were 2 cells with the same value which match with a single cell in list 2, if it would be possible to only highlight one of the cells in list 1 rather than both, essentially leaving the other blank as it would not match any remaining numbers.

    For Example:

    List 1 List 2
    10 10
    10 20
    30 30

    In the above example I would want the first 10 in list 1 to match the 10 in list 2, and therefore highlight, leaving the second 10 in list 1 not highlighted. The 20 would not be highlighted of course, and the 30's would be highlighted as there is a straightforward match.

    Hopefully you can assist!

    1. Hello!
      Here are conditional formatting formulas that will highlight only straightforwards matches in columns A and C.

      =COUNTIF($C$2:$C$6, $A2)*(COUNTIF($A$2:A2, $A2) < = COUNTIF($C$2:$C$6, $A2))
      =COUNTIF($A$2:$A$6, $C2)*(COUNTIF($C$2:C2, $C2) < = COUNTIF($A$2:$A$6, $C2))

      I hope I answered your question.

  16. Hi. I have three columns of numerical data. Start score. Projected score. End Score. I want to highlight the growth or deficiencies between the columns. What would the formula be for something like that?

  17. Hi,
    I have two excel sheets: base stock values for parts, and how many parts are at a specific location. All parts have an assigned part number. Each sheet has three columns: part number(column a), description (column b), and a numeric value (column c). I need to compare the sheets based on part numbers and return the difference; how many of a part is needed to make base stock. Vlookup got me close, but the main issue is some parts have multiple part numbers and I'm not sure how to account for that. I need the parts with multiple part numbers to be grouped up and only return one value/difference for that group. Hope that makes sense. Have a slight feeling this has to be done in vba.

    Thanks for the help

    1. Hello!
      To find the sum of a group of parts, you can use the SUMIF function. The formula might look like this:

      =SUMIF(Sheet1!A2:A10,Sheet1!D1,Sheet1!C2:C10)-SUMIF(Sheet2!A2:A10,Sheet1!D1,Sheet2!C2:C10)
      Sheet1!D1 - part group.

      I hope my advice will help you solve your task.

  18. I have 8 columns. A, B, C, D, E, F, G, H.
    I have to find a match if Column A range value matches Column D range and Column B range value matches Column E value. e.g. A1...An = D1..Dn AND B1..Bn = E1..En then True else False.

    Thanks,
    Mohammad

    1. Hi!
      If I understand your task correctly, the following formula should work for you:

      =IF((SUM(--(A1=D1:D10)) > 0)*(SUM(--(B1=E1:E10)) > 0),TRUE)

      You can learn more about IF function with multiple conditions in Excel in this article on our blog.

  19. Hi - thank you for the content.

    If I have a column containing duplicates and another column containing duplicates and non-duplicates in relation to the first column (but different values) - how do I find entries in the second column that are not duplicated in relation to the first?

    Example:

    COL1

    10491507PN
    10504180PR
    10600056PK
    10637712PW (dup)
    10637712PW (dup)
    10847773PE
    10862215PR
    10895567PF
    10931675P4
    10958992PO
    10968118P7 (dup)
    10968118P7 (dup)
    11383371PV
    11392084PW
    11650616PO

    COL2

    Comp
    Comp
    CompVV
    HomeCon (matches dup)
    HomeCon (matches dup)
    Comp
    Comp
    Comp
    Comp
    Comp
    TP (does not match dup)
    Comp (does not match dup)
    HomeCon
    HomeCon
    CompVV

    So in the above example I am aware 10637712PW is a duplicate. I need to also be aware the Col 2 has same values against that duplicate, eg HomeCon.

    I am also aware 10968118P7 is a duplicate and need to be aware that Col 2 has two different values against the duplicate, eg. TP and Comp.

    Please help?

      1. I figured out a way to solve this. Add two more columns, and in these, assign a number to all values in your second column, e.g. Comp is 42100 , CompVV is 42200, HomeCon is 42300 etc. You have to have two columns, with the same number in each. And use high values.

        Copy all the values from your original first column to a new sheet, remove duplicates, then with a COUNTIF formula count how many are there in your original first column of each. Then with a SUMIFS formula, sum the numbers in your first newly added column if they belong to a given value in your first original column. Then divide the result of these SUMIFS with the results of the COUNTIFS. Then lookup the numbers you get from this in your second added column. If they match, hooray, otherwise, there are different values assigned in your original second column to a value in your original first column.

        Hope this makes sense. It was much easier to do it then to explain it.

        1. This would be the end result using your values and my assigned numbers:

          10491507PN 1 42100 42100 42100
          10504180PR 1 42100 42100 42100
          10600056PK 1 42200 42200 42200
          10637712PW 2 84600 42300 42300
          10847773PE 1 42100 42100 42100
          10862215PR 1 42100 42100 42100
          10895567PF 1 42100 42100 42100
          10931675P4 1 42100 42100 42100
          10958992PO 1 42100 42100 42100
          10968118P7 2 84900 42450 #N/A
          11383371PV 1 42600 42600 42600
          11392084PW 1 42600 42600 42600
          11650616PO 1 42200 42200 42200

  20. if i have a value in A1 which i need to change to match value which is manually entered along the columns i.e if value is 10 and then 12 is entered into B1 i need A1 to match, and so on if 18 is entered into H1, A1 needs to change to 18

  21. Hello,
    I have a table with 50 columns and I want to create a new one who will display me if 2 or more values on the row are the same.
    Ex:

    No. C1 C2 C3 C4 C5 C6 N
    10 5 3 20 20 3 21 4
    11 7 2 7 3 1 7 3
    In my exemple N is the new column and it says to me that 4 ( C3 = C4 so 2 columns, C2 = C5 so another 2 columns, therefor 4 will be display) of the 6 column are matching with atleas one other column.

    Thank you !

      1. Yes, you did.

        But if I would want to have the duplicates shown how can I do it ?

  22. Hi,
    I need to count number of Sunday's he worked by referring empid from one sheet to another sheet.

    Information in sheet1 is emp I'd column and no. Of Sunday's to count in another column.

    Information in sheet 2 is list of emp IDs and worked on all weekdays in days.

  23. Hi,
    If I have older text in column A and newer text in column B for some Cells.
    How do I merge both with a logic saying:
    If there is no new text on column B, keep text of column A. If there is text on Column B, take text from column B.
    Thank you

  24. Here is my example:

    Column A Column B Column C
    2 Yes 5
    1 No
    10 Yes 8

    Is there a formula to state," If ColumnB=yes, then change ColumnA to ColumnC or if ColumnB=no, then do not change ColumnA

    TIA

  25. I have values in two different columns like below Example
    A b
    1 a
    2 b
    5 c
    6
    d

    How to compare and get output in C column on the condition If A have values, I want value of A in column C, If A don't have value I want value of B in Colum C, If column A,B are Empty C should be Empty)

    Expected output

    A b C
    1 a 1
    2 b 2
    5 c 5
    6 6
    d d

  26. What formula can I compare two list in column A & B from sheet 1 & sheet 2 and find exact matches?

  27. Hi

    I want to compare A1 to range of columns C1-C15 and B1 to range of columns D1- D15. If both conditions meet then i should return true. Please provide a way to resolve this

    Thanks
    Preetha

    1. Hello!
      If in each cell of the range C1: C15 the same values should be written equal to A1 —

      =IF(PRODUCT(--(C1:C15=A1))*PRODUCT(--(D1:D15=B1))>0,TRUE,"")

      If this is not what you wanted, please describe the problem in more detail.

  28. How to see the differences in two colums which have dates.. But the difference has to find with the dd only.

    Eg: 20210501 20210601 with this data the dd part is matching
    20210501 20210616 with this data dd part is not matching ( this is i need to find in a sheet)

  29. I have 2 excel sheets with 2 columns :
    Name of Item Values
    Want to compare "Name of Item" of 2 excels , and if same, compare "Values" .

    If values same , i want to create and populate with matching entries only.

    Thanks a lot in advance for help.

  30. hello

    how to compare 2 columns and if they had the value we want, and count those matches?
    like
    A B
    1 2
    3 4
    1 2
    we want to count how many rows are there that A=1 AND B=2 ?

  31. Please ignore previous message. Consider this below message.

    Hi Hello,

    Table: 1
    Beg Page End Page Pg Count Date Type Title
    1 4 4 04/07/2021 06_Other Notice to Assessor
    5 8 4 09/02/2020 03_Investigations Police Report
    9 9 1 00/00/0000 07_Other Fax
    10 11 2 02/26/2021 06_Other Legal Correspondence
    12 18 7 02/26/2021 01_Forms Accident Benefits Form
    19 19 1 02/26/2021 06_Other Authorzation
    20 20 1 02/17/2021 01_Forms Caregiver Benefit Form
    21 21 1 00/00/0000 03_Investigations Accident Report
    22 22 1 01/21/2021 06_Other Correspondence
    23 24 2 01/19/2021 01_Forms Activities Form
    25 25 1 11/12/2020 06_Other Legal Correspondence

    Table: 2
    Beg Page End Page Pg Count Date Type Title
    1 4 4 04/07/2021 06_Other Notice to Assessor
    10 11 2 02/26/2021 06_Other Legal Correspodence
    12 18 7 02/26/2021 06_Other Accident Benefits Form
    19 19 1 02/26/2021 06_Other Authorization
    20 20 1 02/17/2021 01_Forms Authorization
    21 21 1 00/00/0000 03_Investigations Accident Report
    22 22 1 01/21/2021 06_Other Legal Correspondence
    23 24 2 01/19/2021 01_Forms Activities Form
    25 25 1 12/11/2020 03_Investigations Legal Correspondence

    Sir, How to compare Table1 vs Table2 as a result of missing sequence, date differences, type differences & Title differences?

  32. Hello all,
    thank you for this really helpful, have one question though.

    I need to compare two files with over 60k rows and columns from A to BD where only certain information was changed and the new file does not contain all rows as the original one. That means first vlookup and than match :/ is it somehow possible?

    Thank you for your help...

      1. Hello Alexander,

        Thank you so much for your reply and suggestions.

        Have a great day.

  33. I have 2 columns. Column 1 has Name and surname and column 2 has full name with the surname. which formula would I use to see which names don't match?

    Eg
    Column 1 Column 2
    John Smith John William Smith
    Halley White Halley Brown

    1. Hello!
      Please try the following formula:

      =IF(COUNTIF(B2,"*"&SUBSTITUTE(A2," ","*")&"*")>0,"Match","Not match")

      I hope my advice will help you solve your task.

  34. Good morning,

    So first of all, thank you for this post. It helped me with most of what I need. I am missing one example which applies to my case. I am trying to see whether there are any matches in 5 columns where the value I am looking for is "Y". If "Y" is present in more than one of these columns, I want it to return as "Yes" and if not then "No". This is the formula I used: =IF(COUNTIF(J27:M27,I27)+COUNTIF(K27:M27,J27)+COUNTIF(L27:M27,K27)+(L27=M27)="Y","Yes","No")

    I am missing one small parameter though. I need to include the logic to that formula where H27 must also have a "N" value.....so it's all of the original formula AND H27 must also have a value of "N". Hopefully, I am making my question clear enough. It's looking for matches in columns I-M while having column H="N".

    Any help would be appreciated.

    Thank you

  35. Hi ,
    I am looking for a way to compare two columns of data where in the data is latitude and logitudes. The latitudes are in 9 char (alpha numeric) like N90 80 01 01 and Logitude is 10 char(alpha numeric) lik E111 54 50 89. I want to compare two cells of latitude or longitude to find whether the first 7 char of Latitude and first 8 chars of the longitude are matching. In other words i want to compare only the string of first 7 chars or first 8 chars in two columns.

    The examples dont talk about string match or am i missing something. Need help on this.

    1. Hello!
      To compare two columns for matches or differences in the same row use formula:

      =IF(LEFT(A2,7)=Left(B2,7),"Match","No match")

      To compare two columns in Excel for matches and differences —

      =IF(COUNTIF(B1:B10,LEFT(A1,7)&"*")>0,"Match","Not match")

      I hope my advice will help you solve your task.

  36. Hi...
    May I know how to highlight whole row if Column B consists of "Apple" and Column C have the same items. Example below: I wish to highlight whole row of 01, 02, 03, 07, 08 & 09 as they have "Apple" and same item number. Thanks a lot

    01 Orange 123-789
    02 Pineapple 123-789
    03 Apple 123-789
    04 Grape 123-456
    05 Kiwi 123-456
    06 Orange 123-456
    07 Kiwi 123-968
    08 Pineapple 123-968
    09 Apple 123-968

  37. Hi,

    I want to make a sheet like pre-populated with answers.

    For examples;

    Each row has 5 columns (question number, option A, B, C, D), like below:

    Question # 1, has 4 options to pick - A, B, C or D. The correct answer is D.
    Question # 2, has 4 options to pick - A, B, C or D. The correct answer is B
    Question # 3, has 4 options to pick - A, B, C or D. The correct answer is A.

    Next, I want to run my answer through the same sheet without looking
    at the pre-populated answers.

    My answer like I pick:

    Question # 1, has 4 options to pick - A, B, C or D. My picked answer is A.
    Question # 2, has 4 options to pick - A, B, C or D. My picked answer is B.
    Question # 3, has 4 options to pick - A, B, C or D. My picked answer is C.

    At the end, I click on a button or macro, and show me nothing but saying
    either you passed (if the given answers are matching with pre-populated
    answers - 100%) or failed (showing % scored, i.e. 33.33% in the above case).

    Any help?

    Thanks

    1. I think, I made too complicated in my question. Just realized after posting, it can be much simplified.

      Each row has 3 columns (question number, pre-populated answer and my answer), like below:

      Question # 1, D, A
      Question # 2, B, B
      Question # 3, A, C

      At the end, I click on a button or macro, and show me nothing but saying either you passed (if the given answers are matching with pre-populated answers - 100%) or failed (showing % scored, i.e. 33.33% in the above case). Thanks!

      1. Almost there... with the exception of one thing :)

        Question # Correct Answer My Answer Result Marking
        1 A B FALSE 0
        2 C C TRUE 5
        3 C D FALSE 0

        Somehow, when I do sum on the last column, shows always 0 not 5. I have made last column as properties of it as number. It does not add and treating still somehow like: =IF(C3=B3, "5", "0") instead of its value like 0 or 5. This is where I am stuck now. Any help?

  38. Hello,
    Trying to see if it's possible to compare data in list 1 against data in list 2 and output the values that don't match in list 1 in another column.

    List 1 (these values are in a single cell, just separated by carriage returns)
    CN
    SA
    NS
    RO

    List 2 (single value in each row)
    CN
    NE
    NP
    RO

    Ideally, I'd like to have the formula in an adjacent column to list 1 and output the values that don't match up to any in list 2 that resides in a different sheet. In my example above, I would expect to see 'SA' and 'NS' as the output from the formula. Not sure if there is a function that can look through data as it's formatted in list 1.

  39. Hi, is it possible to do the one under "How to compare two columns in Excel for matches and differences" but for many columns instead of just comparing one column to a second column?

    Thanks

  40. how can i compare two lists having some spelling mismatch
    example
    column A column B
    Jemal Mohammed JAMAL MUHAMED
    Donald trump DANNALD TRAMP

    1. Hello!
      What result do you want after comparison?
      I'd recommend you to have a look at our Ultimate Suite for Excel - Ablebits Data - Duplicate Remover - Find Fuzzy Duplicates tool that can help you.
      It is available as a part of our Ultimate Suite for Excel that you can install in a trial mode and check how it works for free.

  41. Hi, I need help to compare full years outstanding amount with the pre-set credit limit and find out the consecutive month which the outstanding amount had exceeded the credit limit. For example, we had set the credit limit for customer ABC for 5,050. I need to compare with the 12 months outstanding amount and find out 3 consecutive months which the outstanding amount is exceeded 5,050, thanks in advance.

  42. hello, thank you for this intuitive guide, but I hve a bootstrap samples of random numbers (1 through 5) generated using randbetween formula with 5 rows and 6000 columns, but I want to know how I can highlight the repeating columns in the 6000 columns using conditional format.
    I will be glad to hear from you.
    Thank you

  43. Hi

    What if there two cells with multiple text words within each separated by commas and I want to compare and highlight which of the words in thee two cells are a match or are different?

  44. Hi.
    I was just wondering...
    What formula should use to reconcile two columns of mixed invoice numbers in order to confirm their existence to both of columns.
    2. after the reconciliation to find their differences on their amounts which is the next column of each invoice. See below. Thank you

    A1232323 € 50.00 A1232323 € 50.00
    A1232324 € 55.00 A1232332 € 60.00
    A1232325 € 56.00 A1232333 € 65.00
    A1232326 € 57.00 A1232326 € 57.00

    1. Hello!
      How to compare two columns is described in detail in the manual above. If you have a problem, please specify which formula you mean and describe the problem in more detail. Thank you.

      1. Dear Alexander thank you for the response.
        I tried to read the article but still not find any formula matched.
        I will try to be more specific.
        Imagine that i am the company A and my creditor is company B.
        I have to reconcile the invoices has sent me until now if i had them too in my records.
        This is the first formula that i need to find from the two columns the same invoices and colour them.
        The second formula which that is the most important is to find the same invoices from the columns which are mixed and try to find if are they have any differences in their amounts and show me the difference if any.
        See the below example:

        Company A Amount Company B Amount Formula Formula

        ABC353536 € 56.00 ABC353538 € 65.00 ABC353536 € -
        ABC353537 € 58.00 ABC353536 € 56.00 ABC353537 -€ 2.00
        ABC353538 € 65.00 ABC353537 € 60.00 ABC353538 € -
        ABC353539 € 70.00 ABC353540 € 78.00 ABC353539 -€ 8.00
        ABC353539 € 75.00

        As you can see i am missing the invoice ABC353540 this one will be not coloured
        Also the invoices that they matched they are also been calculated if they have difference on their amount.

        1. Hello George!
          Use the condition formula to select the same accounts using conditional formatting

          =NOT(ISERROR(MATCH(A2,$C$2:$C$15,0)))

          To select the same accounts with the same amounts, use the formula

          =NOT(ISERROR(MATCH(A2&B2,$C$2:$C$15&$D$2:$D$15,0)))

          We have a ready-made formula-free solution for your task.
          We have a tool that can solve your task in a couple of clicks:

          Ablebits Data - Compare Tables

          This tool is available as a part of our Ultimate Suite for Excel that you can install in a trial mode and use for 30 days for free: https://www.ablebits.com/files/get.php?addin=xl-suite&f=free-trial

          1. That's amazing!! I am very happy for using it. This is very helpful.
            One more thing. Could the second formula show the difference on amount instead of TRUE or False?

          2. Dear Alexander

            Thank you very much for your time.
            I will try it and give you the feedback :)

  45. Hi,
    I'd like to identify the current month is within a start and end date range. So for example I have a start Month of May and and end month of July. I'd like the formula to identify that the current month is within the range and return a yes.
    Thank you

    1. Hello Michael!
      If I understand your task correctly, the following formula should work for you:

      =IF(AND(MONTH(TODAY())>=MONTH(A1), MONTH(TODAY())<=MONTH(B1)),TRUE,FALSE)

      I hope it’ll be helpful.

    2. hope this also helps from a visual point of view
      Start Date || Due Date || Effort || Status || Priority || May || June || etc
      April || July. || H || Active.|| P1. || yes|| yes || etc

  46. Hi I have a slightly different query.

    Column A Column B
    1 1
    0 0
    1 0
    1 1
    1 0
    I want to count all those rows which have 1 in both columns. The output should be 2. Kinldy help me in putting the formula.

    1. Hello!
      If I got you right, the formula below will help you with your task

      =SUM((A:A=1)*(B:B=1))

      I hope this will help

  47. Hello,
    I have 2 excel with more than 500 row in both excel (peoples name)
    Since full names of peoples are not exactly same in both excel but for some name first name is matching and for some name, middle and last name is matching.
    so what formula can we use to find matching word between these 2 excel.
    thanks.

    1. Hello Shiv!
      Please describe your problem in more detail. Write an example of the source data and the result you want to get. It’ll help me understand it better and find a solution for you. Thank you.

      1. did you get a reply

  48. Hi,
    I have 2 columns: Column C - having all my dates when my customers require delivery and Column E – having all my dates when I will be finished. I want my dates in Column E to be GREEN if it is less than Column C and RED if it is greater than Column C. Can you assist with a formula or show me how, I’ve tried through conditional formatting and struggling, please assist.

  49. Hello there,
    I have 30 questions (from Row 2 to 31 and Row 1 is header row). Column A is for question number, Column B is for correct answer, Column C is student 1 answer, Column D is student 2 answer and so on..
    I just want total correct answers for each student in row 32. I dont know if we can do anything with countif or sumif.. but what i did was, I added 1 column in the right for each student and then i put a simple formula if his/her answer matches with column B then 1 else 0, and the summing up in row 32.. is there any way to avoid those extra columns?

    1. Never mind.. i got my answer.. using sumproduct..

  50. Hi there,
    I need help, bellow here is the scenario.
    Column A = Client names
    Column B = Manager name
    Column C = Sign off date
    Identify any records where “Client Name” paired with “Manager name” has answer to “Sign off date” with dates that are not equal.

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 :)