+ Reply to Thread
Results 1 to 7 of 7

how to get Excel to ignore forward slashes and diacritic marks when finding matches

  1. #1
    Registered User
    Join Date
    03-04-2017
    Location
    NJ
    MS-Off Ver
    Excel for Mac Version 15.31
    Posts
    75

    how to get Excel to ignore forward slashes and diacritic marks when finding matches

    Dear Excel Community,

    I have two columns that have at least 30 rows but for brevity, the excel sheet attached for your review only has 6 rows of data. Column A contains the correct phonetic sounds that students are expected to produce. Column B is the sounds students actually produced. Column C (created only for your review) specifies whether the response was correct or not. Row 10 Column c is the total of the correct responses for a single student.

    A response is considered correct if the cell in column B is either blank or if the letters match with the letters in column A, with or without the slashes and the diacritic marks above the letters. So for example, both B2 and B3 are considered to be correct responses even though B3 didn't include the slashes nor the diacritic mark whereas B2 did. B4 and B6 are also correct because one is blank and the other has the slashes and the diacritic marks stripped away. The only incorrect response here is B5.

    I need to create a formula to insert in C10 that generates the total of correct responses, which is 5. Would someone please kindly guide me in the right direction?

    In the past, someone from this forum taught me to use the substitute function along with sumproduct, and it worked wonderfully when excel only has to ignore the forward slashes. I tried to apply it with the diacritic marks but I am not successful. There are sounds with various diacritic marks in the rest of this workbook and I would much prefer if you could teach me a generic function so that excel learns to ignore all the special characters and gives me a count of correct response if the letters in column A and column B match.

    Please let me know if you have any questions about my request. And thank you so much for your time!

    Anita

  2. #2
    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,460

    Re: how to get Excel to ignore forward slashes and diacritic marks when finding matches

    Each accented letter is a different character, so you'd need substitution for each character. There may be a way to do it using CHAR numbers, but I think we need a slightly larger set of sample data from you with a few more possible scenarios.
    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.

  3. #3
    Registered User
    Join Date
    03-04-2017
    Location
    NJ
    MS-Off Ver
    Excel for Mac Version 15.31
    Posts
    75

    Re: how to get Excel to ignore forward slashes and diacritic marks when finding matches

    Dear Ali,
    Thank you so much for your prompt assistance. Based on your request, I've scoured my workbooks and had to zoom in on these marks to make sure as they look so small to me. The great news is, the workbook I had shared earlier has all the diatricis that I need to address, which are only 2, such as in the case of /ŭ/ and /ū/. There may be more in the future, but for now, these are all that I have to deal with.

    It sounds like I have to specify a substitution for each character. I will look CHAR up, but in the meantime, I'd appreciate any of your suggestions.

    Thank you again,

    Anita

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: how to get Excel to ignore forward slashes and diacritic marks when finding matches

    Unfortunately, the two you mention are not in the standard Excel ascii character set.

  5. #5
    Registered User
    Join Date
    03-04-2017
    Location
    NJ
    MS-Off Ver
    Excel for Mac Version 15.31
    Posts
    75

    Re: how to get Excel to ignore forward slashes and diacritic marks when finding matches

    Hi John,

    I see. So it sounds like it can't be done in Excel because they are not in the standard Excel character set?

    Thank you for letting me know. I will stop googling now as I had spent quite some time looking this up and was unsuccessful.

    Thanks again,

    Anita

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: how to get Excel to ignore forward slashes and diacritic marks when finding matches

    If you have Excel 2013 or above, I believe there are UNICODE/UNICHAR functions which might enable you to do your validation.
    Last edited by JohnTopley; 05-24-2021 at 11:02 AM.

  7. #7
    Registered User
    Join Date
    03-04-2017
    Location
    NJ
    MS-Off Ver
    Excel for Mac Version 15.31
    Posts
    75

    Re: how to get Excel to ignore forward slashes and diacritic marks when finding matches

    John,

    thank you for your advice. i will look into this shortly!

    Anita

+ 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] Extract text between multiple forward slash marks
    By Perk1961 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-19-2017, 03:52 AM
  2. [SOLVED] Extract text from string with forward slashes
    By cherrsak in forum Excel General
    Replies: 8
    Last Post: 04-08-2015, 03:49 PM
  3. Replies: 3
    Last Post: 04-09-2014, 02:37 PM
  4. Macro to highlight diacritic characters in a column in excel
    By narendrabr in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 12-04-2012, 01:14 PM
  5. Replies: 4
    Last Post: 07-18-2012, 02:34 PM
  6. Adding In Forward Slashes After text (/)
    By AV1D in forum Excel General
    Replies: 5
    Last Post: 01-19-2012, 07:59 PM
  7. [SOLVED] hyphen to forward slashes?
    By bailbust63 in forum Excel General
    Replies: 3
    Last Post: 07-25-2006, 08: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