+ Reply to Thread
Results 1 to 8 of 8

how to highlight repeated information

  1. #1
    Registered User
    Join Date
    09-01-2012
    Location
    K.S.A.
    MS-Off Ver
    Excel 2010
    Posts
    6

    how to highlight repeated information

    Greeting everyone,

    Actually, I work in a company and there is around 250 employees that I’m responsible of in something. Now, my boss has given me four tables each one represents a requirement. I need to know the employees that have the four requirements.
    So, I need a way that highlights the number that has been repeated four times. I know how to highlight things that have been duplicated (repeated two times).

    thanks in advance,

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: how to highlight repeated information

    Please attach a sample file with expected output for getting exact and quick solution.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: how to highlight repeated information

    try using something like

    =if(countif(range,criteria)>=4,"YES","NO")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: how to highlight repeated information

    without a sample hard to answer your question but maybe sothing like this in custom formatting
    = IF('employeedata1'='recquirement1',IF('employeedata2'='recquirement2',IF('employeedata3'='recquirement3',IF('employeedata4'='recquirement4'))))
    ?
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  5. #5
    Registered User
    Join Date
    09-01-2012
    Location
    K.S.A.
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: how to highlight repeated information

    Actually, I’m in the office right now where I can’t upload or even attach anything because of the internet restriction. I’ll try to attach it once I’m home.
    But I’ll try to explain much more. what I was talking about is that : (for example)
    I have three columns (tables). Each one of them contains around 100 cells (every cell represent an employee’s badge number). Those three tables shows employees who completed the required thing (for example “employees have driver licensee, other table employees have a car, other table employees who worked for more than five years).
    So, what I need is to know the employees that have a driver licensee, have car, and worked for more than five years. If it was two tables then I can use “Highlight Cells Rules” then chose “Duplicated Values”. But in this case the tables are more than two.

    So, any ideas???
    By the way, I tried these things that you gave me but it didn’t work. (maybe I didn’t know how to do it but I need you to specify the way)

  6. #6
    Registered User
    Join Date
    09-01-2012
    Location
    K.S.A.
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: how to highlight repeated information

    here is a sample that i worked out.
    the tables represent a single requirement while the numbers represent employees' badge numbers.

    what i need is that i want to highlight every badge number has been repeated in the three tables.
    just as what i have done in the second sheet.

    thanks in advance... waiting for your response...
    Attached Files Attached Files

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: how to highlight repeated information

    sorry, just got home from work, will look at it right away, 1 question..do you want the badge # highlighted in first cell only, or all 3 cells?

  8. #8
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: how to highlight repeated information

    okay, have done what i think you are looking for, i used conditional formatting for the highlighting(light green), in column f the formula i used to for the first column highlighting also gives a true/false answer to the (unasked ) question of if the employee is in all three columns
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-01-2012
    Location
    K.S.A.
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: how to highlight repeated information

    that's just great... that's excactly what i want...

    but the question now is how is it possible to do it???

    now you have done it with three tables, what about if i want to do it with four, five, or six???

    and what about if i want to highlight only the first cell (although that i wanted to highlight all three cells in the first place but since you asked, then tell me how if it is possible)...

    really really greatfull...

  10. #10
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: how to highlight repeated information

    the formula I used in the "F" column is expandable, just add ',MATCH($A2,E:E,0)'for each new requirement, changing the E:E to where ever your data lists are and changing the >=2 to whatever number of matches required (2 in this case becaue the first column does not need to be counted,it is the source of the matches, so already exists ), then use variations of the final formula in the conditional formatting rules as i have done in the sample

    hope that helps

    -EDIT-

    just a quick note, in the example, the formula in the 'F" column does NOT do any of the highligting, i left it there to show the general idea of HOW to come up with a formula to meet the requirements, the actual highlighting takes place in the conditional formatting rules.

    -EDIT 2-

    sorry,I just re-read your reply, the way to only highlight the first cell is to remove the highlighting rules for the 2nd and 3rd columns, same applies to only highlighting secon cell, remove highlighting rules for first and 3rd columns, etc..

    -Edit 3-
    sorry, i have just woke up, seems I need more coffee yet..
    the "how to do it " is porbably easier to watch than explain, if you select cell 'F2', click the Formulas tab, click Evaluate formula, then hit the evaluate button, you can watch a step-by-step breakdown of how the formula arrives at its answer.
    to do the same for a result that is true, select a cell with 'True' in it, 'F37' for example and repeat above steps

    basicall, it checks to see if the data in column1, is in column 2, counts it if it is, repeats for column 3, then if the count is 2, the value in column 1 has to be in all 3 columns

    hope that helps
    Last edited by dredwolf; 11-04-2012 at 11:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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