+ Reply to Thread
Results 1 to 6 of 6

replace last four of ssn with xxxx

  1. #1
    mary s
    Guest

    replace last four of ssn with xxxx

    How do I replace the last four of an ssn with xxxx? I tried:
    Insert > function
    Old text > A1 (or whatever start cell)
    Start num > 8
    Num char > 4
    New text xxxx

    The end result I want is 123-45-xxxx but every time i try to copy the
    formula down it alters the successive ssns. Any ideas?


  2. #2
    dlw
    Guest

    RE: replace last four of ssn with xxxx

    how about: =left(a1,7)&"xxxx"

    "mary s" wrote:

    > How do I replace the last four of an ssn with xxxx? I tried:
    > Insert > function
    > Old text > A1 (or whatever start cell)
    > Start num > 8
    > Num char > 4
    > New text xxxx
    >
    > The end result I want is 123-45-xxxx but every time i try to copy the
    > formula down it alters the successive ssns. Any ideas?
    >


  3. #3
    Jim May
    Guest

    RE: replace last four of ssn with xxxx

    =LEFT(A1,LEN(A1)-4)&"xxxx"


    "mary s" wrote:

    > How do I replace the last four of an ssn with xxxx? I tried:
    > Insert > function
    > Old text > A1 (or whatever start cell)
    > Start num > 8
    > Num char > 4
    > New text xxxx
    >
    > The end result I want is 123-45-xxxx but every time i try to copy the
    > formula down it alters the successive ssns. Any ideas?
    >


  4. #4
    mary s
    Guest

    RE: replace last four of ssn with xxxx

    Is there any way I can lock that formula so that when I copy it down a column
    of SSNs the following SSNs don't change?

    "dlw" wrote:

    > how about: =left(a1,7)&"xxxx"
    >
    > "mary s" wrote:
    >
    > > How do I replace the last four of an ssn with xxxx? I tried:
    > > Insert > function
    > > Old text > A1 (or whatever start cell)
    > > Start num > 8
    > > Num char > 4
    > > New text xxxx
    > >
    > > The end result I want is 123-45-xxxx but every time i try to copy the
    > > formula down it alters the successive ssns. Any ideas?
    > >


  5. #5
    David Biddulph
    Guest

    Re: replace last four of ssn with xxxx

    "mary s" <[email protected]> wrote in message
    news:[email protected]...
    > "dlw" wrote:
    >> "mary s" wrote:
    >>
    >> > How do I replace the last four of an ssn with xxxx? I tried:
    >> > Insert > function
    >> > Old text > A1 (or whatever start cell)
    >> > Start num > 8
    >> > Num char > 4
    >> > New text xxxx
    >> >
    >> > The end result I want is 123-45-xxxx but every time i try to copy the
    >> > formula down it alters the successive ssns. Any ideas?


    >> how about: =left(a1,7)&"xxxx"


    > Is there any way I can lock that formula so that when I copy it down a
    > column
    > of SSNs the following SSNs don't change?


    You're not copying the formula down column A, are you? If your existing
    SSNs are in column A, put your formula in column B (or any convenient empty
    column). If, when you've done that, you want to replace the old SSNs with
    the new ones, you can cut, then paste special/ values.
    --
    David Biddulph



  6. #6
    mary s
    Guest

    Re: replace last four of ssn with xxxx

    Yeah. I was creating the formula and copying it down the same column. They
    all work once I enter them in a new blank column and copy down. Thanks
    everyone for your help!

    "David Biddulph" wrote:

    > "mary s" <[email protected]> wrote in message
    > news:[email protected]...
    > > "dlw" wrote:
    > >> "mary s" wrote:
    > >>
    > >> > How do I replace the last four of an ssn with xxxx? I tried:
    > >> > Insert > function
    > >> > Old text > A1 (or whatever start cell)
    > >> > Start num > 8
    > >> > Num char > 4
    > >> > New text xxxx
    > >> >
    > >> > The end result I want is 123-45-xxxx but every time i try to copy the
    > >> > formula down it alters the successive ssns. Any ideas?

    >
    > >> how about: =left(a1,7)&"xxxx"

    >
    > > Is there any way I can lock that formula so that when I copy it down a
    > > column
    > > of SSNs the following SSNs don't change?

    >
    > You're not copying the formula down column A, are you? If your existing
    > SSNs are in column A, put your formula in column B (or any convenient empty
    > column). If, when you've done that, you want to replace the old SSNs with
    > the new ones, you can cut, then paste special/ values.
    > --
    > David Biddulph
    >
    >
    >


+ 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