+ Reply to Thread
Results 1 to 5 of 5

Adding asterisks/patterns

  1. #1
    Registered User
    Join Date
    09-13-2015
    Location
    brooklyn
    MS-Off Ver
    Office 2015
    Posts
    2

    Adding asterisks/patterns

    Hello everyone! I have a list of about 360 six-digit numbers that are not sequential in nature, and I need to add an asterisk to the start and end of each number. So, for example I need to turn 243547 into *243547*. Is there a formula that will allow me to add this pattern of asterisks, rather than add it to each cell individually?

    Thanks in advance for any help.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Adding asterisks/patterns

    B1="*"&a1&"*" and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Adding asterisks/patterns

    If this is just a visual thing but require that the numbers remain numbers, you could use formatting to create the appearance of *111111*
    Select the numbers, right click and choose Format Cells, click on Number, Custom and enter "*"000000"*"
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    09-13-2015
    Location
    brooklyn
    MS-Off Ver
    Office 2015
    Posts
    2

    Re: Adding asterisks/patterns

    Thank you, newdoverman! worked like a charm.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Adding asterisks/patterns

    You're welcome. Thanks for the feedback.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] How Do I Count Asterisks
    By souske69 in forum Excel General
    Replies: 6
    Last Post: 03-20-2014, 01:09 PM
  2. Excel 2007 : Adding cells containing asterisks
    By andy86 in forum Excel General
    Replies: 6
    Last Post: 12-08-2011, 03:11 PM
  3. Converting 2007 VBA color patterns to 2003 color patterns
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-13-2011, 12:00 PM
  4. Asterisks in Macro Password
    By datboyrib23 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2011, 04:57 PM
  5. using asterisks in a string
    By kaipan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-14-2009, 08:03 AM
  6. Input box with asterisks
    By kjworks in forum Excel General
    Replies: 2
    Last Post: 08-14-2006, 07:15 AM
  7. How to replace the asterisks?
    By Á÷À˵ÄË& in forum Excel General
    Replies: 1
    Last Post: 09-20-2005, 05:05 AM
  8. Asterisks in Excel
    By Walsh jj in forum Excel General
    Replies: 1
    Last Post: 06-17-2005, 06:05 PM

Tags for this Thread

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