+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting Help, remove duplicates issue

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Conditional Formatting Help, remove duplicates issue

    I have done a lot of searching on here but haven't found any exact answers to my problem. I have a lot of variable data ranges in my workbook with several tabs, 2-3 times a day the workbook is wiped clean and new data is imported from SAP. In my "printing" tabs I use conditional formatting and I regularly use remove duplicates. When you use Remove Duplicates with a conditional format, it takes my selection of $N:$N and turns it into $N1:$N50, $N75, $N100, etc. So when I import data again, I have to re-do the range for every Conditional Format to catch everything.

    Hopefully I was clear on my explanation, so am I using CF wrong, or can I use VBA to re-apply as I'm importing and removing duplicates. My CF Rule is simple, $N:$N, highlight anything less than 1.

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

    Re: Conditional Formatting Help, remove duplicates issue

    If I were you, I would check the cell ranges on my conditional formatting first, it sounds like some of the ranges may have been messed up/broken, if they are supposed apply to the whole row/column, then you should only see row #/column letters, if you have breaks(ie a1:d5,a10:s27) it means the rules have ben separated,edit the ranges{Applys to} in 'Manage Rules" to be accurate..
    Hope This helps
    Last edited by dredwolf; 12-04-2012 at 03:03 AM.
    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

  3. #3
    Registered User
    Join Date
    12-04-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Conditional Formatting Help, remove duplicates issue

    Yeah that's where I go to fix it every time I use Remove Duplicates, and the act removing them is creating breaks in the range. I've tried using a named range and even that becomes broken up. I basically want to "Lock" $N:$N range to conditionally format no matter what I do to it. Or use VBA to re-apply it after I've removed duplicates.

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

    Re: Conditional Formatting Help, remove duplicates issue

    Can you upload a sample, with duplicates?
    I don't see why a CF should break from a remove duplicates..
    Did you use cell references or actually use ROW #'s Column letters as reference ?

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

    Re: Conditional Formatting Help, remove duplicates issue

    What I mean is i can use 1:35 as row reference(entire row) or A:Z as column reference(entire column)

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

    Re: Conditional Formatting Help, remove duplicates issue

    Do Right click on the sheet tab and select view code and add the below code in the vba code window.

    Whenever you apply the remove duplicates then just take your cursor to A1 cell and do double click on A1 cell which will apply the conditional formatting for Column-N.

    Please Login or Register  to view this content.


    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

  7. #7
    Registered User
    Join Date
    12-04-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Conditional Formatting Help, remove duplicates issue

    That is awesome! Thanks!

+ 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