+ Reply to Thread
Results 1 to 4 of 4

Adding unit to character field

  1. #1
    Forum Contributor
    Join Date
    04-26-2017
    Location
    Brussels, Belgium
    MS-Off Ver
    2010
    Posts
    133

    Adding unit to character field

    Hello,

    I want to add the prefix "Class" to a field that contains alphabet characters.
    It seems my code "Class "##0 only works for numbers... can anyone help me out?

    I could easily hardcode it into the cell function, but I want to know if there is another way to do it.

    Thanks for your help!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,811

    Re: Adding unit to character field

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,256

    Re: Adding unit to character field

    Try :
    "Class "@
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Forum Contributor
    Join Date
    04-26-2017
    Location
    Brussels, Belgium
    MS-Off Ver
    2010
    Posts
    133

    Re: Adding unit to character field

    Great! Thanks for your advice Popipipo!
    Dankjewel! Het werkt!

+ 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. Replies: 3
    Last Post: 07-19-2016, 04:25 PM
  2. display unit on axis (unit that's less than 1)
    By hoda in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-21-2016, 08:16 PM
  3. Replies: 4
    Last Post: 10-07-2015, 06:04 AM
  4. [SOLVED] Unit increase relative to variable unit thresholds
    By Fr3dle in forum Excel General
    Replies: 6
    Last Post: 07-01-2013, 06:57 AM
  5. Replies: 3
    Last Post: 03-03-2012, 12:16 PM
  6. Automatically adding a unit price
    By Toolman John in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-20-2009, 09:36 PM
  7. removing character from field
    By adibranch in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-26-2005, 07: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