+ Reply to Thread
Results 1 to 3 of 3

Paste values in a column, then apply custom number format

  1. #1
    Forum Contributor
    Join Date
    12-15-2009
    Location
    Herndon, VA
    MS-Off Ver
    Excel 2010
    Posts
    163

    Paste values in a column, then apply custom number format

    In column A I have 4 digit numbers such as 0801, 1225, etc. These all have green smart tags that I want to get rid of.

    I am trying Columns(1) = format(Columns(1),"####") but it's not working.

    Basically, set the values of column(1) to the values of column(1) which will clear the smart tags. But that truncate any leading zeros. So then I want to apply a number format so that everything in column(1) has 4 digits.

    Any ideas?

  2. #2
    Forum Contributor
    Join Date
    03-28-2013
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    226

    Re: Paste values in a column, then apply custom number format

    Before you enter your data, select the column, do a right-click, and select "Format Cells..."
    Under "Category", select "Text".

    or
    =TEXT(A1,"0000")
    Last edited by venkatpvc; 12-22-2013 at 09:52 PM.
    Give Feedback and Click(*)

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Paste values in a column, then apply custom number format

    Please Login or Register  to view this content.

+ 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. How to apply custom function to one Column only
    By lindomsm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2013, 09:13 AM
  2. Replies: 5
    Last Post: 07-10-2013, 04:08 PM
  3. Custom number format code for hiding specific values on chart axes
    By rob_storrar in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 11-25-2012, 12:27 AM
  4. Replies: 0
    Last Post: 01-18-2011, 08:47 AM
  5. Custom Number Format: Resistor Values
    By benstreek in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-17-2006, 07:37 AM

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