+ Reply to Thread
Results 1 to 3 of 3

Formula for finding identical numbers in rows of numbers

  1. #1
    Registered User
    Join Date
    11-16-2019
    Location
    Liechtenstein, Vaduz
    MS-Off Ver
    365 MSO (64bit)
    Posts
    81

    Formula for finding identical numbers in rows of numbers

    Dear Forum Users,

    I would like to kindly ask for help regarding creating a formula that would find identical numbers in the rows starting from G3:J3 to G17:J17, and then representing those identical numbers as values of “1” in the rows created from M3:P3 to M17:P17. When number aren’t identical value “0” shall be put by the formula. I created a file where I did by hand what I would like the formula to do. The yellow highlighting is just so you better see what I mean, it is not necessary to be included.

    Obviously there may be more than just two numbers identical, so the formula shall scan the whole row and not just look for “pairs” of numbers (as shown in the file) but also be able to identify for instance three or four identical numbers in a row.

    Thank you very much in advance
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by bansche123; 03-28-2020 at 05:57 AM.

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Formula for finding identical numbers in rows of numbers

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,718

    Re: Formula for finding identical numbers in rows of numbers

    Obviously there may be more than just two numbers identical, so the formula shall scan the whole row and not just look for “pairs” of numbers (as shown in the file) but also be able to identify for instance three or four identical numbers in a row.
    Not obvious at all from the example given, which does not show this! Please provide sample data that shows examples of what you mean by this.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Finding TWO numbers from a range of numbers to match a target value
    By Eero in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2014, 10:08 AM
  2. vlookup with rows with identical numbers
    By apmi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2014, 01:03 PM
  3. Replies: 4
    Last Post: 05-08-2014, 09:43 PM
  4. [SOLVED] Finding numbers of Rows and Columns
    By chandan12 in forum Excel General
    Replies: 5
    Last Post: 05-05-2013, 10:05 AM
  5. Replies: 2
    Last Post: 12-16-2012, 08:41 PM
  6. Finding gaps within rows of numbers
    By bd528 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 01-24-2011, 12:35 PM
  7. finding the no. of rows in a COL filled with numbers, zeros and bl
    By z.entropic in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-21-2005, 07:06 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