+ Reply to Thread
Results 1 to 6 of 6

Match number on any part of above adjacent row.

  1. #1
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    Ms Office 2016
    Posts
    450

    Match number on any part of above adjacent row.

    Hello all,
    Not sure if this is a function or macro question. Experts will decide.

    In cols I to O I have numbers only, cols V to P will answer result True only.
    All of the numbers that are highlited red are true if they match the same number only on the above adjacent row. Anywhere on that row.

    Example #1, cell I3 number 5 matches cell O2.
    Example #2, cell M4 number 5 matches cell J3.
    etc, etc.

    Hope this is a simple request.
    Thanks.
    Attached Files Attached Files
    I am grateful for all answers to my questions .
    Also i give a reputation even if not answered .

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Match number on any part of above adjacent row.

    =if(isnumber(match(i3,$i2:$o2,0)),true,"")
    Ben Van Johnson

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Match number on any part of above adjacent row.

    You can use this formula in cell P3:

    =COUNTIF($I2:$O2,I3)>0

    Copy across and down as required. If you don't want to see the FALSE results, you could apply conditional formatting to those cells to use a white foreground colour if the cell contains FALSE.

    Hope this helps.

    Pete

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Match number on any part of above adjacent row.

    Fromula for the TRUE's and empty cells (if false): Please try in P3 and copy to the rigt and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula for the red numbers, please try CF-rule applies to =$I$3:$P$14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by HansDouwe; 10-01-2023 at 05:36 PM.

  5. #5
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    Ms Office 2016
    Posts
    450

    Re: Match number on any part of above adjacent row.

    Big thanks to everyone.
    I have put all the functions into this one sheet so everyone can view them.

    All great results. Solved.
    Thanks.
    Attached Files Attached Files

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Match number on any part of above adjacent row.

    Thanks for sharing the sheet with all solutions.

    You are Welcome!

    Thanks for your feedback and rep . Glad to have helped.

+ 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. Macro to match part number and serial numbers
    By Dbowen74 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-01-2018, 03:41 PM
  2. [SOLVED] Function to match text and return number in adjacent cell?
    By danoswalt in forum Excel General
    Replies: 6
    Last Post: 12-16-2014, 01:47 PM
  3. Help returning part number 1 time and adding up like part number QTY
    By SOLERSA in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-16-2014, 06:31 AM
  4. Match part number then extract qty onto a different sheet
    By Deebofitts in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2014, 10:08 PM
  5. Match 2 lists based on Part Number
    By jamezgreen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2012, 01:59 PM
  6. match columns and find the matched Part number
    By rajivs27 in forum Excel General
    Replies: 5
    Last Post: 02-17-2010, 04:46 PM
  7. Can Index & Match find a paticular part number
    By vane0326 in forum Excel General
    Replies: 0
    Last Post: 02-03-2005, 07:56 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