+ Reply to Thread
Results 1 to 4 of 4

creating a pattern for auto fill dfor referenced cells

  1. #1
    Registered User
    Join Date
    03-01-2015
    Location
    canada
    MS-Off Ver
    2013
    Posts
    3

    creating a pattern for auto fill dfor referenced cells

    I am having a problem getting autofill to follow my desired pattern while referencing cells on a different page.

    I am building a worksheet with one master data sheet and several tabs compiling selected data into functional sheets. On one tab I need a row to go as follows: 'sheet1'!A1, 'sheet1'!B1, 'sheet1'!C1....'sheet1'!H1, 'sheet1'!A2, 'sheet1'!B2,'sheet1'!B2.....'sheet1"!H2, 'sheet1'!A3....etc. going like that continually.

    Basically I need the pattern to continue to read 8 columns across before moving to the next row down (on the referenced page).

    The problem I am facing when trying to do this is after manually building several rows then attempting to autofill, excel fills the row below with 8 columns but will not go 1 row down but 8. The result is: 'sheet1'!A1, 'sheet1'!B1, 'sheet1'!C1....'sheet1'!H1, 'sheet1'!A9, 'sheet1'!B9,'sheet1'!B9.....'sheet1"!H17, 'sheet1'!A16....etc.

    Below explains more clearly:

    What I want (simplified):

    'sheet1'!A1
    'sheet1'!B1
    'sheet1'!C1
    'sheet1'!A2
    'sheet1'!B2
    'sheet1'!C2
    'sheet1'!A3
    'sheet1'!B3
    'sheet1'!C3

    What I am getting:

    'sheet1'!A1
    'sheet1'!B1
    'sheet1'!C1
    'sheet1'!A4
    'sheet1'!B4
    'sheet1'!C4
    'sheet1'!A7
    'sheet1'!B7
    'sheet1'!C7

    How can I accomplish this task?

    thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: creating a pattern for auto fill dfor referenced cells

    See if this helps...

    Data Range
    A
    B
    C
    D
    E
    1
    1
    2
    3
    1
    2
    4
    5
    6
    2
    3
    7
    8
    9
    3
    4
    4
    5
    5
    6
    6
    7
    7
    8
    8
    9
    9
    10
    ------
    ------
    ------
    ------
    ------


    We want to reconfigure the range A1:C3 to a single column.

    This formula entered in E1 and coped down to E9:

    =OFFSET(A$1,INT((ROWS(E$1:E1)-1)/3),MOD(ROWS(E$1:E1)-1,3))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    03-01-2015
    Location
    canada
    MS-Off Ver
    2013
    Posts
    3

    Re: creating a pattern for auto fill dfor referenced cells

    Perfect! a couple tweaks and it worked. Thank you

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: creating a pattern for auto fill dfor referenced cells

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Auto Fill a Referenced Table
    By nicolehambrick in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-19-2014, 01:42 AM
  2. [SOLVED] Fill Series of Referenced Cells
    By joconley in forum Excel General
    Replies: 5
    Last Post: 10-19-2013, 06:42 AM
  3. Replies: 0
    Last Post: 02-18-2013, 03:47 PM
  4. If any cell in range is changed to a certain value/text, fill cells to right with pattern
    By suzanchesson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2012, 09:47 AM
  5. Replies: 5
    Last Post: 01-02-2012, 12:09 PM

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