Viewing 10 posts - 1 through 10 (of 10 total)
  • Excel formula help
  • eckinspain
    Free Member

    I have data in a grid in one sheet and I want to transfer some of the data to a column in another sheet.
    The data I need from sheet 1 is in cells A1, B2, C3, D4 etc
    I need to put it in one column in sheet 2: A1, A2, A3 etc
    How do I copy formulas so that it increases both row and column range?

    oldejeans
    Free Member

    copy, paste special

    transpose

    jimdubleyou
    Full Member

    Your data is in a diagonal line?

    I have no idea how to do that without a lot of typing or some weird table definition and lookup.

    ffej
    Free Member

    Could you use the offset statement of change the reference cell?

    Jeff

    eckinspain
    Free Member

    Thanks ffej, OFFSET worked.
    I used it to use ever increasing offsets for each cell.

    jimdubleyou
    Full Member

    *Intrigued* Never used offset before…

    What’s the formula?

    eckinspain
    Free Member

    Me neither.

    =OFFSET(‘Sheet (2)’!$E$14,H15,I15,1,1)

    So it looks for cell E14 in “Sheet (2)”, but then moves down the number of rows contained in cell H15, and then moves right the number of columns in cell I15. The last 2 digits are optional.

    This allowed me to have columns H and I as lists of increasing digits so each time it looked one row down and one row to the right.

    jimdubleyou
    Full Member

    Got it. That could be handy one day 🙂

    Stoner
    Free Member

    offset and indirect are very powerful for extracting data from one form to use in another.

    Worth experimenting with template worksheets and changes to worksheet names based on cell contents. Very useful.

    Think of OFFSET a bit like battle ships.

    Start with an “Origin”, and the other 4 arguments define how far left/right and up/down of the origin you move, and then how much data to bring back. Usually 1×1, but when used with other functions like “SUM” it can bring back the sum of an array.

    oldejeans
    Free Member

    *gets glasses*

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Excel formula help’ is closed to new replies.