Copying data between tables - numbers on an ipad

I have two [main] lists (tables):
Workers names, photos, arrival times, training record and other data on one table (the 'Workers List') with one worker's data on each line.
The other table (really a set of 3)  of three 'shift sheets', Red, Green and Neutral listing who is on-duty at any given time.
What I'm trying to do - on an iPad - is allocate each worker to a R,G or N shift by making an entry on their row in the Workers List, and have their name and photo (cells from columns B and C in the Workers List) copied automatically to the next available empty row in the relevant one-of-three shift sheets.
As I see it there are two main problems: the 'cut and paste' aspect which I can just abut get a handle on, and the selection of the next empty row in the coreect (1 of 3) sheet - which has me baffled.
I'd really appreciate any thoughts.
Nick
(if anyone's even remotely interested, this is for organising the staff at the Incredibly-Famous Cider Bus at Glastonbury Festival!! - a free jar for the problem solver!)

ok, my solution gets a little complicated and I dont know if it would work for the pictures at all.
I would have three columns Marked as R, G or B. These would eb equations that look at your column that has R, G or B entered. These increment by one if the letter for that column is found on that row.
Then in my "color" tables, I have an equation that uses an offset and a match to locate the next row for that color.
Heres a table for an example(with formula results):
1
a
R
1
b
G
2
c
R
3
d
R
3
e
G
Column A increments every time R appears in C
then in the Color R table we use this in cell A1 to pull back the data in the first rows column B that has an R (row 1 in this case)
=offset(table1::$B$1,match(row(),table1::$a,0)-1,0,1,1)
this looks for the number 1 in column A, returns what row that was found on, offset from B1 that number minus 1. grab a range 1x1, ie. one cell.
Just modify this to pull back as many different columns you need. It will show #N/A when you hit the last row for R, just delete those and remove the extra rows from displaying in your table. exapnd when you add more.
Repeat this with an additional column for G and B, and modify the equation for referencing thier counter columns. the first row in your G table will pull back the information from row 2 in my table above.
Let me know here if this makes sense. its the only way I could find of doing something similar in XL at work.
Thanks
Jason
Message was edited by: jaxjason

Similar Messages

  • Problem copying data between tables

    Hello Members,
    Its my first day using SQL queries on oracle 10g database.I used the following query to copy selected feilds of a table :
    CREATE TABLE SAMPLE_TEMP as (SELECT CUSTOMER, BALANCE FROM CUSTOMER_ALL)
    The CUSTOMER_ALL table has over 2 million records. I was successful in creating a table and copying data, but the new table could populate only 52978 records.
    ---- Sample data in my table
    CUSTOMER     BALANCE
    6.28899273     0
    6.28899274     0
    6.28899275     0
    6.28899289     625.12
    6.28899292     2666.24
    How do I go about fixing this ? Do i need to declare a structure and assign the number of records i will store to it ? Any guidance will help me get started.
    Regards
    newbie

    Hello,
    If the CUSTOMER_ALL table is a live table, there may have been new records INSERTed since you copied the data, therefore you will have different counts.
    To check on the data difference:
    SELECT CUSTOMER, BALANCE FROM CUSTOMER_ALL
    MINUS
    SELECT CUSTOMER, BALANCE FROM SAMPLE_ALL

  • Comparing two columns in two tables using partial text strings and copying data between tables

    I have two tables:
    The Vendor table is supplied by a clothing manufacturer and lists product data by row with a column that contains a unique manufacturer ID, such as T5C4.  In this table is a short product description and a long product description that I need to find and copy into the second table, Inventory.
    The Inventory table is an export from our Magento store.  Each row contains a unique inventory number in a column that includes but does not match the unique manufacturer ID from the Vendor table.  For example, the unique inventory number could be T5C4-W12, or RED-T5C4W12 or some other variation.
    For each product in Inventory, I need to find the matching product in Vendor, and then copy the short description and long description from Vendor to Inventory.
    Any tips?  Thanks!
    Karl

    Karl,
    Here's a start, as you requested.
    The formula for Our Inventory Row is:
    =IFERROR(MATCH("*"&A&"*", Our Inventory :: A, 0), "n/a")
    The formula for Brief Description in the inventory table is:
    =IFERROR(INDEX(ABC Products :: $A$1:$C$9,MATCH(ROW(), ABC Products :: $D, 0), 2), "n/a")
    The formula for the Full description in the inventory table is:
    =IFERROR(INDEX(ABC Products :: $A$1:$C$9,MATCH(ROW(), ABC Products :: $D, 0), 3), "n/a")
    The Manufacturer's table knows the concise product numbers, so it has the ability to search the Inventory table for it's product id's using wildcards and it then displays the line number of the item in the inventory table. The Inventory table can then search the manufacturer's table for its row number and can reference the brief and full descriptions.
    This approach has a serious limitation. It will only find the first occurrence in the inventory. Now, if you want to accept this, you can sort all the found descriptions and pull them out of the inventory table, and then the next product in line will display it's description too.
    I wish I could do better with this, but it's all I can come up with at this point, knowing only what you have told me.
    Jerry

  • Copying data between tables

    I have just completed the process of exporting my companies
    main mailing database into a new database file which is setup and
    structured differently. I am trying to figure out how to run a
    coldfusion query that can update my contact information from one
    table into another, tables are as follows:
    companies table
    companyid | contacttitle1 | contactname1 | contactsurname1 |
    contactposition1 | mail1
    autonum | text | text | text | text | text
    AddxContacts table
    id | contacttitle1 | contactname1 | contactsurname1 |
    contactposition1 | mail1
    number | text | text | text | text | text
    i need to update the fields in the first table with the
    fields in the second table, the companyid & id from each table
    are the primary keys that match up the records, however the
    AddxContacts table may contain more than one entry with the same id
    no, but i only want to copy one record for each id no.
    I have scoured various forums looking for an easy way to do
    this but so far have come up blank, any help would be greatly
    appriciated. Thanks

    There is a major difference between what you say you intend
    to do and what your sample code indicates you are attempting to do.
    Do not store contact information in your company table. Put
    it elsewhere with either a one to many or many to many relationship
    set up, depending on your business requirements.

  • Different ways to copy data between two schemas in one instance

    Hi there,
    I am searching a good way to copy data between two schemas in the same instance.
    Both schemas have an identical structure such as triggers, tables, views and so on. The only difference is the purpose: one is the productivity system and one is for development.
    I looked at datapump but I do not explicit want to export / import. I want to keep the data in the productivity schema as well as copy it to the other schema. Any ideas? I found out there is a copy statement but I dont't know how that works.
    Thank you so far,
    Jörn

    Thank you for your replies!
    I also thought of creating a second instance for development and move the dev - schema to it. I just don't know whether our server can handle both (performance?). Anyway the idea is to have a possibility to quickly rebuild the data inside a schema without indixes or triggers, just pure data. I thought the easiest way would be to copy the data between the schemas as they are exactly the same. However if you tell me DataPunp is the best solution i won't deny using it :).
    When you export data a file is created. does that also mean that the exported data is deleted inside the schema?
    best regards
    Jörn
    Ps: Guido, you are following me, aren' t you? ;-)

  • Copy data between Apps filtered by  workstatus

    Hello all gurus,
    BPC 7.5 NW
    I am copying data between apps. I want to do it with abap code because I use BADI.
    I dont want to copy all data, only data that have been filtered by WorkStatus. I cant use DESTINATION_APP in Script Logic because I need to filter
    Structure app is the same. Origin app is APP_A and destination app is APP_B.
    I only copy data if Workstatus is 'Approved'
    App: APP_A                 App: APP_B
    Dim1 WS
    Dim2 WS
    DIm3 WS
    Dim4
    Dim5
    If workstatus(DIM1, DIM2, DIM3) = "Approved" then
            Copy Dim1,..,5 belongs to APP_A to APP_B
    else
                    Nothing
    end if
    Example:    2014,Actual,Account1,E1toN,Act1toN   copy to  2014,Actual,Account1,E1toN,Act1toN (same rows, same structure)
    Note: Act1toN= act1, act2, act3,...actN
    Then, my filter is
    SETAPP = WB
    APP_A = BHN
    Worstatus table--> /1CPMB/LKWSWBBHN
    Select statuscode from /1CPMB/LKWSWBBHN where DIM1=2104, DIM2=Actual,Dim3=Accoun1
    if statuscode='5' then  // 5 is Approved (statid) in UJW_STATCODE
         copy data  2014,Actual,Account1,E1toN,Act1toN belong APP_A  copy to  2014,Actual,Account1,E1toN,Act1toN belong APP_B(same rows, same estructure)
    end if
    if you need more information dont hesitate to ask
    thanks
    Gustavo

    The main How-To page: Enterprise Performance Management (EPM) How-to Guides - Business Process Expert - SCN Wiki
    Please read BADI related How-to for BPC NW 7 and 7.5 (BADI's for BPC 7 can be used in 7.5).
    Try this: How To Custom BADI for Rounding Off Values in SAP BUSINESSOBJECTS Planning and Consolidation, Version for SAP NetWeaver
    Also read badi sample in help.
    In order to write data to another cube you have to use write_back_int with the appropriate application selected.
    B.R. Vadim
    P.S. Read also here: Useful ABAP code in BPC 7.X NW version
    Message was edited by: Vadim Kalinin - P.S. Added

  • Copy data between 2 localisations

    My client is using Sap business one 2007A. he has a database with localization "Spain". he created another database with UK localization. he needs to copy the accounting entries from the first to the other one. copy express doesnt allow to copy data between 2 localization (only settings). is there any way to copy data between 2 localizations

    You may export accounting entries from the first db and DTW to the second one.
    Thanks,
    Gordon

  • Copy data between cubes

    I need to copy data between two cubes (through a business rule). Can I do it using Partition/Replication? If so, does anyone have an example on how it is done? I'm currently using @XREF, but that does not transfer data for blocks that don't already exist in target database.
    I'm very new to this so a detailed description will help.
    Thanks for your help.

    Yes, partitions are great. I like to use replicated partitions because I can control the data, and deal with integrity issues etc. Your usage may vary.
    Basically, you go to your "Source" database, go to the partitions menu, and "Create New Partition". You then walk through each of the tabs in the partition menu
    Type Tab: Choose the type. Let's say a "replicated" partition.
    Connection Tab: Choose what databases will be connected with the partition
    Areas Tab: I like to check the "Use Text Editor" to just type out the formulas. Also check the "Show Cell Count" to have some confidence your formulas are working as planned. Here you define what data moves from source to target. For example I might setup the following
    Source:
    ("Actuals Data"),
    @LEVMBRS("Province",0),
    @GENMBRS("Company",2)
    Target:
    ("Actuals Data"),
    @LEVMBRS("Province",0),
    @GENMBRS("Company",2)
    If the names don't match, you can adjust that in the advanced properties or mapping properties. (If you have multiple slices of data - use the advanced mapping).
    Now validate and save

  • Copying data between Applications

    Hello all,
    Is there a recommended approach to copying data between applications within the same application set? I have a cube that's the mirror image of another cube, excluding the difference in dimension names. I want to pass data from one cube to another cube. I am hoping this is something that can be done through DM using one of the standard packages provided by SAP.
    Thanks,
    Rob

    Hi Rob,
    Apart from using Data Manager option to copy data between applications, please also explore "Destination_App" statement in your script logic as you mentioned both the applications are mirror images of each other. Please check for sap help or SP02 doc addendum for more insight into destination app logic. There is also BADI option to take aggregated data from one application to another. There is a how-to-guide available for this.
    Please check which one of these options suit better for your requirement.
    Cheers,
    Santosh

  • Copying data between models

    Hi Gurus,
    I need help in copying data between models. Below is the scenario.
    Model A (Source model)
    It contains plan data:
    Important dimensions: Facility, Product, Time
    Model B (Target model)
    Important dimensions: Facility, Product, Time; Additional dimensions: Cost Center, Cost Element
    Model C (For lookup while copying data)
    Important Dimensions: Facility, Product, Time, Cost Center, Cost Element
    Task:
    Copy data from A to B and populate cost center and cost element in B by lookup C (key for lookup is Facility, Product, Time)
    Please let me know the required steps to do the job.
    Can we do it using logic script and avoid BADI?
    Which data package should I use?
    Thanks.

    Hi Vadim,
    It seems like I can move the data from A to B while data gets saved in A using input screen.
    So far I have written below which is working fine. For now I am hard coding the cost center, now I need to know how to lookup to the other model. Please review and let me know. Thanks.
    *XDIM_MEMBERSET P_ACCOUNT = VOLUME, REVENUE
    *XDIM_MEMBERSET P_CATEGORY = Forecast
    *DESTINATION_APP = PLANNING_RETRACTION
    *ADD_DIM COST_CENTER = 3000011
    *WHEN P_ACCOUNT
    *IS "VOLUME", "REVENUE"
    *REC(EXPRESSION = %VALUE%)
    *ENDWHEN

  • Copying data between two tables with different structures

    I have two tables. second table has three extra fields at the end. How can I copy data from first table to the other? I tried the following but it does not seem to work:
    INSERT INTO second_table ((select * from first_table),'text','text',5)
    Please help. Thanks

    INSERT INTO second_table SELECT col1, col2, col3, .., 'text', 'text', 5 FROM first_table;
    Cheers!
    r@m@

  • How to copy data between two tables row by row

    Hi All,
    I have three tables TableA and TableB and TableC
    I wanted to write a stored procedure to copy data row by row from TableA to TableB and then update TableC by replacing any record that has the old id (before copying) to the new id after copying the data.
    here is the steps 
    iterate throw all the rows in tableA ( probably with a foreach)
    in each iteration we will do the following:
    Get current ID (identity) for each record in TableA ( will call it @oldID)
    Insert the row in TableB
    Get the new ID for the row from TableB will call it (@NewID)
    find rows in tableC that has the (@oldID)
    replace all ids in tableC with @oldID to @NewID
    Thanks in advance

    0
    TableA and TableB are identical they should have the same columns 
    TableC columns will be ( ID, TableA_ID , Notes)

  • Auot-copying Data between Spreadsheets

    How do you create a summary spreadsheet based on data in other spreadsheets in other folders and automatically updated when opened? In other words, copy data from one spreadsheet to another by simply identifying the source field .... I was able to do it in Office back when I was a Windows user.

    psu63 wrote:
    I was able to do it in Office back when I was a Windows user.
    psu63,
    That's no guarantee that you can do it in iWork. External links are weak in iWork, but getting a bit stronger with each upgrade. We're looking for an upgrade in the next few months, just a guess, and maybe table cell links between documents will be added. You can register your wishes from the Numbers Menu - select Provide Numbers Feedback.
    For now, consolidate your data into one document if you want to link the tables.
    Welcome to the discussions,
    Jerry

  • Create a trigger to copy data from table A to table B

    Hi,
    I been trying with no success to create a trigger on table a , so when the user update or delete or insert data on that table, I would like to copy all data from table a to table b BEFORE, the statement execute, I am using Oracle database 10g XE. It's URGENT and I would appreciate any quick response.
    Thank you in advance.

    > All what I needed to do is to copy / beckup the tableA before any changes done to the table
    Why? You are not giving us a problem to look at, analyse, and assist with - you are giving us a solution. That solution says "backup table before changes are made".
    This solution sounds very strange in the context of a RDBMS. Even stranger when dealing with relational design as one would use date and time to keep track of how data is changing.
    This, and your implementation of the solution (using triggers and DDL inside it!), makes me question whether this solution is indeed at all a solution. I see flaws and problems all the way.
    What happens if two users inserts at the same time into table A? Two truncates will be fired on table B. Then the entire contents of A (and not the changes) inserted into table B? Ridiculous...
    Thus from my point of view, looking at what you have presented to the forum in this thread, you do not seem to have any grasp on how to correctly use a RDBMS, never mind use Oracle.
    Ignorance is not a problem. It is fairly easily curable. Which is why I referred you to the manuals.
    Alternatively, instead of asking the forum how to make a flawed solution works, how about instead telling us the actual problem you are trying to solve?

  • Copying data between databases

    Hi Gurus,
    Is there any way to copy data from one DB to another DB, other than COPY command ?
    My reqt is this. I want to copy data from one DB to another one periodically (weekly basis). I'm trying to create a USER JOB for this and call a PL/SQL proc in the JOB. As COPY is a SQL/PLUS command, I think I can't use it in a DB procedure. Any help is appreciated. Thanks a lot.

    Hi,
    Thanks for the reply. It works now.
    It was my fault while creating the database link. The SQL*NET version was NET8 and I created the DB link with 'USING t:XXX:XXXX'. So the link was using SQL*NET old version and I was getting ora-6401 (Invalid Driver Designation). Now I recreated the link private DB link) and it works fine.
    Thanks for your help.

Maybe you are looking for

  • Up data for the next week or just let it go over?

    Everyone on my plan except my poor son has unlimited data - he became old enough to have a phone too late.  He is going out of town on a school trip on Thursday and is thisclose to bumping up against his data limit (which happens every month).  Norma

  • Flattening BOM

    Hi all, I have a basic question. What is meant by  Flattening a BOM. Regards, Edited by: somya narla on Apr 20, 2008 6:32 PM

  • Simulation of solar systems

     i want to design a microgrid in terraced houses using the solar panels as a source of energy and feeding this energy to the loads in the houses .i am actually wondering if the labview was provided with a built in blocks for solar panels ,inverters ,

  • Com.sun.media.protocol.sunvideo.  HEEELLLP

    I have Installed JMF2.1.1b and downloaded the source code for JMF studio.. I like to be able to compile the code and eventually add couple of proprietary layer for our use... But I'm not able to successfully compile the code because of the missing pa

  • Why won't my ipod classic synch with itunes in Windows 7?

    why won't my ipod classic synch with itunes in Windows 7?