+ Reply to Thread
Results 1 to 7 of 7

VBA Code According to the two conditions to find out the order number is not repeated

  1. #1
    Registered User
    Join Date
    08-31-2020
    Location
    Japan
    MS-Off Ver
    2016
    Posts
    88

    VBA Code According to the two conditions to find out the order number is not repeated

    Condition 1
    E column : Construction order No , Corresponding to column B
    Condition 2
    F column : Construction order , Corresponding to column C

    Find out that column A is not repeatedly placed in G2:T6 ranges

    Any help would be appreciated !
    Attached Files Attached Files
    Last edited by Sakurayuki; 12-27-2020 at 09:31 AM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,916

    Re: VBA Code According to the two conditions to find out the order number is not repeated

    Hi, you should take a ook at the built in COUNTIFS() Function and the INDIRECT() function.
    It can easily done with VBA but in Formulas it will be a little more complicated.
    Last edited by Keebellah; 12-24-2020 at 03:51 AM.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA Code According to the two conditions to find out the order number is not repeated

    Hi Sakurayuki,

    Try below code ...

    Please Login or Register  to view this content.
    Last edited by nankw83; 12-24-2020 at 03:57 AM.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,522

    Re: VBA Code According to the two conditions to find out the order number is not repeated

    Just for the fun of it...Here is an array option...For large data set Dict is better though...
    Please Login or Register  to view this content.
    Last edited by Sintek; 12-24-2020 at 08:19 AM.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  5. #5
    Registered User
    Join Date
    08-31-2020
    Location
    Japan
    MS-Off Ver
    2016
    Posts
    88

    Re: VBA Code According to the two conditions to find out the order number is not repeated

    I appreciate both of your answers,
    Thank you very much both for providing the code, the question is finally answered satisfactorily, you are both too good

  6. #6
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA Code According to the two conditions to find out the order number is not repeated

    Glad to help & thanks for the added Rep.

  7. #7
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,522

    Re: VBA Code According to the two conditions to find out the order number is not repeated

    .........................
    Thanks.png

+ 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] Under multiple conditions of repeated data and count the number of data as required
    By metrostar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2020, 07:07 AM
  2. [SOLVED] Find location and number of consecutive occurrences of 1 repeated ≥25 times in a column
    By montana7244 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-08-2020, 03:13 PM
  3. [SOLVED] Repeated words: remove duplicates, display word along with the number of times repeated
    By number9 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-24-2019, 03:32 PM
  4. Replies: 1
    Last Post: 05-15-2019, 02:56 AM
  5. [SOLVED] Help me develop function to find the number having repeated time is max...
    By tamthat in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-27-2018, 11:12 AM
  6. To find repeated trailer number ? Help
    By Jeeves50 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-12-2013, 08:25 PM
  7. find out number repeated max. times in column.
    By vimivijay in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2005, 06:59 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