+ Reply to Thread
Results 1 to 6 of 6

Separate first 6 numbers from the account list

  1. #1
    Registered User
    Join Date
    01-10-2023
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    8

    Separate first 6 numbers from the account list

    I want to separate the first six numbers from the below account list.

    Example below.

    Number I want to see below
    32134121103 321341 | 21103
    6222311510183 622231 | 1510183
    6213310561128
    6259710143850
    82080509137691
    112879428448092
    641800200669789

    Which formula I should use?

    Thanks

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.97.2 for Mac MS 365
    Posts
    8,708

    Re: Separate first 6 numbers from the account list

    I would recommend =LEFT(A2,6)

    oh, you may need to replace the comma with a semicolon for your locale if that doesn't work.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    01-10-2023
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Separate first 6 numbers from the account list

    Thanks for your response. Left(A2,6) will give me only the first 6 digit of numbers, then I need the remaining numbers in the separate column.

    32134121103 - Left formula will give me 32134. How do I get the remaining numbers in the separate column - 121103

    Can you show me the formula for the below numbers?
    6213310561128
    6259710143850
    82080509137691
    112879428448092
    641800200669789

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    Re: Separate first 6 numbers from the account list

    Cell B3 formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Cell C3 formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,902

    Re: Separate first 6 numbers from the account list

    With Power Query

    Please Login or Register  to view this content.
    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.

    Excel 2016 (Windows) 64 bit
    A
    B
    C
    D
    1
    Column1 Column1.1 Column1.2
    2
    6213310561128 621331 0561128
    3
    6259710143850 625971 0143850
    4
    82080509137691 820805 09137691
    5
    112879428448092 112879 428448092
    6
    641800200669789 641800 200669789
    Sheet: Sheet1
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    Re: Separate first 6 numbers from the account list

    MidK You're Welcome. Glad to help . Thank You for the feedback and rep.

+ 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] VBA to search list for 2 account variables, then calculate a new account variable
    By tallboyz in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 09-11-2020, 01:37 AM
  2. Create separate account statements from each row of account data
    By mmoore5553 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-05-2019, 10:13 AM
  3. [SOLVED] Remove an account range form a column with account numbers.
    By kokapelly in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-09-2013, 11:34 AM
  4. [SOLVED] How to censor account numbers based on how many characters are in the account number
    By Mcorydon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2013, 01:06 PM
  5. [SOLVED] Return list of unique account numbers
    By trumpetman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-17-2012, 06:42 PM
  6. Replies: 9
    Last Post: 02-04-2011, 06:14 AM
  7. Extract Numbers From RandLotto List Into Separate Cells
    By chelseasikoebs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-05-2009, 09:18 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