Numbers: Copy/Paste from multiple tables into 1 single Table?

I would appreciate some guidance in creating a copy/paste script from multiple numbers tables into a different single table within the same numbers document.
The columns in the source table are in different positions to the destination table.
So for example, i would want to copy…
Sheet 1, Table 1 Cell A3  copy to Sheet 2 Table Z Cell B2
Sheet 1, Table 1 Cell B3  copy to Sheet 2 Table Z Cell C2
Sheet 1, Table 1 Cell C3  copy to Sheet 2 Table Z Cell E2
Sheet 1, Table 1 Cell D3  copy to Sheet 2 Table Z Cell F2
Sheet 1, Table 1 Cell E3  copy to Sheet 2 Table Z Cell G2
Sheet 1, Table 1 Cell G3  copy to Sheet 2 Table Z Cell I2
Sheet 1, Table 1 Cell J3  copy to Sheet 2 Table Z Cell H2
and repeat the copy/paste on subsequent rows of each table until there is an empty row in Sheet 1 Table 1 (or if this is difficult, say set the repeat to a max of 30 rows).
The script would then need to move on to Sheet 1 Table 2, and do the same copying to Sheet 2 Table Z (from where the previous copy/paste finished in Table Z).
Repeat process would finalise with Sheet 1 Table 6.
The Paste part would need to be pasting values, as the cells in the source tables do contain some formulas.
At the moment this is all done manually and does take some to to undertake.
If anyone can help, i would be very grateful.
Thanks,
Colin

Interceptor,
are you trying to aggregate data from severl tables into a single table?  If so you whould be able to do this without a script.  The function indirect() will allow you to construct the proper formula, which you may fill over (in the same row) to the appropriate cells, then fill down.
Here is a small example:
There are three data tables ("Table 1", "Table 2", and "Table 3").  And a summary "Table Z"
In table Z make the first row a header (as shown):
Use column A to enter the Sheet name and colomn B to enter the table name.
In row 1 (the header), enter the cells you want to get
in cell C2 type (or copy and paste from here) the formula:
=INDIRECT($A2&"::"&$B2&"::"&C$1)
now select cell C2, copy now select cell C2 thru H2, paste
now select the cells C2 thu H2, hover the corsor over the bottom edge of the selection, and drag the yellow cirlc down as needed to fill the formula down.
Update the sheet and table names as needed for each row

Similar Messages

  • How to get the data from multiple tabes into single table

    hi all,
    here i am having 10 data base tables,how to get the data into a single table.
    regards,
    subba reddy

    hi,
    non XI/PI related
    Regards,
    Michal Krawczyk

  • How can i import the data from multiple sources into single rpd in obiee11g

    how can i import the data from multiple sources into single rpd in obiee11g

    Hi,
    to import from multiple data sources, first configure ODBC connections for respective data sources. then you can import data from multiple data sources. When you import the data, a connection pool will create automatically.
    tnx

  • BEX Workbook - consolidating common data from multiple queries into a table

    Hello BW Gurus,
    We have couple of queries. One getting data for Material and its components and the other query getting sales volume for  material along with many other data.
    In the other tab, I would like to display only the Material and its sales volume as another table.
    Is there a setting in the BEX to group only these fields and populate values in a different tab?
    regards
    S R

    Can you pls elaborate?
    Do you want multiple reports on single excel sheet? also do you want to have any relation between them like only those materials that appeared in first report?

  • Insert from multiple dbf into mdb tables

    Can everyone tell me how to insert records from dbf files into existing ms access tables

    1st free solution for Windows: use one jdbc-odbc connection for dbf, and a jdbc connection for ms access, then
    Connection dbfConnection=...
    Connection msaccessConnection=...
    ResutSet dbfResultSet=dbfStatement.executeQuery("select ... from ...where ...");
    PreparedStatement accessInsertStmt=msaccessConnection.prepareStatement.("insert into ... (..) values(?,?,...)");
    while(dbfResultSet.next){
    accessInsertStmt .setObject(1,dbfResultSet.getObject(1));
    accessInsertStmt .setObject(2,dbfResultSet.getObject(2));
    accessInsertStmt .executeUpdate();
    2nd commercial solution for Linux/Unix: use HXTT DBF and HXTT Access, and read Bulk Insert A ResultSet from any JDBC driver at http://www.hxtt.com/access/advanced.html#insertresultset .

  • Data from multiple application into single application

    Hi All,
    I have a requirement as below
    Suppose there are 4 different cubes and 1 reporting cube .All the 4 cubes are in different servers/geographical regions.I need to get the data into the reporting cube from all the cubes.
    The reporting cube is also in a different server
    What are the ways or options to achieve this....
    Thanks in advance
    Regards,
    Sriram

    Hi
    I don't think you can go with partitioning.
    My suggestion would be to look at any other options. Export and Import.
    Few Question:
    1. Do you want to send all level0 data from all the four cubes reporting cubes?
    2. Do you want to send only a portion/subset of data to the reporting cube? Is it level0 only or even upper level data?
    3. Are all the Four cubes BSO/ASO?
    4. Is the reporting cube already in place (OR) Are you planning ASO for reporting cube?
    5. How big are your cubes?
    Depending on how much amount data  & at what frequency you want to push to reporting cube, you may have to look at different options
    As Ambuj said, if you can give a bit more on requirement then we can help out
    Regards
    Amarnath
    http://amarnath-essbase-blog.blogspot.com

  • Recordset output from multiple queries to single table

    Hi
    I am trying to find a way to build a dynamic table where the columns appear to need to come from to different queries or from a union query but am confused.My table would look like this and if there is month data then there will be Year to Date data but not neccessarily vice versa.
    The number of records will vary.
    My sql for Month is
    Select Class, sum(Value) as MonthData
    From Data
    Where Month = Jan
    Group By Class
    For Year is
    Select Class, sum(Value) as YearData
    From Data
    Group By Class
    So all data is coming from my table data which has columns Class, Month, Year, Value
    In my recordset in DQ I want to be able to specify a variable "Month" so user can change it but want year to date to always be year to todays date.
    any thoughts gratefully received.
    Simon
    Class
    Month
    Year to Date
    A
    DataSource1
    Datasource2
    B
    DataSource1
    DataSource2
    C
    DataSource1
    DataSource2

    Hi
    I am trying to find a way to build a dynamic table where the columns appear to need to come from to different queries or from a union query but am confused.My table would look like this and if there is month data then there will be Year to Date data but not neccessarily vice versa.
    The number of records will vary.
    My sql for Month is
    Select Class, sum(Value) as MonthData
    From Data
    Where Month = Jan
    Group By Class
    For Year is
    Select Class, sum(Value) as YearData
    From Data
    Group By Class
    So all data is coming from my table data which has columns Class, Month, Year, Value
    In my recordset in DQ I want to be able to specify a variable "Month" so user can change it but want year to date to always be year to todays date.
    any thoughts gratefully received.
    Simon
    Class
    Month
    Year to Date
    A
    DataSource1
    Datasource2
    B
    DataSource1
    DataSource2
    C
    DataSource1
    DataSource2

  • Copy-Paste From Other Apps (like PPT 2004) Into CS5 Broken ? -  OS 10.6.3

    Hi,
    New Mac, so to avoid problems went for the new post-Snow Leopard Photoshop CS5. Oops.
    Copy-Paste From Other Apps Into CS5
    Pasting images/photos from Powerpoint 2004 to CS5, I experienced the exact problem posted slightly off topic by james norrington in the thread "CS5 does not let me copy & paste file names."  It was not answered and is quoted here:
    ---"I am using CS5 Photoshop and Office 2004 on 10.6.3. I was using 10.4 until a few weeks ago and it worked and still works with other macs in the office using CS4. I can copy and paste from powerpoint but it cuts the pictures in half and does not know what the res. of the image is. Also when I go from photoshop to powerpoint the image res. is also not preserved."---
    Besides that, I also found copy-paste from a digital camera photo.jpg from Preview to CS5 doesn't respect the resolution either. Directly opening the photo into PS CS5, fine.
    From the earliest PS, always was able to copy any image to clipboard, have a new document dialog box come up pre-filled with correct original WxH pixels, original resolution, color mode, etc., and just paste into the new document - perfect fit (even the oddball PPT 576 ppi). Now a shift and cut-off.  Don't have PPT 2008 to test pasting from there.
    I have also found that a similar but less severe image cut off happens when copy-paste from PPT -> Preview, or -> TextEdit, or ->  drag and drop picture clipping.
    Opening Image File in CS5
    Even an original 300 dpi tiff file wrongly went to 72 ppi etc. when opened directly into CS5. Converted the file to a jpeg in Preview - that jpeg file could be opened into CS5 correctly, reconverted the jpeg to TIFF in Preview, still opened OK (not counting loss of image quality). Still couldn't copy paste from either document into CS5 correctly. One difference I noticed in the converted files was that more information was available in the Preview file info. Maybe that made the difference in opening the file correctly.
    I'd welcome any suggestions. Thanks.
    ---detail of tiff file ---
    original
         GENERAL
         Color Model: RGB
         Depth: 8
         DPI Height: 300
         DPI Width: 300
         Pixel Height: 1033
         Pixel Width: 1315
         TIFF
         Compression: LZW
         Photometric Interpretation: RGB
         Software: Image-Pro Plus
         Y Resolution: 300
    After conversion to jpeg in Preview"
    GENERAL
         Color Model: RGB
         Depth: 8
         DPI Height: 300
         DPI Width: 300
         Orientation: 1 (Normal)
         Pixel Height: 1033
         Pixel Width: 1315
    EXIF
         Pixel X Dimension: 1315
         Pixel Y Dimension: 1033
    TIFF
         Color Model: RGB
         Depth: 8
         DPI Height: 300
         DPI Width: 300
         Orientation: 1 (Normal)
         Pixel Height: 1033
         Pixel Width: 1315
    ----END---

    Thanks to Chris for the explanation of the dueling clipboards.
    It's still frustrating, but since I still have a CS2 license from the dead G4 the current Mac replaced, I can try that (wonder if they can coexist), or maybe I could use an older Mac for this particular situation.
    As for the .tif file, it was generated by a Mac OS 8.5 era image capture program that we are forced to use, and the analysis was that the app does not properly encode the TIFF tags to acceptable standards. Preview 5.0.2 just guessed right from the little information that was included - but it didn't work when tried with Preview 3.0.9 on an OS 10.4 Mac. So this was a unique situation.

  • Copy text from multiple fields to one field

    I would like to copy text from multiple fields into one field. Each of these smaller fields will only be allowed to have one character. The larger field will not be able to be edited.
    So far, I have thought of creating a naming heirarchy for these fields. I was going to then call upon the array of the parent and set the value of the parent to equal this array.
    var parent = this.getField("everything");
    var array = everything.getArray();
    var v;
    for(parent=0; parent<array.length; parent++)
    v = a + " " + v;               //Im guessing this line is incorrect
    parent.value = a;
    Any suggestions? or a better way of doing this.
    Thanks

    The code sample you provided is using AcroForm scripting and will not work in this form. There is another post similar to this one...have a look at this one it might help you out. It is doing the opposite of what you want but the concept of the loop and how each field is addressed inside ofthe loop is what you wil need.
    http://forums.adobe.com/message/2954517#2954517
    Paul

  • Insert multiple records into a table(Oracle 9i) from a single PHP statement

    How can I insert multiple records into a table(Oracle 9i) from a single PHP statement?
    From what all I've found, the statement below would work if I were using MySQL:
         insert into scen
         (indx,share,expire,pitch,curve,surface,call)
         values
         (81202, 28, 171, .27, 0, 0, 'C' ),
         (81204, 28, 501, .25, 0, 0, 'C' ),
         (81203, 17, 35, .222, 0, 0, 'C' ),
         (81202, 28, 171, .27, 2, 0, 'C' ),
         (81204, 28, 501, .20, 0, 1, 'C' ),
         (81203, 28, 135, .22, 1, 0, 'C' )
    The amount of records varies into the multiple-dozens. My aim is to utilize the power of Oracle while avoiding the i/o of dozens of single-record inserts.
    Thank you,
    Will

    You could look at the INSERT ALL statement found in the documentation here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_913a.htm#2133161
    My personal opinion is that you probably won't see any benefit because under the hood I think Oracle will still be doing single row inserts. I could be wrong though.
    The only way to confirm was if you did a test of multiple inserts vs an INSERT ALL, that is if the INSERT ALL met your requirements.
    HTH.

  • How To Concatenate Column Values from Multiple Rows into a Single Column?

    How do I create a SQL query that will concatenate column values from multiple rows into a single column?
    Last First Code
    Lesand Danny 1
    Lesand Danny 2
    Lesand Danny 3
    Benedi Eric 7
    Benedi Eric 14
    Result should look like:
    Last First Codes
    Lesand Danny 1,2,3
    Benedi Eric 7,14
    Thanks,
    David Johnson

    Starting with Oracle 9i
    select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
    from
    (select last, first, code, row_number() over(partition by last, first order by code) rn
    from a)
    connect by last = prior last and first = prior first and prior rn = rn -1
    start with rn = 1
    group by last, first
    LAST       FIRST      CODES                                                                                                                                                                                                  
    Lesand         Danny          1,2,3
    Benedi         Eric           7,14Regards
    Dmytro

  • Displaying data from multiple columns into a single line graph

    Post Author: hollowmatrix
    CA Forum: WebIntelligence Reporting
    Hey,I have an issue with the WEBI reporting.I have a data source that has multiple columns say ( month1, month2, month3, month4,.....month 12, month 13, ....month24) with the sales data for each month.Now say I call the month 1 to month 12 as "current year", and call month 13 - month 24 as "previous year".I want to put a prompt in the report which allows  me to select between "current year" and "previous year".Based on the prompt value we get a graph of the sales vs month ....as in if we select  "current year", then we get a graph of the sales Vs time( remember that the sales data for each month is in a different column.)and if we select  "previous year" then we get a graph of the sales Vs time for previous year..( sales vs time for Month 13, month 14, month 15....month 24).I am not able to pull data from multiple columns into a single object that I can use to populate the graphs.Any help on the same will be appreciated .   

    Hi,
    <p>
    please click
    here (asktom) and look for the words "how about the other way round"
    </p>

  • How do I autofill left to right (or copy/paste) from data that is up and down in another table?

    I have source data that is in a table as a column, and I would like to have it autofilled (simply copy/paste if need be) into a row in a separate table.  Is there an easy way to do this without doing each cell individually?

    Question asked and answered many times.
    What you ask for is named "Transpose a row" or "Transpose a column".
    Yvan KOENIG (VALLAURIS, France) lundi 29 août 2011 22:48:45
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Add Internal Table Multiple Lines into Single Line

    Hi Gurus,
    Before post this thread, i hav searched SDN but i could not find the exact solution.
    I hav an internal table, i want to add the records of this internal table into single line (string variable), separated by tab operator.
    can any one give me suggestions to solve this?
    Thanks
    Meher

    Hi,
    Program should be some thing like below:
    REPORT  ZTEST36.
    *-- test program to concatenate internal table to string.
    DATA:STRING TYPE STRING.
    TYPES:BEGIN OF TY_ITAB,
          WEEK(15),
          END OF TY_ITAB.
    DATA:GT_ITAB TYPE STANDARD TABLE OF TY_ITAB WITH HEADER LINE.
    CLEAR GT_ITAB.
    GT_ITAB-WEEK = 'SUNDAY'.
    APPEND GT_ITAB.
    CLEAR GT_ITAB.
    GT_ITAB-WEEK = 'MONDAY'.
    APPEND GT_ITAB.
    CLEAR GT_ITAB.
    GT_ITAB-WEEK = 'TUESDAY'.
    APPEND GT_ITAB.
    CLEAR GT_ITAB.
    GT_ITAB-WEEK = 'WEDNESDAY'.
    APPEND GT_ITAB.
    CLEAR GT_ITAB.
    GT_ITAB-WEEK = 'THURSDAY'.
    APPEND GT_ITAB.
    CLEAR GT_ITAB.
    GT_ITAB-WEEK = 'FRIDAY'.
    APPEND GT_ITAB.
    CLEAR GT_ITAB.
    GT_ITAB-WEEK = 'SATURDAY'.
    APPEND GT_ITAB.
    CLEAR:GT_ITAB, STRING.
    LOOP AT GT_ITAB.
      CONCATENATE STRING '/' GT_ITAB INTO STRING.
    ENDLOOP.
    WRITE: / STRING.
    Regards
    Ramesh.
    Moderator message - Ramesh - please use code tags
    Edited by: Rob Burbank on Jul 3, 2009 12:26 PM

  • How to import style from mx.DataGrid into my DataGridExt (copy-paste from mx.DataGrid)

    Ok, I managed to create the DataGridExt (copy-paste from mx.DataGrid). Don't ask me why I did this, it's a long story believe me.
    But it is styleless. There's no skin set and that is what I expected.
    The thing is, is there a nice/magical way to tell the DataGrid skin to be applied to DataGridExt?
    Thanks for attention.

    In case the question was not clear:
    Is there a way to have all styles of mx.DataGrid applied to my custom control called DataGridExt?

Maybe you are looking for