How to change the 'row above' after a sort?

Something that bugs the heck out of me: I want to be able to enter a stack of invoices or payments in a Numbers document, in no particular order except what's on my desk. The final column will be a 'running total' column. After all the data entry, when I sort on date ... the 'running total' column is all wrong, because all the cell references have been seen as absolute.
I want them relative to the cell just above, and that will change in a sort.
I could provide examples but can't figure out how to get them in this text box.
- mlp

Question asked and responded several times.
The sort doesn't behave as we are accustomed to.
We must use a more sophisticated formula to calculate the running total.
Assuming that values are stored starting from B2
in C2 type the formula
=INDIRECT(ADDRESS(ROW()-1,COLUMN()))+INDIRECT(ADDRESS(ROW(),COLUMN()-1))
then fill down the column C
With this formula, the sort will not clobber the running total.
+-+-+-+-+-+-+-+-+
Worried Life Blues 2008
Discussions
+Apple Discussions, launched in August, 2000, have grown rapidly in usage and features. The main features include personalization, subscription capabilities and email capabilities. _For information on how to use Discussions, please visit the Discussions Help Page_. Cookies should be enabled and an Apple ID account is required if you would like to contribute to the discussions.+
+*What is Apple Discussions and how can it help me?*+
+
Apple Discussions is a user-to-user support forum where experts and other Apple product users get together to discuss Apple products. … You can participate in discussions about various products and topics, find solutions to help you resolve issues, ask questions, get tips and advice, and more.+
+_If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages._+
+*I have a question or issue*—+
+how do I search for answers? _
It's possible that your question or issue has already been answered by other members so do a search before posting a question._ On most Apple Discussions pages, you'll find a Search Discussions box in the upper right corner. Enter a search term (or terms) in the field and press Return. Your results will appear as a list of links to posts below the Search Discussions Content pane.+
+Search tips are available here:+
+http://discussions.apple.com/help/search-tips.html+
+-+-+-+-+-+-+-+-+
Yvan KOENIG (from FRANCE dimanche 14 septembre 2008 16:45:15)

Similar Messages

  • How to change the Data sources after deploying the application ??

    Hi All,
    i want to know how to change the Data sources after deploying the application to the application server ???
    I'm using Oracle Application Server 10g Release 3 (10.1.3.1.0)

    Can you access the Enrprise Manager website of the target Application Server from your location? If so, you can change the datasource in it. If not, yo can bundle the datasource definition in your archive and use that one instead of the one configured in the target OC4J container. Or this will just be the responsability of your customer: whenever you send a new WAR file, they have to modify the datasource if needed and deploy the application?

  • How to chang the row's color in the Jtable?

    I have a table and many rows,I want chang the rows color,like row one's color is red,row tow's color is write,row three's color is green.How can do it? And if i want chang row 3,coloum 2's color.How can do it?
    thanks.

    hi,
    I use jdbtable to view data,I want them to chang row color when some cells equal the value.But interface getTableCellRendererComponent not run.I don't know why!
    jdbtable is extend jtable ,it made in borland jbuilder.
    //1 class
    package errorreport;
    import java.awt.Component;
    import java.awt.Color;
    import javax.swing.table.DefaultTableCellRenderer;
    import com.borland.dbswing.*;
    public class rowcolor extends DefaultTableCellRenderer {
    public Component getTableCellRendererComponent
    (JdbTable table, Object value, boolean isSelected,
    boolean hasFocus, int row, int column)
    Component cell = super.getTableCellRendererComponent
    (table, value, isSelected, hasFocus, row, column);
    int iColcount = 0;
    iColcount = table.getColumnCount();
    if( value instanceof String )
    String strAlmlev = (String)value;
    if(strAlmlev.trim().equals("C1"))
    cell.setBackground( Color.red );
    // You can also customize the Font and Foreground this way
    // cell.setForeground();
    // cell.setFont();
    else
    if(strAlmlev.trim().equals("C2"))
    cell.setBackground( Color.orange );
    else
    if(strAlmlev.trim().equals("C3"))
    cell.setBackground( Color.yellow );
    else
    if(strAlmlev.trim().equals("ERR"))
    cell.setBackground( Color.green );
    return cell;
    //2 class
    JdbTable jdbTable2 = new JdbTable();
    TableCellRenderer renderer = new rowcolor();
    try
    jdbTable2.setDefaultRenderer( Class.forName( "java.lang.String" ), renderer );
    catch( ClassNotFoundException ex )
    System.exit( 0 );
    thanks

  • How to change the location value after it is registered

    hello,
    I want to change the location (A) to a new schema. From what I am understanding, I need to unregister the old locatin(A) in repository browser, and then re-register it in control center, and change the schema name to my new target.
    Now, I have unregisted A in the repository browser. When I come back to control center, and click the register, everything is grey out which means I cannot change the value (but i need to change the value for service name and schema), except the password value. and on the top, it says 'this location has not been registered. please complete the location parameters'.But I know on the old version, like owb 9.0.5, the grey out means this location is registered. So I am really comfused now. The location is unregisted, why cant I change the value of this location?
    any suggestion will be appreciated.

    Here is what I was referring to - when in Control Center, I have the database locations. (sources, targets, OWF etc). Under a database location I selected the connector/location name under Connectors. When I select Deploy Action to Drop the connector/location name will remain. However, if you were to check in the database or the Repository Browser (Locations Report) you will see that the db link is gone. At this point you can safely modify the Locations info in the Connection Explorer (in Design Center). On the other hand, if you want the location to be deleted all together then now you can delete it in the Connection Explorer panel. If you did the prior drop step then at this point all db link info should be gone from the database.

  • How to change the row position in a datatable

    I am storing my list of lists in a datatable :
    DataTable table = new DataTable();
    for(int i = 0; i < info.Count; i++)
    table.Columns.Add(names[i]);
    for(int col = 0; col < info.Count; col++)
    for(int rows = 0; rows < info[col].Count; rows++)
    DataRow r = table.Rows.Add();
    r[names[col]] = info[col][rows];
    However the problem is that it is stored diagonally. Meaning that the first column is shown on rows 0-3, the second column 4-7 and so on. I want all the columns to be stored in positions 0-3. How can I do that ?

    "What would you suggest instead of datatable? I just want to show info of my lists that's all."
    Show in a control such as the WinForms's DataGridView or something similar?
    If you do not known the number and type of columns in advance then yes, using DataTable is a convenient way to do that as binding the grid to the list of lists won't work. Well, if the number of rows you can consider populating the grid control directly.
    If you do know the number and type of columns it's in general preferable to create a class to hold the information that corresponds to a row and then use a list of objects of that class. That list can easily be displayed in a grid control.

  • How to change the fact that after I send 5 emails I get a message to the effect that I cannot send more than 5 in 30 minutes?

    So, I'm busily responding to emails, etc. etc. and, as I say, after 5 emails are sent in quick succession, I get some sort of message saying I may not send more than 5 messages in 30 minutes ... !!! How can I get rid of this limitation? Because, what happens is I then save the emails I'm writing as drafts -- but I don't always remember they are sitting in the drafts folder and am horrified when I go check a few days later and there are my email replies waiting to be sent.

    Talk to your email provider.

  • In Pages 5.1 how do I change the default spacing after a paragraph? I used to be able to do this with the inspector. I no longer see the option.

    In pages 5.1 I was wondering how to change the line spacing after a paragraph.

    This is from the online Pages Help . You have the option to the Help in your Pages Help menu
    Adjust line spacing
    You can adjust the spacing between lines in a paragraph, and change the amount of space before or after a paragraph.
    Click in the paragraph whose spacing you want to change, or select one or more paragraphs.
    In the Text pane of the Format inspector, click Style.
    Click the disclosure triangle next to Spacing, then choose an option from the pop-up menu:
    Lines: Choose when the distance between ascenders (parts of letters that extend to the top of the line) and descenders (parts of letters that extend below the line) should stay the same. The space between lines is proportional to the font size.
    At least: Choose when the distance between lines should remain fixed (but not to overlap if the text gets large).The distance from one line to the next will never be less than the value you set, but it may be larger for larger fonts to prevent overlapping text lines.
    Exactly: The distance between the baselines.
    Between: The value you set increases the space between the lines, instead of increasing the height of the lines. By contrast, double-spacing doubles the height of each line.
    Click the arrows next to the spacing field to set the amount of space for the option you chose.
    To adjust the amount of space before and after the selected paragraph, click the arrows for Before Paragraph and After Paragraph

  • Can any one tell me how to change the current row header in FB1LN tcode

    Hi,
    can any one tell me how to change the current row header in FB1LN tcode.
    I want to show input date also in the layout.
    Regards
    Mave

    Hi
    I know two ways:
    - transaction obvu: here you can insert new fields, but only if these fields are included in certain table (like BKPF, BSEG, BSIS.....
    - if your field isn't included in those table, you have to modify the structure RFPOS and manage it in the BTE 1650. After updating RFPOS you have to run the program RFPOSXEXTEND to update the structure RFPOSXEXT.
    Max

  • How to change the default color of the selected row

    hi all,
    I need to know how to change the default color(yellow) of the selected row in a table component.whether i need to change anything in the stylesheet.If so, where should i make the changes in the stylesheet.
    thanks and regards,
    rpk

    The chart colors are being referred to *'palette.cxml'* file in these directories
    BI_HOME\web\app\res\s_oracle10\chartsupport
    BI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\chartsupport
    you can change to your custom colors.
    Restart OC4J and PS to make the new ones work..
    Regards,
    Raghu

  • How to change the background color of a single row

    Hi OTN,
    I am using JDeveloper 11.1.1.2 with ADF faces in view layer.My issue is How to change the background color of a single row in af:table ?.

    How to highlight ADF table row based on column value?
    Found by searching

  • How to change the color of specific row in ALV tree

    Hi,
    I m using method set_table_for_first_display of a class CL_GUI_ALV_TREE.
    The req is to change the color of specific row. Now can anybody tell me how to change the color of ALV tree. As in ALV tree and in this method 'set_table_for_first_display', there is no parameter IS_Layout.
    Pls suggest...

    hi
    hope this code will help you.
    Reward if help.
    REPORT zsharad_test1.
    TABLES: ekko.
    TYPE-POOLS: slis. "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
    ebeln TYPE ekpo-ebeln,
    ebelp TYPE ekpo-ebelp,
    statu TYPE ekpo-statu,
    aedat TYPE ekpo-aedat,
    matnr TYPE ekpo-matnr,
    menge TYPE ekpo-menge,
    meins TYPE ekpo-meins,
    netpr TYPE ekpo-netpr,
    peinh TYPE ekpo-peinh,
    line_color(4) TYPE c, "Used to store row color attributes
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    gd_tab_group TYPE slis_t_sp_group_alv,
    gd_layout TYPE slis_layout_alv,
    gd_repid LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    PERFORM data_retrieval.
    PERFORM build_fieldcatalog.
    PERFORM build_layout.
    PERFORM display_alv_report.
    *& Form BUILD_FIELDCATALOG
    Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but can
    also allow you more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such as
    total. You may need to provide more information than if you were
    simply displaying the result
    I.e. Field type may be required in-order for
    the 'TOTAL' function to work.
    fieldcatalog-fieldname = 'EBELN'.
    fieldcatalog-seltext_m = 'Purchase Order'.
    fieldcatalog-col_pos = 0.
    fieldcatalog-outputlen = 10.
    fieldcatalog-emphasize = 'X'.
    fieldcatalog-key = 'X'.
    fieldcatalog-do_sum = 'X'.
    fieldcatalog-no_zero = 'X'.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'EBELP'.
    fieldcatalog-seltext_m = 'PO Item'.
    fieldcatalog-col_pos = 1.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'STATU'.
    fieldcatalog-seltext_m = 'Status'.
    fieldcatalog-col_pos = 2.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'AEDAT'.
    fieldcatalog-seltext_m = 'Item change date'.
    fieldcatalog-col_pos = 3.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-seltext_m = 'Material Number'.
    fieldcatalog-col_pos = 4.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MENGE'.
    fieldcatalog-seltext_m = 'PO quantity'.
    fieldcatalog-col_pos = 5.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MEINS'.
    fieldcatalog-seltext_m = 'Order Unit'.
    fieldcatalog-col_pos = 6.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'NETPR'.
    fieldcatalog-seltext_m = 'Net Price'.
    fieldcatalog-col_pos = 7.
    fieldcatalog-outputlen = 15.
    fieldcatalog-datatype = 'CURR'.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'PEINH'.
    fieldcatalog-seltext_m = 'Price Unit'.
    fieldcatalog-col_pos = 8.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    ENDFORM. " BUILD_FIELDCATALOG
    *& Form BUILD_LAYOUT
    Build layout for ALV grid report
    FORM build_layout.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-totals_text = 'Totals'(201).
    Set layout field for row attributes(i.e. color)
    gd_layout-info_fieldname = 'LINE_COLOR'.
    gd_layout-totals_only = 'X'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    "click(press f2)
    gd_layout-zebra = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text = 'helllllo'.
    ENDFORM. " BUILD_LAYOUT
    *& Form DISPLAY_ALV_REPORT
    Display report using ALV grid
    FORM display_alv_report.
    gd_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = gd_repid
    i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
    i_callback_user_command = 'USER_COMMAND'
    i_grid_title = outtext
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_special_groups = gd_tabgroup
    IT_EVENTS = GT_XEVENTS
    i_save = 'X'
    is_variant = z_template
    TABLES
    t_outtab = it_ekko
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " DISPLAY_ALV_REPORT
    *& Form DATA_RETRIEVAL
    Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
    DATA: ld_color(1) TYPE c.
    SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
    UP TO 10 ROWS
    FROM ekpo
    INTO TABLE it_ekko.
    *Populate field with color attributes
    LOOP AT it_ekko INTO wa_ekko.
    Populate color variable with colour properties
    Char 1 = C (This is a color property)
    Char 2 = 3 (Color codes: 1 - 7)
    Char 3 = Intensified on/off ( 1 or 0 )
    Char 4 = Inverse display on/off ( 1 or 0 )
    i.e. wa_ekko-line_color = 'C410'
    ld_color = ld_color + 1.
    Only 7 colours so need to reset color value
    IF ld_color = 8.
    ld_color = 1.
    ENDIF.
    CONCATENATE 'C' ld_color '10' INTO wa_ekko-line_color.
    wa_ekko-line_color = 'C410'.
    MODIFY it_ekko FROM wa_ekko.
    ENDLOOP.
    ENDFORM. " DATA_RETRIEVAL

  • How to change the IO status to CLOSE after it has been settled through ko8g

    hi ,
    I have the following scenario : An internal order is assigned to a PO and after setllement of such an order i need to CLOSE the order .
    The PO has a GR done (no IR) . Currently Internal Order is in the status : TECO [technically complete] and setlement has ben doneusing Actual Settlemnet Run using KO8G.
    Now i need to change the IO status to  [ CLOSE ] : it is gving an error in KO02 : Balance is not zero .
    How  to change the Internal Order status to CLOSE or rather how to make teh balance in that Order toZero?
    Is it reqd to process some GR's for teh same PO ?
    Thansk
    Trina

    Hi,
    Check the order balance in Ko02
    Menu -->  Extras  -->  Order Balance if balance exist it means that the order has not completely settled.
    Regards,
    Raj

  • How to change async to sync after deploying the process.? Thanks

    How to change async to sync after deploying the process.? Thanks

    you'd need to change the base wsdl, the generated one (_Name.wsdl) and the bpel.file .. and remove the generated classes .. (all in domains/you_domain/tmp/your_process dir)
    the wsdl needs to get the output msg to the input msg instead of a callback porttype, the same needs to be in the generated wsdl (don't forget to remove the callback role in plnk session).. and the bpel process needs to have a reply instead of the invoke ..
    this is what you would need to do .. BUT, maybe we can find a better solution for you, if you elaborate on the usecase..
    during design time this is easier :-)
    regards clemens

  • How to change the scenegraph after a certain time

    I want to have an object appear in one of my 3d-applets after 30 seconds. How do I do this? It would be easy in regular Java, but since the scenegraph is precompiled, it makes it more complicated in Java3D.
    Have a look at some of my shapeshifters:
    http://www.astralvisuals.com/ShapeShiftersnew.htm

    Actually, it wouldn't be that difficult at all.
    Here's the trick: The scene graph as a whole isn't necessarily precompiled. You actually compile the BranchGroups in the scene. And branch groups can be added or removed at ANY time (provided the right capabilities are set).
    You can add it later in several ways:
    You could override behavior to count out 30 seconds (w/ or w/o using an Alpha), and add the item.
    Or you could do it from your application, using a TimerTask, or implementing your own thread to do it.
    Another idea, instead of actually adding the item 30 seconds in:
    You could add the item right away and set the appearance invisible, and set it visible when 30 seconds is up.
    Another thing you could do is modify the culling at 30 seconds in, so the 'visible' faces aren't rendered until 30 seconds have passed.
    The bottom line is, you can always change the scene graph after it's been compiled and is live AS LONG AS you have set the appropriate capabilitiy bits.

  • How do I change the row selection by mouse movement

    How do I change the row selection on a jtable by mouse over events?
    Thanks, Randy

    got it thanks...

Maybe you are looking for