Merging table rows

I've been doing this by selecting a row and then applying a cell merge. Thing is, i've been working with lots of tables that need this done and i'm kind of tired of having to select each row to merge it. The document i get from the editors has to be divided into columns. help? i'd like to be able to select the whole table and say "merge row ONLY"

Yamina Palma wrote:
i'm using indesign
Why were you not kind enough to state this in your first post? geez! 
We're not mind readers here. No one would have known what to suggest to you. Please show some respect to the mere mortals that freely offer their assistance here. If you want a proper reply, make a proper post in the proper forum.
Michael's response had no malice in it. Your reply post clearly did.

Similar Messages

  • Merge two rows & show in a single row in table results

    Hi, I need to merge 2 rows having 3 columns in a single row in table view
    The cols are currently shown as :
    Project NO-------(Current_Month) Revenue----------(Prior_Month) Revenue
    123123 10000
    20000
    Revenue is a single column with revenue for diffreent Period.
    10000 is for May
    20000 is for April
    Project NO for both are same, just the periods are different. if I am not displaying Period i need to merge the 2 rows & show as
    Project NO-------(Current_Month) Revenue----------(Prior_Month) Revenue
    123123 10000 20000
    Please let me know how we can acheive this??
    thanx
    Pankaj

    123123 is the project number..
    the above is not getting displayed properly....as the blank spaces are removed...
    Please consider this

  • How to merge the Rows in ALV table?

    Hi All,
    I want to merge the Rows in my ALV table(SALV_WD_TABLE). Is it possible?
    Regards,
    Yugesh A.

    Yogi1729 wrote:
    Hi All,
    how to Restrict the Row in the Pivot table.
    My Requirement is like this.
    i have to show the top 10 values in the pivot table but My report is show all the values.
    how can we achieve this.
    any quick solution for this appreciated.
    Thanks,
    Yogi.You can't really restrict the rows in a pivot table, but you can do this:
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/

  • Merging consecutive rows of a table

    I want to merge consecutive rows of a table. i.e. if my table has 4 rows of data then my ouput of query will have only 3 rows because
    rows 1 and 2 are merged to first row of result
    rows 2 and 3 are merged to second row of result
    rows 3 and 4 are merged to third row of result
    For example if my table is
    A | B
    1 | 4
    9 | 7
    3 | 2
    7 | 9
    then output of query should be
    A | B |A1| B1
    1 | 4 | 9 | 7
    9 | 7 | 3 | 2
    3 | 2 | 7 | 9
    How can i write a query to achieve this?

    If SortKey is B and we use DB2 or SQLServer2005,
    we can emulate Lag and Lead.
    for instance
    create table LagLeadTable as
    select 'AAAA' as Code,100 as SortKey,5 as Val from dual
    union select 'AAAA',200,20 from dual
    union select 'AAAA',300,15 from dual
    union select 'AAAA',400,30 from dual
    union select 'BBBB',500,60 from dual
    union select 'BBBB',600,70 from dual
    union select 'BBBB',610,90 from dual
    union select 'BBBB',620,50 from dual
    union select 'BBBB',630,70 from dual
    union select 'CCCC',100,80 from dual;
    select Code,SortKey,
    Lag(Val,3,0)  over(partition by Code order by SortKey) as Lag3,
    Lag(Val,2,0)  over(partition by Code order by SortKey) as Lag2,
    Lag(Val,1,0)  over(partition by Code order by SortKey) as Lag1,
    Val,
    Lead(Val,1,0) over(partition by Code order by SortKey) as Lead1,
    Lead(Val,2,0) over(partition by Code order by SortKey) as Lead2,
    Lead(Val,3,0) over(partition by Code order by SortKey) as Lead3
      from LagLeadTable;Above query can be emulated by below query.
    select Code,sortkey,
    coalesce(max(Val) over(partition by Code order by SortKey
                      Rows between 3 preceding and 3 preceding),0) as Lag3,
    coalesce(max(Val) over(partition by Code order by SortKey
                      Rows between 2 preceding and 2 preceding),0) as Lag2,
    coalesce(max(Val) over(partition by Code order by SortKey
                      Rows between 1 preceding and 1 preceding),0) as Lag1,
    Val,
    coalesce(max(Val) over(partition by Code order by SortKey
                      Rows between 1 following and 1 following),0) as Lead1,
    coalesce(max(Val) over(partition by Code order by SortKey
                      Rows between 2 following and 2 following),0) as Lead2,
    coalesce(max(Val) over(partition by Code order by SortKey
                      Rows between 3 following and 3 following),0) as Lead3
      from LagLeadTable;my site :-)
    http://www.geocities.jp/oraclesqlpuzzle/8-13.html

  • Merge Two Rows of a table to One row but into two columns

    Hi
    I Am struck in writing a query to merge two rows into two columns of one row.
    Here is the Sample data i am working with,
    Col 1     Col 2     Col3 Col4 Col Col6
    5000     573-3000 2     0     Phone      
    5000     573-3036 1     0          Fax
    5000     893-5703 3     0     WOrk      
    3000     232-5656     1     0     Phone     
    3000     353-5656     2     0          FAx
    Here Col,Col3,Col4 form the Key.
    now wht i am trying to do is to Merge these type of rows put them into Columns P,F,W,E respectively to achive a Structure as below
    Col1      P     F     W
    5000     573-3000      573-3036      893-5703
    3000     232-5656     353-5656     
    Can you please help me how could i do this.
    I am pretty ordinary at writing SQL's.
    Thanks a Lot in Advance
    Message was edited by:
    Sreebhushan

    Search the forum for PIVOT and you'll find plenty of examples.

  • Merging multiple rows in to a single row (when rows meet merging criteria)

    Hi 
    I have a scenario to merge multiple rows in to a single rows when the data in those rows fall in merge criteria .Below is how my data is 
    Now the merging logic for the above rows is , we need to combine multiple rows in to a single row when the data in those rows permits us to do in that way. Simply saying , its like sandwich where we combine multiple things to a single piece.The output for
    the above rows should be
    Here  we combined Row 1 ,2, 3 in to a single row as the data in those rows permits to merge in to single row. But the row 4 cannot be combined to any of those rows because the data in those rows doesn't permits us do a merge ( As the value of the column
    JobSource for the row 4 is different from the other rows ) .
    My original data has 56 columns , but for readability i kept only 9 columns. 
    can you please throw some idea on how to achieve this scenario. I know we need to use CTE for achieving this, but i am not able succeed in doing an iteration on multiple rows.
    Appreciate your response .

    Thanks for your reply .
    Rule for merging is simple . First of all there is no unique row identifier for each row , the fact table is not having an identity column in the database . I called row 1 , row 2  etc in my post above only to make better explanation of my scenario.
    The rule for merge is below. 
    1) we can combine only when the data in a column for one row is null & the data in same column for the other row is not null . It should also satisfy the condition where the data in other columns should conflict each other.
    2) Data for all columns for the merging rows should not be conflicting (i.e. we should not merge the rows when the data in a column is not equal to the same column in the other row
    ,considering not null value)
    Steps in merging the above source data :
    1) Consider the case of row 1 and row 2 in the source, we can combine these rows as the data is satisfying the rule 1 for columns (Jobsource,Flight, Package,Update,Iscancelled
    ,Result, Severity) and columns (JobID and RuleName ) fall under rule 2.  we merge these two rows in to a single row and keep in that in the table.
    2) Then the resulting row is again merged with the second row which is present above by applying the rule 1 and rule 2 . Below would be output of merge operation.
    Now there would be only two rows in the output . But these rows cannot be merged as the data doesn't satisfy the merge rules 2 . As Jobsource for the row 1 in the above output is "PresubmissionSource" which is not equal
    to "PostSubmission" jobSource which is in row 2. So these two rows are left unmerged .So the above two rows would be the output of merge operation on my source data.
    This process has to be repeated for all the rows in the table. As of now my table as 92 Million rows with 56 columns which need to be considered for merging rows. I replicated my scenario in 9 columns and 4 rows to understand better.

  • How do I remove a gap between table rows in InDesign?

    I need help in figuring out how to remove gaps between table rows.  I have tried Table Spacing under Table Set-up, but it doesn't work.
    Here's what I'm working on:
    As you can see there are gaps above the first row and below last row under the header Business Management Technology.  I cannot select that gap.  How do I remove it, so that the first class, 31058, is flush with the black header?  (and the last class, 32675, is flush with the Chemistry header?)
    Any advice would be greatly appreciated.
    Thanks,
    Sarah 

    SRiegel wrote:
    ...it may be that the black bar is created with a paragraph rule instead of cell color.
    I hadn't considered that, and your example is proof-of-concept. However, now that you made me look closer, I still don't think that's the OP's case, seeing as the text in the OP's header rows appears to span more than one column, belying what I suppose must be merged cells.* The column strokes in the "gap" appear to disqualify it (the gap) as part of a row with merged cells.
    *There is still another possibility that someone "made pictures" of tables with merged cells by overlaying text frames to make the header rows. I've run across all kinds of such "carpentry;" especially when the file may have originated at the desk of someone who avoids or resists use of tables. They find ways to fake them and/or their features.
    [still looking]

  • [JS CS3] Merging table columns

    Hi all,
    What's the fastest way to merge columns in a table?
    I'm using the following loop to merge the 4th and 5th columns in my table:
    for( var f = myTable.rows.length-1; f >= 0; f-- ){
    myTable.columns[3].cells[f].merge (myTable.columns[4].cells[f])
    It works, but I'm working on a large table (120 pages worth) and have many instance where I need to merge columns. Using the loop above, the script takes hours to run. Is there a faster way to merge columns while keeping the rows intact?
    Thanks,
    Michael

    I've just done some time testing with CS4 and found the following:
    table = app.documents[0].stories[0].tables[0];
    start = new Date();
    for (var n = 0; 100 > n; n++) {
      cells = table.cells;
      for (var j = 0; cells.length > j; j++) {
        cells[j].contents = "James";
    end = new Date();
    alert(end - start);
    takes just about the same time to run as:
    table = app.documents[0].stories[0].tables[0];
    start = new Date();
    rowCount = table.rows.length;
    columnCount = table.columns.length;
    for (var n = 0; 100 > n; n++) {
      for (var c = 0; columnCount > c; c++) {
        for (var r = 0; rowCount > r; r++) {
          table.cells.item(c + ":" + r).contents = "Harry";
    end = new Date();
    alert(end - start);
    While this version takes about half as long again:
    table = app.documents[0].stories[0].tables[0];
    start = new Date();
    rowCount = table.rows.length;
    columnCount = table.columns.length;
    for (var n = 0; 100 > n; n++) {
      for (var c = 0; columnCount > c; c++) {
        for (var r = 0; rowCount > r; r++) {
          table.rows[r].cells[c].contents = "Harry";
    end = new Date();
    alert(end - start);
    None of which is particularly surprising. But when I compared the following two scripts, I was astonished by the result:
    table = app.documents[0].stories[0].tables[0];
    start = new Date();
    rowCount = table.rows.length;
    columnCount = table.columns.length;
    for (var n = 0; 100 > n; n++) {
      table.cells.everyItem().contents = "Harry";
    end = new Date();
    alert(end - start);
    table = app.documents[0].stories[0].tables[0];
    start = new Date();
    rowCount = table.rows.length;
    columnCount = table.columns.length;
    for (var n = 0; 100 > n; n++) {
      table.cells.itemByRange(0, -1).contents = "George";
    end = new Date();
    alert(end - start);
    The latter, using itemByRange was about a third faster than using everyItem(). 1800 milliseconds to 2700 on a 4 x 10 table.
    Dave

  • Table row with more than 1 UI elements

    Hello Experts,
             I want to include more than 1 UI element(say an input field and a button) in table row of a column.
    More like having a column with merged UI elements in all the rows of the table.
    Thanks in advance !!!
    Best Regards,
    Srini

    hi ,
    Check the standerd application
    SALV_WD_TEST_TABLE_EVENTS
    You can get the idea.
    And Refewr this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4c70444a-0801-0010-7688-9e4bd844b783
    Regards
    Vivekananthan.S

  • 2 table rows - one "Add Row" button

    I am a novice, not alot of training with javascript.
    I need 2 table rows added to a table without having multiple "add row" buttons. I would like to be able to add both rows with one button.
    right now the button is set for the most current row:
    Table1._Week.addInstance(0);
    the row above is Table1._Codes
    How do I script this in order to have both rows appear when the Add Row button is selected?

    Hi,
    A couple of things without benefit of seeing the form.
    Are the repeating rows called:
    'Week' / 'Codes'?
    OR
    '_Week' / '_Codes'?
    The underscore '_' is shorthand for instanceManager, which is used to call the addInstance. If I assure that the repeating rows are just 'Week' / 'Codes' then the following javascript in the click event of the button should work:
    Table1._Week.addInstance(true);
    Table1._Codes.addinstance(true);
    This should add a row to each repeating row in one button.
    Please note that the parameter for the addInstance is either 0 (false) or 1 (true), which relates to whether the row will be data merged with the form.
    Hope that helps,
    Niall
    hmmm, see you have another thread on this: add multiple rows with add a row button ???

  • Merge table indexes fill factor

    Shouldn't indexes such as MSmerge_current_partition_mappings.ncMSmerge_current_partition_mappings have a fill factor other than 0? I am getting many page splits on this and other merge table indexes. My server has many of the indexes set to 0.
    Using merge replication with 120 subscribers SQL Server 2008 R2 on distribution server.

    These are large tables. 62 million rows in MSmerge_current_partition_mappings. We are seeing high IO numbers and I ran this query with results
    SELECT COUNT(1) AS NumberOfSplits     
    ,AllocUnitName      ,Context
    FROM      fn_dblog(NULL,NULL)
    WHERE      Operation = 'LOP_DELETE_SPLIT'
    GROUP BY      AllocUnitName, Context
    ORDER BY      NumberOfSplits DESC
    984 dbo.MSmerge_current_partition_mappings.ncMSmerge_current_partition_mappings
    LCX_INDEX_LEAF
    443 dbo.MSmerge_contents.uc1SycContents
    LCX_CLUSTERED
    340 dbo.MSmerge_contents.nc5MSmerge_contents
    LCX_INDEX_LEAF
    268 dbo.MSmerge_current_partition_mappings.cMSmerge_current_partition_mappings
    LCX_CLUSTERED
    208 dbo.MSmerge_contents.nc3MSmerge_contents
    LCX_INDEX_LEAF
    159 dbo.MSmerge_contents.nc4MSmerge_contents
    LCX_INDEX_LEAF 

  • ADF - Merge multiple row

    Hi,
    I would like to know if i can update (merge) multiple line at once.
    typical situation : i have a master(form)-detail(table) page, i can modify one field in the detail table for each row
    i've made a "merge" button which update one row in db ( using mergeStudent(Student) databinding command
    i use the binding data of selected row to do this and it work very well. ( currentRow.dataprovider )
    now what the best ( and easier) solution to update ( merge ) every row of this table
    i've thought that i can create a "mergeStudents(list<Students>" function in my Ejb but i don't know if there s a binding object which send the full list
    Thanks and sorry for my english.

    Select C1,C2, C3,C4,C5 FROM
    (SELECT C1,C2,Max(C3) Over() as C3,C4,C5 FROM yourtable) t
    WHERE C4<>'0'

  • Merge multiple rows of same ID into Single row

    Hi All,
    I need the requirements of merging multiple rows of same ID as single row.
    My Table Data:
    ID     Language1 Language2 Language3 Language4
    1001 NULL         JAPANESE  NULL          NULL
    1001 SPANISH   NULL          NULL          NULL
    1001 NULL        NULL           NULL         ENGLISH
    1001 NULL        NULL           RUSSIAN    NULL
    Required Output Should be,
    ID     Language1 Language2 Language3 Language4
    1001 SPANISH    JAPANESE  RUSSIAN   ENGLISH
    Please help me to achieve this output.
    Tried grouping but its not working also producing the same result.
    Thanks.
    Live freee....Joy forever................ :)

    Try the below:
    create Table Test_Sample(ID int,Language1 varchar(50), Language2 varchar(50), Language3 varchar(50), Language4 varchar(50))
    Insert into Test_SAmple Values(1001,NULL,'JAPANESE', NULL, NULL),
    (1001,'SPANISH', NULL, NULL, NULL),
    (1001,NULL, NULL, NULL, 'ENGLISH'),
    (1001,NULL, NULL, 'RUSSIAN', NULL)
    Select ID,MAX(Language1),MAX(Language2),MAX(Language3),MAX(Language4)
    From Test_Sample
    Group by ID
    Drop table Test_Sample

  • Merging 2 rows data into a single column in OBIEE

    Hi All,
    Requirement is "Merging 2 rows into a single column"
    Scenario: data from table called "transactions_table"
    Id
    transaction no
    transaction name -------------------------------quantity
    100
    1
    abc
    1000
    100
    2
    def
    2000
    Required out put:
    Id
    Transactions & Quantity
    100
    abc(1000),def(2000)
    Please provide me solution, and let me know if any additional information is required.
    Thanks in advance to all of you.

    can you please share your data like below
    column1, column2 .....
    and where are you trying to do this? at answer or bi admin tool?
    there are a few ways to do this.

  • Merging 2 rows data into a single column in OBIEE 11g

    Hi All,
    Requirement is "Merging 2 rows into a single column"
    Scenario: data from table called *"transactions_table"*
    Id  ------------- transaction no -----------------------  transaction name -------------------------------quantity
    100 ----------- 1 ----------------------- abc ------------------------------ 1000
    100 ----------- 2 ------------------------ def ------------------------------ 2000
    Required out put:
    Id ----------------- Transactions & Quantity
    100 -------------- abc(1000),def(2000)
    Please provide me solution, and let me know if any additional information is required.
    Thanks in advance to all of you.
    Regards,
    chrs

    check the below link, that may help you.
    Re: Horizontal value display
    If it is helpful, please mark as correct or helpful

Maybe you are looking for

  • Application process code is not getting the value

    Hi I have implemented search functionality on page 0 (One Textbox and one ImageButton). on clicking on image button I am calling a application process to redirect a page on the basis of entered value. I am using following code in application process:

  • How do I access my online Palm account?

    I need to change the credit card number in my Palm account because my other one expired. I do not see a link anywhere on Palm's web site to access my online account to do this. I know I set it up and even have my password, just don't know the url for

  • Problem with "Message Display Tool"  PI 7.0 SP10

    Dear SDN, After upgrading PI 7.0 from SP09 to SP10 the "Message Display Tool" does not work well. When executing: "Runtime Workbench" > Message Monitoring > Integration Engine > Details (of a selected message) > "Message Display Tool" > Message Conte

  • Rcp, rlogin, rsh, telnet, hosts.equiv 9iRAC

    Hello all, I wonder whether rlogin, rsh, rcp, telnet and hosts.equiv are required for 9iRAC to function on Linux. The install guide for 9iRAC on RH AS2.1 has one start up those services and use hosts.equiv. Even though we are behind a firewall, I wou

  • How do i change language back to english on nano 3rd generation

    how do i change language back to english on my nano 3rd generation..