+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Repeating part of a Cell

Hybrid View

  1. #1
    Registered User
    Join Date
    12-20-2010
    Location
    Jacksonville, NV
    MS-Off Ver
    Excel 2007
    Posts
    2

    Repeating part of a Cell

    Hello,

    Not sure how to explain what i want but here is an example:

    3B-50
    3B-88
    3B-99
    3B-101
    3B-568

    I do not want to have to enter "3B-" over 200 times. Is there a way i can format cells to make my life easier? The numbers after the "3B-" are random.

    Thanks!

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Repeating part of a Cell

    Hi,

    Assuming you're going to type your data in column A, in B1 enter ="3B-"&A1, and copy down.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    12-20-2010
    Location
    Jacksonville, NV
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Repeating part of a Cell

    For example I want to be able to just type "508" and when i enter it, it will show up at 3B-508. Just like you would enter a date as "20 dec 10" and it will format to "December 20, 2010".

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Repeating part of a Cell

    If it's an aesthetic issue you can use a Custom Format: "3B-"General

    Underlying values remain just the numbers as entered.

    If you wish to physically alter the constants as they are entered you will need to use VBA (change event).

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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