+ Reply to Thread
Results 1 to 5 of 5

Copy an approximated cell value

Hybrid View

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2007
    Posts
    3

    Copy an approximated cell value

    I have got a cell with value $3.277;however it's dispalyed as 3.28 because i put the cell format as currency with 2 decimnals,i need to copy the dispalyed value 3.28 to another cell but every time i try this it copies the original value 3.277;how can i copy the approximated value (3.28) only?
    Last edited by Tarek Ezzat; 01-18-2012 at 06:41 AM.

  2. #2
    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
    48,638

    Re: Copy an approximated cell value

    You could use ROUND; =ROUND(A1,2), for example


    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


  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Copy an approximated cell value

    You need to copy and paste special values & number formats.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    01-18-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Copy an approximated cell value

    I tried this already but it didn't work,anyways thanks a lot,the round function helped me solving the issue

  5. #5
    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
    48,638

    Re: Copy an approximated cell value

    You're welcome. Thanks for the rep.

+ 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