+ Reply to Thread
Results 1 to 9 of 9

.0394 to display as 1mm

  1. #1
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    .0394 to display as 1mm

    What do I need to enter to get .0394 to display as 1MM?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: .0394 to display as 1mm

    assuming that value is inches, try this...

    =CONVERT(A1,"in","mm")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: .0394 to display as 1mm

    =ROUND(0.0394*2.54,2) = 1.0000


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: .0394 to display as 1mm

    I should have provided more info

    I have a cell with a drop down list. The list contains .0394,.0625,.1181

    I have other cells with formulas based off the numbers listed above. When I click the drop down arrow and select .0394 I want it to show as 1MM, .0625 as 1/16, .1181 as 3MM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: .0394 to display as 1mm

    what is the logic for that? why is 1 converting to fractions, and the others converting to (what looks like) milemeters?

  6. #6
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: .0394 to display as 1mm

    I use different thickness of edgebanding. The .0625 could be 1.5MM Its just a comfort thing I use fractions and millimeters to build cabinets.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: .0394 to display as 1mm

    to the best of my knowledge, a cell cannot have 2 different formats like that. when you you have other formulas based off that drop-down, i assume they use 1, and not 1mm? if so, then what difference does it really make is the dropdown is always showing mm, and not fractions?

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: .0394 to display as 1mm

    If the choices are in a data validation list, why not just list them as you want them to appear?
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: .0394 to display as 1mm

    Ok Thank You

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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