+ Reply to Thread
Results 1 to 6 of 6

Match formula required please

Hybrid View

  1. #1
    Registered User
    Join Date
    05-14-2017
    Location
    burton
    MS-Off Ver
    office 2010
    Posts
    4

    Match formula required please

    Hello,

    i have a spread sheet with about 10 columns and about fifty rows and names in it (these will change on daily basis), some cells have duplicate names in them, i would like a formula to highlight the duplicate names across the cells. and then if there is more then 2 in one color, 3 or more in another color and so on, 4 or more in another color and so on.
    so the base is for the formula to check across the spreadsheet and highlight matches with in it.

    EG

    row 1 -dave smith dave frank benny sue sue dave
    row 2 -dave paul ged frank benny sue sue
    row 3 -ros smith dave frank nigel sue ros sue

    dave will highlight 4 times - green
    frank 3 times red
    sue 3 times red (or if possible another color because its a different row

    thank you in advance Paul.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Match formula required please

    Is this waht you meant? I used conditional formatting with these formulae:

    =COUNTIFS($A$1:$C$9,A1)=2
    =COUNTIFS($A$1:$C$9,A1)=3
    =COUNTIFS($A$1:$C$9,A1)=4
    =COUNTIFS($A$1:$C$9,A1)>4
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    05-14-2017
    Location
    burton
    MS-Off Ver
    office 2010
    Posts
    4

    Re: Match formula required please

    thank you Glenn, that's what I needed

    if you mange to see this reply (thank you in advance) , another query hopefully part of the same =countif

    if the data is copied over from a web page or another source sometimes the name copied has a space in front of the name or after and then will not show as a duplicate, is there a extra function in the formula to check for this, and if some data is copied from another source with the times
    ie: 2.25 david , 3.35 sue 4.25 david .
    can the formula just check for duplicates names even if there is the added space or a (time) 2.25 before there name

    thank you

    Paul

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Match formula required please

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Registered User
    Join Date
    05-14-2017
    Location
    burton
    MS-Off Ver
    office 2010
    Posts
    4

    Re: Match formula required please

    Hello,

    thank you in advance for looking into these issues I have attached a spread sheet with class names/student names

    on importing names into the sheet there will be some spaces or times (2.25) next to the name can the match function work on matching the names even if there is a time or blank space before the name or after it in the cell.

    1, if there is a space before or after the name no duplicate is found (see example in the sheet)
    2, if the name is entered with a time slot duplicate name is not found. i.e. 2.25 zoe and zoe no duplicate found

    I would like duplicates to be high lighted.
    Last edited by paulfearn100; 05-19-2017 at 10:47 AM.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Match formula required please

    Not easy. You might need VBA to do this in one step. Here's a workaround. Import the data as usual and then extract the bits you need using this formula:


    =IFERROR(PROPER(MID(TRIM(A3),FIND(" ",TRIM(A3))+1,255)),PROPER(TRIM(A3)))

+ 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. Replies: 5
    Last Post: 10-16-2016, 02:33 AM
  2. Another match formula required..
    By m_789 in forum Excel General
    Replies: 2
    Last Post: 09-03-2015, 01:00 PM
  3. [SOLVED] Formula required (Index, Match)
    By nagesh.tvsr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-18-2014, 01:30 AM
  4. match formula help required ASAP ps
    By m_789 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-04-2014, 06:51 AM
  5. Lookup and Match Formula required
    By pauldaddyadams in forum Excel General
    Replies: 15
    Last Post: 09-12-2012, 12:05 PM
  6. Index/Match Formula required
    By pauldaddyadams in forum Excel General
    Replies: 1
    Last Post: 01-27-2012, 06:45 AM

Tags for this Thread

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