Closed Thread
Results 1 to 7 of 7

i have one row having string of character next row having fraction values

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    i have one row having string of character next row having fraction values

    How can i modifid in this code

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: i have one row having string of character next row having fraction values

    Hi,

    I think you need to tell us a bit more.

    What do you want to modify and what do you want to achieve for starters. Probably best if you upload the workbook and manually add some calculated results that you expect to see AFTER the macro has run. Be sure to tell us which are the results cells and in a narrative form how you arrived at the results.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: i have one row having string of character next row having fraction values

    i am trying to run macro(deci) but it is not showing anything

    i see in my sheet having fractional values in one row but in few rows haveing only string of character(Sheet3)

    How can i modify this

    Please Help me out

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: i have one row having string of character next row having fraction values

    Please explain in a narrative with reference to your sheet data what you are trying to achieve. I find your macro difficult to follow and not knowing what it's meant to achieve doesn't help.

    Add some manual results and explain where the results are and how you have achieved them.

  5. #5
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: i have one row having string of character next row having fraction values

    Using that code for converting fraction to decimal in whole for respective column(attribute values)

    i that column i have fraction values it is converting but what it is happening that in that column i have some rows haiving only string of characters but not having any fraction values

    what i was trying to do that if run macro it should only convert only fraction values leaving other rows which is having only string of characters

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: i have one row having string of character next row having fraction values

    Please can you give some specific examples as requested earlier.

    And to be clear we need to know what cells you are referring to and what the result should be (and where it should be) after whatever needs to be done has been done.

    Show an example for each of any permutations/lengths of data you may have.

  7. #7
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: i have one row having string of character next row having fraction values

    When i am trying to run macro it is not showing any output Please help me out
    example(1):
    attribute value1
    15/16 IN LG, 1-1/16 IN OD, 11/32 IN THK,21/128 IN ID
    19/128 IN LG, 2-3/64 IN OD, 1/2 IN THK, 5/64 IN ID
    dfgsfgmkldfsg
    19/128 IN LG, 2-3/64 IN OD, 1/2 IN THK, 5/64 IN ID
    height
    19/128 IN LG, 2-3/64 IN OD, 1/2 IN THK, 5/64 IN ID
    19/128 IN LG, 2-3/64 IN OD, 1/2 IN THK, 5/64 IN ID
    19/128 IN LG, 2-3/64 IN OD, 1/2 IN THK, 5/64 IN ID
    Last edited by baig123; 07-10-2014 at 01:54 AM.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] find the character position in a string of the last occurrence of a nominated character
    By jmac1947 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2014, 11:52 PM
  2. Number: Fraction format & add string
    By KTELANG in forum Excel General
    Replies: 8
    Last Post: 06-09-2011, 06:14 PM
  3. Replies: 2
    Last Post: 06-16-2010, 09:01 AM
  4. doesn't recognize fraction in string as numeric
    By bodhi2.71828@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2006, 12:25 AM
  5. Function to return Character Position of Xth character within a string
    By Andibevan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-09-2005, 11:05 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