+ Reply to Thread
Results 1 to 5 of 5

convert column values given in number to a particular range example value of 5 to 1-10

  1. #1
    Forum Contributor
    Join Date
    10-01-2015
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    105

    convert column values given in number to a particular range example value of 5 to 1-10

    Respected Experts, Range Chart.xlsx

    Kindly help me in creating macro for below problem.

    I want to convert column values given in number to a particular range. I have shown that range chart in my excel attachment.

    Example value in column -
    15 convert to 1-500
    318 convert to 1-500
    580 convert to 500-1000
    5875 convert to 5000-10000
    780 convert to 500-1000

    Thanks,
    Harman

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,026

    Re: convert column values given in number to a particular range example value of 5 to 1-10

    Hello Harman. Try the following macro:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,651

    Re: convert column values given in number to a particular range example value of 5 to 1-10

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Forum Contributor
    Join Date
    10-01-2015
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    105

    Re: convert column values given in number to a particular range example value of 5 to 1-10

    Thankyou Alpha...Mumps.....Code is working for my problem......Thankyou very much

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,026

    Re: convert column values given in number to a particular range example value of 5 to 1-10

    Glad to help.

+ 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: 2
    Last Post: 09-01-2014, 07:59 AM
  2. [SOLVED] Having problem to convert a range to a number format
    By GIS2013 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-26-2014, 09:12 AM
  3. [SOLVED] How to convert a column number into another column cell
    By ahmedo047 in forum Excel General
    Replies: 12
    Last Post: 12-27-2013, 05:58 AM
  4. [SOLVED] How do I convert column of dates into column of date values?
    By jfm854 in forum Excel General
    Replies: 7
    Last Post: 12-09-2013, 04:06 PM
  5. convert column number to column letter
    By ilkamalo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2009, 04:35 AM
  6. Hard values to convert to number
    By Guilherme Loretti in forum Excel General
    Replies: 4
    Last Post: 05-09-2006, 06:20 PM
  7. Replies: 9
    Last Post: 10-31-2005, 08:05 PM

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