Benches Uncategorized

6

trasforming column in a table

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi everybody,

is there a way to transform a column (about 500 cells) in a table?

As in the attached file ...

Thanks a lot

Ciao

Michele

6 replies

Sign in or join Beachball Help to reply.

  1. 0

    Wayne Contello

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Try this...

    Assuming the column of data is in a table named "Source Data" and that you have a second table named "Transposed"

    Enter the formula in cell A1 of the table "Transposed":

    A1=IFERROR(OFFSET('Source Data 1-1'::$A$1, ROWS(A)×(COLUMN()−1)+(ROW()−1), 0), "")

    this is shorthand for... select cell A1, then type (or copy and paste from here) the formula:

    =IFERROR(OFFSET('Source Data 1-1'::$A$1, ROWS(A)×(COLUMN()−1)+(ROW()−1), 0), "")

    to fill this formula, select cell A1, copy

    select all cells of the table "Transposed", paste

    now adjust the size of the table "Transposed" as needed

  2. 0

    SGIII

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'd do this:

    The formula in A1, filled right and down in Table 2:

    =INDEX(Table 1::$A,3*(ROW()−1)+COLUMN())

    Just change the 3 to whatever number of columns you want in the table at the right.

    You can optionally wrap the formula in IFERROR if you want to hide red warning triangles when you are out of range.

    SG

  3. 0

    urusce

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi ... first thanks for answer.

    Sorry I'm a bit dummy. Is something wrong? Maybe in the italian version some keys are different.

  4. 0

    Yellowbox

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi urusce

    Sorry I'm a bit dummy. Is something wrong? Maybe in the italian version some keys are different

    There are no dumb questions here!

    In Italian, replace the comma (,) with semicolon (;)

    =INDEX(Table 1::$A;3*(ROW()−1)+COLUMN())

    Regards,

    Ian.

    Non ci sono domande stupide qui!

    In italiano, sostituire la virgola (,) con punto e virgola (;)

    = INDICE (Tabella 1 :: $ A; 3 * (ROW () - 1) + COLUMN ())

    Saluti,

    Ian.

  5. 0

    SGIII

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If you're having trouble getting a posted formula to work on your machine often that's because, as Ian say, formats in your Region are different. One way to explore that is to go to File > Advanced > Language and Region ... in your menu and change the Language temporarily to English. Then input the formula as posted, and if it works, switch back to your language.

    With the Language set to Italian, my formula looks like this:

    =INDICE(Table 1::$A;3*(RIGA()−1)+RIF.COLONNA())

    SG

  6. 0

    urusce

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    IT WORKS GREAT!

    Thanks a lot, that's why I love Apple

    Ciao

    Michele