Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Brighton, Michigan
    Posts
    184
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Formula to find and relocate discontinuous series of numbers

    Hi It Has Been A While,But finally granted company access to the internet...yeah!!My dilemma I have a column of numbers all in XXXX format integers with four place holders. I want to select 100 specific numbers from a column (column 3) and the adjacent number in column 2 and copy them (from column 2 & 3) to another column on the same worksheet/book. Attached is the worksheetThank you for your assistance...mojave1
    Attached Files Attached Files
    Regards,
    Marty

    "Aerodynamics Is For Those Who Cannot Build Engines" - Enzo Ferrari

  2. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Marty,

    You say you what to select 100 numbers. What is the criteria for selecting the numbers?
    Once Selected where do you want to copy them to?
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  3. #3
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Brighton, Michigan
    Posts
    184
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Thank you for the immediate response; I need to locate the 100 four digit numbers contained or shown in column 1, in column 2 and its companion or associated number in column 3.....then copy the results in any column to the right on the same worksheet...Thanks again....Marty
    Regards,
    Marty

    "Aerodynamics Is For Those Who Cannot Build Engines" - Enzo Ferrari

  4. #4
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Marty,

    The only way I know to do this is to use an advanced filter.
    First you have to create another column in E with a title of Col4.
    Enter in E2 the formula: =C2-5980000.
    Copy it down the column to the last number.
    In H1 type Col2
    In I1 gype Col3
    select H1:I1 and give it the name Extract
    Change A1 to Col4
    Select all the data in A and give it the name Criteria
    Change C1 & D1 to Col2 and Col3 respectively {works better w/o spaces}
    Select all the data in C:E and give it the name Database
    Select C1
    Select the Data Tab and then Advanced in the Sort & Filter group.
    Fill in the dialog as shown below.
    Attached Images Attached Images
    Attached Files Attached Files
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  5. #5
    2 Star Lounger
    Join Date
    Jan 2004
    Location
    Brighton, Michigan
    Posts
    184
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Retired Greek,many thanks....really helped out!!Regards,Marty
    Regards,
    Marty

    "Aerodynamics Is For Those Who Cannot Build Engines" - Enzo Ferrari

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •