+ Reply to Thread
Results 1 to 9 of 9

Need to remove the 4th number in every cell of a column

  1. #1
    Registered User
    Join Date
    01-24-2009
    Location
    madison, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Need to remove the 4th number in every cell of a column

    Need to remove the 4th number in every cell of a column. I don't know how to do it. is there a way...... Any help would be greatly appreciated

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need to remove the 4th number in every cell of a column

    Try using a formula next to the column

    =REPLACE(A1,4,1,"")

    where A1 contains first number to work with.

    copy formula down the columnm

    Once finished copy the new column and go to first column, then Edit|PAste Special and select Values.. then Ok.

    Now you can delete the formula column
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need to remove the 4th number in every cell of a column

    I read this differently than NBVC, if you want every 4th cell deleted;
    in another column, dragged down
    Please Login or Register  to view this content.
    where A1 is your first data cell in your column of interest. Then, copy and paste special values over your original data. Is this what you wanted?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    01-24-2009
    Location
    madison, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need to remove the 4th number in every cell of a column

    Let me say it another way.

    I have a column of cells containing 10 digit numbers I want to remove the 4th
    digit from every number in every cell


    Thanks

  5. #5
    Registered User
    Join Date
    01-24-2009
    Location
    madison, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need to remove the 4th number in every cell of a column

    Let me say it another way.

    I have a column of cells containing 10 digit numbers I want to remove the 4th
    digit from every number in every cell


    Thanks

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Need to remove the 4th number in every cell of a column

    =left(a1,3) & mid(a1, 5, 6)
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Registered User
    Join Date
    09-26-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Need to remove the 4th number in every cell of a column

    If the data is always 10 digits, another way to do this is to combine the "Left" and "Right" functions. Here is an example:
    Your number 1234567890
    The formula: =left(a1,3) & right(a1,6)

    Some people have a hard time with the mid function.

    Doing this will take the first 3 characters from the left and the first 6 characters from the right. Keep in mind that a space is counted. So, "12 34" would have 5 characters (since the space is counted).

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need to remove the 4th number in every cell of a column

    Quote Originally Posted by steadfast199 View Post
    Let me say it another way.

    I have a column of cells containing 10 digit numbers I want to remove the 4th
    digit from every number in every cell


    Thanks
    The formula I gave will do that

    =REPLACE(A1,4,1,"")

    If you want the resultant to be a number.. then add a +0

    =REPLACE(A1,4,1,"")+0
    Last edited by NBVC; 10-09-2009 at 04:53 PM. Reason: I hade a _0 instead of a +0 ...ooops

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Need to remove the 4th number in every cell of a column

    I vote for NBVC's solution -- hadn't noted it was the very first suggestion

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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