+ Reply to Thread
Results 1 to 5 of 5

fill in range of values with Row()

  1. #1
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    fill in range of values with Row()

    i,

    Starting in cell J2 and down up to J9 - I need to preset the following values:

    3
    3
    7
    7
    11
    11
    15
    15

    Tried a few times but no success.

    What am I missing ?

    Thanks, Elm
    Last edited by ElmerS; 07-21-2009 at 12:48 PM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: fill in range of values with Row()

    Please explain in more detail or post a workbook thats shows the desired rsult. It's not clear what you mean by "present data".

    However, this formula in any cell will return the row number in that cell

    =ROW()

  3. #3
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: fill in range of values with Row()

    Despite a small "TYPO" I still think it was clear enough.

    Anyway, will the attached clear things up ?

    Thanks.
    Attached Images Attached Images

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: fill in range of values with Row()

    there maybe other ways but

    =3+((INT(ROW()/2)-1)*4)

    or

    =3+(INT((ROW()-2)/2)*4)

    seem to work
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: fill in range of values with Row()

    Works Perfect !

    Thanks.

+ 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