+ Reply to Thread
Results 1 to 2 of 2

Formula for calculating divisibles

  1. #1
    Registered User
    Join Date
    01-30-2012
    Location
    Bournemouth, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Thumbs up Formula for calculating divisibles

    Hi All,

    have a problem i need to work out, and not sure where to start with this, so hoping you guys can help me out.

    say i have 3 columns (singles, tens, and twentys).

    i then have a fourth column where a number is typed.

    in this scenario, if a user types in 30 into the 4th column, then i need the sheet to enter a 1 in the twenty's column and a 1 in the tens column.
    if a user types 56 in the 4th column, then the sheet would enter 2 in the twentys column, 1 in the tens column and 6 in the singles column.

    hopefully i am explaining myself ok, and any help is greatly appreciated.

    Cheers

    Jason

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Formula for calculating divisibles

    Hello
    In cell A2:

    =QUOTIENT(D2-B2*10-C2*20,1)

    In cell B2:

    =QUOTIENT(D2-C2*20,10)

    and in cell C2:

    =QUOTIENT(D2,20)

    Then enter your value in D2 and you can copy down the formulas.

    It's possible there's an easier way but it seems to work. Hope this helps.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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