Closed Thread
Results 1 to 3 of 3

Decimal Conversion into integer

  1. #1
    Registered User
    Join Date
    03-26-2012
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    5

    Decimal Conversion into integer

    Dear Experts

    i have 1 carton having 15 pieces. suppose i have 12 cartons and i sold 2 cartons and 1 pieces the answer is 10.14 by using the under given formula and i find same result when i added to stock new items i purchase it automatically convert it into carton and pieces as pieces reach to a defined given limit of 15 it automatically converted into a full one carton so i added 3 carton and 2 pieces and after reaching its limit of 15 pieces in a carton it converted .14+.2 into 1 full carton and added into carton side and the remaining 1 single piece is standing alone. this formula is working fine with this carton having 15 pieces but it do not work with carton having 10 pieces or less than 10 pieces. please help me to solve this issue. any formula or vb solution. (kindly remember to increase decimal places atleast up to 2 digits). please also see the attached file for better understanding.

    A
    1 OPENING STOCK 12.00
    2 SOLD 2.01
    3 10.14 =DOLLARFR(DOLLARDE(A1,15)-DOLLARDE(A2,15),15)

    4 new purchase 3.02
    5 closing stock 14.01 =DOLLARFR(DOLLARDE(A3,15)+DOLLARDE(A4,15),15)
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-26-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: Decimal Conversion into integer

    You have already asked this question and you have already received a correct answer to it.

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

    Re: Decimal Conversion into integer

    Welcome to the Forum, unfortunately:

    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. You have created 2 duplicate threads. Please stop doing so. Whatever questions you have, please post it in your original thread http://www.excelforum.com/excel-gene...ll-number.html
    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]

Closed 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