+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Formula to enter x's in a 16 digit number

  1. #1
    Registered User
    Join Date
    04-14-2009
    Location
    New york
    MS-Off Ver
    Excel 2007
    Posts
    2

    Formula to enter x's in a 16 digit number

    Hi,
    I'm fairly new to excel. I have row of numbers and each cell contains a 16 digit number. Is there a way to have the first 4 numbers replaced by X's and the last four digits also replace by X's. So only the middle 8 numbers are showing? Is there a formula I should be using or should I be using the Concatenate function? If so I'm not sure how to use it.

    Any help would be appreciated.

    Thank You in advance

    Greg
    Last edited by Greg305; 04-14-2009 at 11:37 AM. Reason: Not enough info in heading

  2. #2
    Forum Contributor GuruWannaB's Avatar
    Join Date
    01-24-2008
    Location
    An hour due East of Cowtown Ohio
    MS-Off Ver
    2010
    Posts
    421

    Re: Excel 2007

    Please Login or Register  to view this content.

    (A1 where the 16 digit number is)

    Also...welcome to the forums. Before a moderator tells you...you should change your title to something that simply expresses the nature of your question. This will help others with a similar problem locate your post to find an answer - maybe preventing another post and re-creating the wheel. Otherwise the moderator will make you change it before others can help you with your question. Read the forum rules if you have any questions..it will help you understand and help prevent getting any forum infractions. =)

    Hope that helps

    GWB
    I help because of the Pavlovian dog that resides in the inner me...so if you are happy with the results, please add to my reputation. It helps keep me motivated!



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

  3. #3
    Registered User
    Join Date
    04-14-2009
    Location
    New york
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Excel 2007

    Hi,

    Thank You for the advice. My next posting will be more descriptive. And thank You for the formula. It worked as you said. But I realized I wrote the posting wrong. I need to have the first and last four digits to show numbers and the middle eight to be x's.

    Thank You Again,
    Greg

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,756

    Re: Excel 2007

    Quote Originally Posted by GuruWannaB View Post
    Before a moderator tells you...you should change your title to something that simply expresses the nature of your question.......
    Thank you GWB, I am that moderator..........

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,756

    Re: Formula to enter x's in a 16 digit number

    Try this formula, Greg

    =REPLACE(A1,5,8,"xxxxxxxx")

+ 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