+ Reply to Thread
Results 1 to 8 of 8

For Every 20 Add 1

  1. #1
    Registered User
    Join Date
    09-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    For Every 20 Add 1

    Alright, I have another one here...

    I want to add 1 to B19 for every multiple of 20 in A19. It has to be every 20 exactly, so B19 should read 0 until I type 20 in A19, and then it should read 1 until I type 40, etc.

    I appreciate the quick response I received earlier, and any help here is much appreciated as well!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: For Every 20 Add 1

    Isn't this simply

    in B19
    =INT(A19/20)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    09-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: For Every 20 Add 1

    Yep, that did it! I was wasting time trying to get it work using CEILING. Thanks a bunch!

  4. #4
    Registered User
    Join Date
    06-06-2006
    Location
    English(UK)
    MS-Off Ver
    2019
    Posts
    93

    Re: For Every 20 Add 1

    Please Login or Register  to view this content.
    Should do.

  5. #5
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    917

    Re: For Every 20 Add 1

    Another try:

    =ROUNDDOWN(A19/20,0)

  6. #6
    Registered User
    Join Date
    09-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: For Every 20 Add 1

    Ok, here's a follow-up. Now I would like B19 to increase by one every time 20+B14 is entered into A19. For example, B14's value is 4, so every time A19 reaches 24, B19 should increase by 1. I've been trying to get it to work but once again I'm stumped. Thanks in advance!

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: For Every 20 Add 1

    Maybe..

    =INT(A19/(20+B14))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  8. #8
    Registered User
    Join Date
    09-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: For Every 20 Add 1

    That did it! Thanks again!

+ 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