+ Reply to Thread
Results 1 to 2 of 2

excel functions

  1. #1
    Registered User
    Join Date
    02-22-2005
    Posts
    1

    excel functions

    hi,
    can somebody please explain what this formula means step by step. i cant understand it.
    =MOD(ROW()+E2,5)+1
    thanx in advance
    Chris

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    =MOD(ROW()+E2,5)+1

    MOD returns the remainder after one number is divided by another

    Row() returns the number of the row the formula is in

    Therefore, this formula adds to the current row number the value in cell E2, this sum is then divided by 5 and 1 is added to the remainer of this division.

    Example. Cell E2 contains "7" and this formula is entered in Cell B6. The result is:

    6 (the row number of the formula)+7 =13, divided by 5 has a remainder of 3, plus 1 returns "4" in cell B6

    HTH
    Last edited by swatsp0p; 02-22-2005 at 12:11 PM. Reason: additional information...
    Bruce
    The older I get, the better I used to be.
    USA

+ 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