+ Reply to Thread
Results 1 to 13 of 13

Trying to make the spreadsheet compare the text in two cells for a comparison

  1. #1
    Registered User
    Join Date
    01-12-2016
    Location
    Blackpool
    MS-Off Ver
    2016
    Posts
    39

    Trying to make the spreadsheet compare the text in two cells for a comparison

    It's a little quiz that I've set up and I want whatever is in column D on sheet 2 to be compared to whats in column C on sheet 2.

    I've got something together but it's not working correctly. Can someone help please?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    There is some difficulties to open the file when downloaded.
    Can you upload again your file.
    Can you give more details where the comparison to be done.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,831

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    I was unable to open the file for editing - it froze Excel on my PC. I will not try again, I am afraid.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    01-12-2016
    Location
    Blackpool
    MS-Off Ver
    2016
    Posts
    39

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    It's let me open it now that I'm at home on Excel 2016 with no problem at all. I was also able to run it on Excel 2003 and 2010.

    Try this:
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    OK it is better
    when you asked for
    "whatever is in column D on sheet 2 to be compared to whats in column C on sheet 2."
    how would you like the result to be shown ...cells painted in red, amount of bad results displayed ...?

  6. #6
    Registered User
    Join Date
    01-12-2016
    Location
    Blackpool
    MS-Off Ver
    2016
    Posts
    39

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    To be honest, I'd like to have the text that doesn't match in Column D to be displayed in red.

  7. #7
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    What about a conditional format with formula like for D3
    =ISERROR(MATCH(D3,C:C,0))

  8. #8
    Registered User
    Join Date
    01-12-2016
    Location
    Blackpool
    MS-Off Ver
    2016
    Posts
    39

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    How could I get it to pick out any words that didn't match what was in column c? I mean specific words?

    So if the set answer was "My name is Groot." and they answered "My name is Froot." I would like it to just highlight the word(s) that is/are wrong.

  9. #9
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    Hou la la, not an easy stuff.
    Is needed to search for the answer the closiest to the operator answer and then do a comparison word by word ...!
    It is a huge project by it self

  10. #10
    Registered User
    Join Date
    01-12-2016
    Location
    Blackpool
    MS-Off Ver
    2016
    Posts
    39

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    Hmm, what would be the way of doing it? I'm just asking because it would be perfect for this sheet really.

  11. #11
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    If the "operator answer" is some free text, I don't see some possibilities, there is too many variations.

  12. #12
    Registered User
    Join Date
    01-12-2016
    Location
    Blackpool
    MS-Off Ver
    2016
    Posts
    39

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    What if I had some keywords that I wanted it to pick up? So if I had another column with some keywords, that'd check the column with their answer, and give me a result. That should be quite simple, right?

  13. #13
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Trying to make the spreadsheet compare the text in two cells for a comparison

    It may easier, can you show example to see how to do

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to Search Excel Cells for Multiple Text Comparison
    By PosseJohn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2016, 09:26 PM
  2. Replies: 1
    Last Post: 08-10-2014, 01:17 AM
  3. [SOLVED] comparison of cells with text input
    By r.gieruszczak in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-10-2014, 04:55 PM
  4. Replies: 3
    Last Post: 01-09-2014, 05:56 AM
  5. [SOLVED] How to Compare Excel spreadsheet values with each line of text file
    By raw_geek in forum Excel General
    Replies: 4
    Last Post: 06-27-2012, 12:21 PM
  6. Compare Text/combobox values against cells in spreadsheet
    By BigPig in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2006, 01:30 PM
  7. Text comparison in adjacent cells
    By Andy in forum Excel General
    Replies: 3
    Last Post: 01-23-2006, 02:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1