+ Reply to Thread
Results 1 to 3 of 3

String of same characters, their amount depending on a given number

  1. #1
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    String of same characters, their amount depending on a given number

    Hi guys

    There is a number in A1, for example 15.
    I need a formula in B1 which will return "..............." (15 dots).

    So, depending on the number in A1, there will be a certain amount of dots in B1.

    Is there an easy way to do it?

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: String of same characters, their amount depending on a given number

    Hello
    You can use the REPT function:

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


    DBY

  3. #3
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: String of same characters, their amount depending on a given number

    Wow that was easy, I had no idea )
    Thanks a lot!

+ 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. Calculate highest number depending on string of letters?
    By nostrum in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-22-2016, 01:03 PM
  2. [SOLVED] Formula to delete all characters except number string
    By erikpaulsen in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-08-2016, 03:18 PM
  3. Help with vba code for adding 0 depending on cells' amount of characters
    By ChristopherH in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-05-2014, 09:42 AM
  4. Counting number of characters between 2 values in string
    By ashraf999 in forum Excel General
    Replies: 3
    Last Post: 01-28-2012, 04:29 AM
  5. Is it a correct way to count the number of characters in a string
    By kwfine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2011, 09:56 PM
  6. Extract the first 5 characters in a string, and convert them to a number?
    By no48 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-08-2008, 01:25 AM
  7. [SOLVED] trim a string by specific number of characters
    By windyoldman in forum Excel General
    Replies: 2
    Last Post: 07-13-2005, 09:05 AM

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