+ Reply to Thread
Results 1 to 3 of 3

Multiple occurances

Hybrid View

  1. #1
    Registered User
    Join Date
    10-30-2007
    Location
    Darlington, United Kingdom
    MS-Off Ver
    Depends where I am home or work
    Posts
    12

    Multiple occurances

    Hello,

    I don't know if someone has asked this before...

    In my spreadsheet I have 2 tabs; one called '2007' and one called 'Progress'
    (this links in with my question of yesterday 'rows to columns')

    On tab '2007' I have data in A2 which I want to be replicated in cells A2:A7 in tab 'Progress'. Okay I can do this (='2007'!$A$2) BUT the data in tab 2007 stretches of 100 rows. It is not simply dragging it down to replicate the formula (even with the '$' removed) as it copies the incorrect data.

    So what I want is to copy data from tab '2007' cells A2:A100 to tab 'Progress' but replicated 6 times. I hope this makes any sense.

    Tab '2007'
    ENQ/001/07
    ENQ/002/07
    ENQ/003/07

    To copy and replicated into:
    Tab 'Progress'
    ENQ/001/07
    ENQ/001/07
    ENQ/001/07
    ENQ/001/07
    ENQ/001/07
    ENQ/001/07
    ENQ/002/07
    ENQ/002/07
    ENQ/002/07
    ENQ/002/07
    ENQ/002/07
    ENQ/002/07
    ENQ/003/07
    ENQ/003/07
    ENQ/003/07
    ENQ/003/07
    ENQ/003/07
    ENQ/003/07

    Thanks

    HPD

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    =OFFSET('2007'!$A$1,INT((ROW(A1)-1)/6),0)
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-30-2007
    Location
    Darlington, United Kingdom
    MS-Off Ver
    Depends where I am home or work
    Posts
    12
    Excellent!!!

    Thanx, it did what I wanted it to do.

    Cheers
    HPD

+ 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