Closed Thread
Results 1 to 2 of 2

Macro to clen values in the cells in excel 2007

  1. #1
    Forum Contributor
    Join Date
    08-12-2012
    Location
    mysore
    MS-Off Ver
    Excel 2007
    Posts
    212

    Macro to clen values in the cells in excel 2007

    Hi,

    I have a data that needs to be cleaned such a way that only the values after '-',;>','to','Over' to be retained and also need to remove trailing '+'and ',' in the values.
    You can see the example below.I have also attached sample spreadsheet.
    The macro should work in any row or column in the sheet not just the particular column.

    Count
    222-333
    1000-9999
    1000-9999
    222-333
    1000-9999
    100 to 200
    100>200
    100+
    100,
    Over 2000

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Macro to clen values in the cells in excel 2007

    ok! That's enough!! Stop posting same question again and again creating duplicate threads or you'll be soon a Banned user.



    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 07-12-2012, 02:14 PM
  2. Macro to add formatted rows contingent upon some values in Excel 2007
    By NiceLittleRabbit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-15-2010, 02:34 PM
  3. Using a macro to shade cells (Excel 2007)
    By jazztalker in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-02-2009, 11:55 AM
  4. Handling Errors in Values & Empty cells in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-28-2007, 06:37 AM
  5. Displaying Formulas and Values of the Same Cells in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-15-2007, 02:47 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