+ Reply to Thread
Results 1 to 4 of 4

Fill Function down 8 rows then over 4 Columns

  1. #1
    Registered User
    Join Date
    03-24-2011
    Location
    Montana
    MS-Off Ver
    Excel 2007
    Posts
    2

    Fill Function down 8 rows then over 4 Columns

    Okay, I apologize if this has been answered repeatedly. I'm a newbie and am not sure what verbiage to use in order to return an answer.

    I'm creating a worksheet that populates from a table in a different worksheet by using and IF function with multiple criteria. The formula is created and is working, however I'd like to have it populate as follows:

    Example:
    Source table:
    1
    2
    3
    4
    5
    6
    7
    8

    Would like it to populate the cells in a manner such as this: (|) represents adjacent cell

    | 1 | 5 |
    | 2 | 6 |
    | 3 | 7 |
    | 4 | 8 |

    As it is now when I drag the fill box, it fills like this:

    | 1 | 1 |
    | 2 | 2 |
    | 3 | 3 |
    | 4 | 4 |

    Any suggestions on how I can identify the cell range to be "printed to", so that I don't have to go in and manipulate the function at the top of each column?
    Thanks for any help you can provide. (my apologies again for the poor verbiage)

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Fill Function down 8 rows then over 4 Columns

    Are you saying your source data is stored in say Sheet1!A2:A9 and first result in Sheet2!A1 then

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-24-2011
    Location
    Montana
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Fill Function down 8 rows then over 4 Columns

    DonkeyOte,
    Thank you very much for responding. I'm attaching a much better sample of what I'm trying to accomplish, as I'm sure there is a much easier way to do this.

    (see attached workbook)
    What I'm trying to do is map the data from Sheet2 into the appropriate spots on Sheet1. Originally I tried to write an IF/AND function to no avail.
    The original function said:

    A2 =IF((AND(‘Sheet2'!$A2="2B",'Sheet2'!$B2="A")),'Sheet2'!$E2)

    I would like to have the function populate the corresponding color areas with applicable data for each "TBL" listed. Without having to wade through a sea of FALSE statements.

    Again, any suggestions are greatly appreciated! Thank you.
    Attached Files Attached Files

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Fill Function down 8 rows then over 4 Columns

    The above is obviously quite a big departure from your original question.

    Given the nature of your sample file, specifically the layout of your results table, whichever route you take things are like to prove a little cumbersome / inefficient.

    See attached for one possible approach, however, if your real dataset is much larger than implied by the sample I'd advise against it.

    Should it prove to be the case that you are indeed dealing with mass volumes of source data I would suggest you:

    a) reconsider the layout of your results tables (vector rather than matrix)

    and

    b) look into sorting your source Tables (by Room and Table) - sorted data --> efficient calculations
    Attached Files Attached Files
    Last edited by DonkeyOte; 03-27-2011 at 05:38 AM.

+ 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