+ Reply to Thread
Results 1 to 7 of 7

Filtering formula that across two columns

  1. #1
    Registered User
    Join Date
    09-18-2015
    Location
    wales
    MS-Off Ver
    office 2010
    Posts
    4

    Filtering formula that across two columns

    Hi,

    My name is Dustin and I need a little help that could save me hours of work. Firstly I have very basic knowledge of excel and its formulas. I think its a simple formula I need but I just don't know how to ask Excel to do it.

    This is what I need - (please see attachment)

    Firstly I need excel to show me when the prime item number does not match the supply item number. I use =$A1<>$B1 (Highlight).
    Secondly (the bit I cant figure out). When it has highlighted that the prime item number does not match the supply item number I need it to show me all other identical prime numbers that have matching supply item numbers.

    i can sort and filter out the number i don't need.


    Is it possible??


    cheers

    dustin
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Filtering formula that across two columns

    Use Conditional Formatting

    Try
    Select A2

    Condtional Formatting
    New Rule
    Use a formula to determine...

    =(A2<>B2)
    Format as red, say

    =(A2=B2)
    Format as green, say

    Use Format painter (paintbrush icon) to copy to other cells

    This will highlight all matching number pairs in green and non matching number pairs in red
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Filtering formula that across two columns

    filter on cell color ?

    Kind regards
    Leo

  4. #4
    Registered User
    Join Date
    09-18-2015
    Location
    wales
    MS-Off Ver
    office 2010
    Posts
    4

    Re: Filtering formula that across two columns

    HI Special K,

    Thanks for your reply.

    That bit I can do, What i need to see is only the prime item number if it has been duplicated. Its the duplication I'm interested in, the normal report can be in excess of 30,000 rows sometimes.

  5. #5
    Registered User
    Join Date
    09-18-2015
    Location
    wales
    MS-Off Ver
    office 2010
    Posts
    4

    Re: Filtering formula that across two columns

    Any other thoughts??

  6. #6
    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
    52,944

    Re: Filtering formula that across two columns

    Not sure if this is what you are after?

    CF rule...
    =AND(COUNTIF($A$2:$A$14,$A2)>1,$A2<>$B2)
    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

  7. #7
    Registered User
    Join Date
    09-18-2015
    Location
    wales
    MS-Off Ver
    office 2010
    Posts
    4
    Quote Originally Posted by FDibbins View Post
    Not sure if this is what you are after?

    CF rule...
    =AND(COUNTIF($A$2:$A$14,$A2)>1,$A2<>$B2)
    Hi, thanks for your help, unfortunately it hasnt helped . It has highlighted when prime item and supply is identical. I also need it to highlight when the same prime item number has a different supply item number.

    Basically if the prime item number appears more than once. Everytime it has appeares whether it matchs supply or not it needs to be highlighted.

    Thanks dustin

+ 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] VBA Filtering Columns based on Cell Value for multiple columns
    By MikeRoot in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-31-2014, 08:07 AM
  2. [SOLVED] Easy filtering method via vba/formula/advanced filtering?
    By jedemeyer1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2014, 12:35 AM
  3. Replies: 2
    Last Post: 07-17-2013, 10:42 AM
  4. [SOLVED] Filtering Columns when some adjacent columns are blank
    By rg1954 in forum Excel General
    Replies: 5
    Last Post: 04-16-2013, 10:00 AM
  5. Replies: 5
    Last Post: 10-01-2010, 05:00 AM
  6. Filtering on Columns
    By maximpinto in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2009, 12:53 PM
  7. Filtering Columns?!
    By rjmills18 in forum Excel General
    Replies: 1
    Last Post: 07-11-2008, 04:33 AM

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