+ Reply to Thread
Results 1 to 7 of 7

how to seperate numbers that match 2 numbers from a list.

  1. #1
    Registered User
    Join Date
    07-01-2014
    Location
    florida, usa
    MS-Off Ver
    2016
    Posts
    16

    how to seperate numbers that match 2 numbers from a list.

    I will generate lotto numbers in a1,a5 in d1,d5 im going to put in single numbers i want to seperate or call out the entire number into b1,b,? that match 2 of the numbers in d1,d5.

    08 19 20 27 32 04
    04 07 08 09 29 14
    02 07 09 11 13 28
    07 10 14 22 29 29
    01 04 07 28 35 35

    So the outcome in b1,b? would be line 2,4, as the complete number. If the number matches less than 2 or more than 2 they will be discarded.

    Ok lets try this how about only highlighting the numbers that match from d1-d5 to the numbers in a1-a5 The numbers 04,14,28,29,35 are the ones in d1-d5 it is showing here they are at the end of the string.
    Last edited by notmyday; 12-27-2016 at 03:59 PM. Reason: not posting correctly

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: how to seperate numbers that match 2 numbers from a list.

    Can you please upload a sample workbook showing some data as the table above is not easy to understand what you mean.

    An example of the data and details of what you would expect to be returned from the examples would be useful.
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    07-01-2014
    Location
    florida, usa
    MS-Off Ver
    2016
    Posts
    16

    Re: how to seperate numbers that match 2 numbers from a list.

    I dont know how to upload to this site i almost have it done. With that said when i finish it hopefully today i will upload the solution as i think it is almost done. I do believe i put this thread in the wrong thread and it should have been in the vba thread as code is now a part of it.

  4. #4
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,619

    Re: how to seperate numbers that match 2 numbers from a list.

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.

  5. #5
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,619

    Re: how to seperate numbers that match 2 numbers from a list.

    I have moved your thread to the VBA forum section.

  6. #6
    Registered User
    Join Date
    07-01-2014
    Location
    florida, usa
    MS-Off Ver
    2016
    Posts
    16

    Re: how to seperate numbers that match 2 numbers from a list.

    Thank you i will post the solution as soon as im done with it. It will be later today as i have other projects working to.

  7. #7
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,619

    Re: how to seperate numbers that match 2 numbers from a list.

    If you no longer require help with this, please mark the thread as solved.

    Please select Thread Tools from the menu link above and mark this thread as SOLVED.

    This will prevent anyone wasting their time trying to help if the issue is already resolved. Thanks!

+ 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] Nearest Number match from a list of numbers from a different list
    By vba1234 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2016, 10:30 AM
  2. Count numbers in a list which match a condition
    By AlexnL12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2014, 03:18 PM
  3. [SOLVED] re-numbering a list of numbers based on another list of numbers to get a sequential order
    By ryan.wherry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-10-2014, 03:27 PM
  4. Replies: 4
    Last Post: 05-08-2014, 09:43 PM
  5. [SOLVED] Trying to find multiple ID numbers which match a particular name from a list.
    By thevolv in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2014, 06:45 PM
  6. Match numbers in list
    By richard3009 in forum Excel General
    Replies: 1
    Last Post: 07-09-2010, 04:31 AM
  7. seperate numbers from a list and replace them with some other word
    By funman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2008, 05:10 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