+ Reply to Thread
Results 1 to 3 of 3

Rollover Counting

  1. #1
    Registered User
    Join Date
    06-04-2011
    Location
    Lakeview, Arkansas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Rollover Counting

    I have a problem where A is a range counted between 1101 and 1300, and I need the count between the 2 values. For example A1=1159, A2=1236 then B2=77. My problem is when A2=1236, A3=1108. I can't figure out the formula to make B3=72. Any help?

  2. #2
    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: Rollover Counting

    Welcome to the forum.

    In B2 and down,

    =IF(A2>=A1, A2-A1, 1300-1101+1-A1+A2)

    Or,

    =MOD(A2-A1, 1300-1101+1)
    Last edited by shg; 06-04-2011 at 01:51 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-04-2011
    Location
    Lakeview, Arkansas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Rollover Counting

    Thanks, this has worked pefectly.

+ 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