Filling cell according to the date

Hallo,
ich würde gerne in numbers eine Zelle anlegen, welche im wöchentlichen Rhytmus den Wert ändert.
Genauer gesagt: Zeige mir vom 31.03.2014 - 06.04.2014 den Inhalt dieser Zelle an, vom 07.04.2014 - 13.04.2014 den Inhalt dieser Zelle usw.
Weiss aber leider nicht wie ich das anstelle.
Kann mir da jemand weiterhelfen?
I want to fill a cell which is changing its value every week.
For example: Show me from 31.03.2014 - 06.04.2014 the value from this cell, from 07.04.2014 - 13.04.2014 the value from this cell etc.
I dont know how i could handle that.
Can anyone solve this problem for me?

Hi Chris,
What is the address of the cell containing 31. März 2014?
Is that the first date in the column? If not, what is the first date, and where is it located?
Are the values in the column containing 31. März 2014 Date and Time values, or are they text?
The example shown below assumes that the three columns shown in your example are columns A, B and C of Table 1 (Named "Daily Log" in the example), and that the contents of column A are Date and Time values, with display set to show onlt the Date part.
The second table, "This Week's Balance" is an variation of your Table 2, extended to two columns and the same number of rows as "Daily Log" to allow several values of "Today" to be tested. Opening balances in the three as yet unused weeks ave been set to 150, 151 and 152 to make it esy to see that the correct cell's value is being displayed in column A for each date tested in column B. The same formula is used in each cell of column A.
Formula: This Week's Balance::A2:
=OFFSET(Daily log :: $A$1,1+DATEDIF(Daily log :: $A$2,B,"D")+6-WEEKDAY(B,3),2)
Revised to use TODAY() for the single cell table in your example:
=OFFSET(Daily log :: $A$1,1+DATEDIF(Daily log :: $A$2,TODAY(),"D")+6-WEEKDAY(TODAY,3),2)
You will note that I have used positive values in column B rather than the negative ones used in your example. Either is useable provided the use is consistent and the formula matches whichever is used.
C8: =150-SUM(B2:B8)
Regards,
Barry

Similar Messages

  • Export PDF converts filled PDF form without the data - Turns filled PDF form onto blank Word doc. Is there a solution to this or did Adobe just sell me a service that doesn't work?

    Export PDF converts filled PDF form without the data - Turns filled PDF form onto blank Word doc. Is there a solution to this or did Adobe just sell me a service that doesn't work?

    ExportPDF is not for forms. In general, converting forms to Word is a really, really bad idea which can even cause legal problems. Work with the form as a PDF. Acrobat (not Reader) can export form data as simple text for example.

  • How do i sort according to the date modified.

    Hi, i have a list of jobs that are created over a period of time. The date/time is stored when the job is created. How do i sort them according to the date/time they are created instead of sorting them by alphabetical order. This is the following code, i have
    public void setupJobPage()
    pageno = 5;
    String theFiles[];
    String directory = new String(nanocadHome + "\\users\\" + user + "\\" + session);
    File toRead = new File(directory);
    PageJobPanel = new Panel();
    PageJobPanel.setLayout(null);
    backToWaltz = new Button("Return to Waltz");
    backToWaltz.addActionListener(this);
    PageJobPanel.add(backToWaltz);
    backToWaltz.setBounds(new Rectangle(40, 5, 200, 20));
    sessionChecksLabel = new Label("   Name");
    sessionChecksLabel2 = new Label("Last Modified");
    sessionChecksLabel.setBackground(new Color(170, 198, 198));
    sessionChecksLabel2.setBackground(new Color(170, 198, 198));
    sessionChecksLabel.setBounds(new Rectangle(15, 30, 100, 20));
    sessionChecksLabel2.setBounds(new Rectangle(115, 30, 200, 20));
    PageJobPanel.add(sessionChecksLabel);
    PageJobPanel.add(sessionChecksLabel2);
    theFiles = toRead.list();
    sessionChecks = new Checkbox[theFiles.length];
    lastModifiedLabels = new Label[theFiles.length];
    sessionCheckGroup = new CheckboxGroup(); 
    for (int i = 0; i < theFiles.length; i++)   
    File temp = new File(directory + "\\" + theFiles);
    Date tempDate = new Date(temp.lastModified());
    lastModifiedLabels[i] = new Label(tempDate.toString());
    sessionChecks[i] = new Checkbox(theFiles[i], sessionCheckGroup, false);
    if ( ((String)sessionChecks[i].getLabel()).equals(session) )
    sessionChecks[i].setState(true);
    PageJobPanel.add(sessionChecks[i]);
    PageJobPanel.add(lastModifiedLabels[i]);
    sessionChecks[i].setBackground(new Color(170, 198, 198));
    lastModifiedLabels[i].setBackground(new Color(170, 198, 198));
    sessionChecks[i].setBounds(new Rectangle(15, 50 + 20 * i, 100, 20));
    lastModifiedLabels[i].setBounds(new Rectangle(115, 50 + 20 * i, 200,20));
    sessionButtonPanel = new Panel();
    sessionButtonPanel.setLayout(null);
    sessionButtonPanel.setBackground(new Color(187, 187, 221));
    createSession = new Button("View Result");
    deleteSession = new Button("Delete");
    createSession.addActionListener(this);
    deleteSession.addActionListener(this);
    sessionButtonPanel.add(createSession);
    sessionButtonPanel.add(deleteSession);
    createSession.setBounds(new Rectangle(40, 5, 85, 20));
    deleteSession.setBounds(new Rectangle(210, 5, 50, 20));
    PageJobPanel.add(sessionButtonPanel);
    sessionButtonPanel.setBounds(new Rectangle(15, 50 + 20 * theFiles.length + 10, 300, 30));
    sessionButtonPanel.repaint();
    PageJobPanel.setSize(400, 50 + 20 * theFiles.length + 40);
    GridBagConstraints c = new GridBagConstraints();
    c.anchor = GridBagConstraints.NORTH;
    c.gridwidth = 1;
    c.gridx = 0;
    c.gridy = GridBagConstraints.RELATIVE;
    c.weightx = 1;
    c.weighty = 1;
    add(PageJobPanel, c);
    Thanks

    Arrays.sort(Object[], java.util.Comparator);

  • How can I put data to cell according to what data you entered first?

    I'm using DDE to simulate vi to excel, it display the data to excel correctly, according to what data i entered, but i already assign specific cell to a specific data. i want that for example, the data that has been read is SOG row 1 column 3. and FOG row 2 column 3. how can i distinguished what data read first? bec. if you first entered data FOG it will entered in row 2 and if you entered SOG it will appeared in row 1, if you have a lot of entered data you will not distinguished what data enetered first.
    can you please give me an idea how can i solve this?
    Thank You

    I'm not totally sure if I understand your question, but it seems to me that you have two pieces of data - SOG and FOG. This data will be written to your Excel file in the same location each time. Are you writing FOG and SOG from the same VI? If so, why not use a shift register to keep order? Another option is to insert a time stamp next to the SOG or FOG data and then view the time stamp to know the order. Or, you could write the data to a simple text file. Keep appending the data. When you want to know the order, just open the text file and you will have the insertion sequence there. Good luck.

  • How do I add a cell count to the data already in my tables in Numbers '08?

    I am using Numbers '08, Mac OS X 10.8.2
    I have a spreadsheet with a number of different tables. Each table refers to a style of music and lists songs in that style. I want to count the number of songs in each table (bearing in mind that the first row in each table is a heading and would not be counted). I also want this number to automatically update each time a new song is added or removed. Is there are way of adding this number count into data that is already stored or would I need to start from scratch with a specific table style?

    Smiley
    I would approach this a little differently, but there are more similarities than differences.
    I would change the names of the list tables from Table 1, Table 2, etc. to Jazz, Pop, etc.
    Column A would have the song number, Column B, the song name.
    In Column A, I would write: =IF(LEN(B)>0, ROW()-1 & "."
    That's all the programming for the data tables. You can insert and delete and sort to your heart's content.
    For the statistics I would have a table named "Summary". In the Summary table you would list the genres in Column A and would calculate the number of songs for each genre in Column B. The calculation of titles per genre would be:
    =COUNTA(INDIRECT(A&"::B"))
    The calculation for the combined total in the Footer row would be:
    =SUM(B)
    Here's a screen shot:
    As you add genre tables, just add rows to the Summary table and expand the genre list, filling the count formula down.
    I suggest that if you want to try my way, that you do it with a little sample table, like the one I used, to see if the formulas all work in Numbers 08. If anything fails, report it and we can try to adapt it to the old program.
    Regards,
    Jerry

  • How do I save IRS pdf forms so that I can fill in and save the data

    when I downlaod a US government IRS form I am unable to fill in the form, save the data and print, I have tried saving as a pdf from the print menu and using the tools menu none of which works

    I know there is an app called PDFPen that is supposed to fill in PDF forms.  PDFPen is available in the App Store, but it is not free.
    I have no financial interest in PDFPen.  I also don't know if there is some cheaper way to fill in the forms.

  • Every time I create a new row, I want a certain cell to display the date and time the row was created.  How do I do that?

    =NOW() updates the date and time continuously, I don't want to do that.  I just want the date and time in that cell to stay the same after that row is created.  Seems like this would be easy, but I can't figure it out.

    My preferred scheme is a variant of Barry's proposal 2
    create the new row
    select the cell in which you want to insert the date
    type the shortcut dedicated to one of the four "Insert date" services delivered with WordService from Devon Technologies (FREE)
    On a French keyboard, only one of the default shortcuts apply : cmd % which inserts the long date.
    But we may edit these shortcuts.
    Yvan KOENIG (VALLAURIS, France) mercredi 6 juillet 2011 15:12:16 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Where Can I settle an enhancement to delete a sales order item according to the data in BDOC from CRM?

    Hi expert,
    I have an urgent requirement from the client.
    Delete the sales order item totally in ECC.
    I planned to implement this enhancement in ECC. Check the data in BDOC from CRM middleware, according to the user status in the order item,decide whether the item can be deleted.
    My question is,where can I settle this enhancement? The BADI name,user exit?
    Thanks in advance.
    Jerry.

    Hi Jerry,
    It may be delayed. you may found the solution.
    Use BADI CRM_DATAEXCHG_BADI and try the code in MBDOC_FILL or BAPI_FILL method.
    Regards,
    Bala

  • Numbers cell keeps showing the date

    I find that Column A in Numbers (List style) keeps showing the date. I don't want to show the date. I want this column to show just a number. How do I prevent this column from turning numbers I type in there as a date?

    select the column and set the format to "Automatic":

  • Refresh variable according to the data schema

    Hello guys,
    First post, fairly new to ODI and looked around for a while before posting.
    We are trying to create a variable that runs a SQL command to return a value from an ORACLE table column.
    #VAR1 = select column_value from <schemaname>.<tablename> where anothercolumn value = '';
    we do not want to hard code our schemaname as it can change once move to QA.
    Is there a way we can say #VAR1 = select column_value from "#VAR2" .<tablename> where anothercolumn value = ''
    and
    "VAR2 = <%=odiRef.getObjectName( "L" , "TABLENAME" , "LOGICALSCHEMANAME" , "DEV" , "D" )%>
    Can anyone point to any suggestions or learning material?
    Thanks in advance for your time.

    Thanks Cezar,
    Its working to the point that I have a variable to retrieve the schema name
    v_Schema_Name = select '<%=odiRef.getSchemaName("LS_Name" , "CTXT_DEV" , "D" )%>' from dual
    How do I correctly embed this code into another variable?????
    SELECT column_1_val FROM #v_MASTER_SCHEMA_NAME .tablename WHERE col2_name = 'COL_2_VAL' in the refresh tab, its giving me
    "invalid character error."
    Even this way, once it works, I will have to manually/thru package refresh the schema name variable once we move to new environment.
    Any ideas to handle the change dynamically????
    Thanks

  • How to populate dynamic internal table according to the field names

    Hi ,
          Iam having a dynamic internal table <DYN_TABLE> , it has fields like
    MATNR   MAKTX       MEINS    BISMT     MTART  ...
    Now my requirement is i need to fill them according to the fieldname from another internal table (static) .
    The order of  internal table (static) and dynamic internal are not same. 
    kindly help me.

    Hi,
    Here is the code. Please reward points if helpful.
    REPORT z_dynamic.
    TYPE-POOLS : abap.
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                   <dyn_wa>,
                   <dyn_field>.
    DATA: dy_table TYPE REF TO data,
          dy_line  TYPE REF TO data,
          xfc TYPE lvc_s_fcat,
          ifc TYPE lvc_t_fcat.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p_table(30) TYPE c DEFAULT 'T001'.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      PERFORM get_structure.
      PERFORM create_dynamic_itab.
      PERFORM get_data.
      PERFORM write_out.
    *&      Form  get_structure
          text
    FORM get_structure.
      DATA : idetails TYPE abap_compdescr_tab,
             xdetails TYPE abap_compdescr.
      DATA : ref_table_des TYPE REF TO cl_abap_structdescr.
    Get the structure of the table.
      ref_table_des ?=
          cl_abap_typedescr=>describe_by_name( p_table ).
      idetails[] = ref_table_des->components[].
      LOOP AT idetails INTO xdetails.
        CLEAR xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-inttype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        APPEND xfc TO ifc.
      ENDLOOP.
    ENDFORM.                    "get_structure
    *&      Form  create_dynamic_itab
          text
    FORM create_dynamic_itab.
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ifc
        IMPORTING
          ep_table        = dy_table.
      ASSIGN dy_table->* TO <dyn_table>.
    Create dynamic work area and assign to FS
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    ENDFORM.                    "create_dynamic_itab
    *&      Form  get_data
          text
    FORM get_data.
    Select Data from table.
      SELECT * INTO TABLE <dyn_table>
                 FROM (p_table).
    ENDFORM.                    "get_data
    *&      Form  write_out
          text
    FORM write_out.
    Write out data from table.
      LOOP AT <dyn_table> INTO <dyn_wa>.
        DO.
          ASSIGN COMPONENT  sy-index
             OF STRUCTURE <dyn_wa> TO <dyn_field>.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          IF sy-index = 1.
            WRITE:/ <dyn_field>.
          ELSE.
            WRITE: <dyn_field>.
          ENDIF.
        ENDDO.
      ENDLOOP.
    ENDFORM.                    "write_out

  • Cannot display the data from a varaible in front end

    hi,
    i not able to display the data in the table from the variable.
    steps how the module should work.
    In OEO:
    1. data to be accepted from user, values to be passed to the program in database according to the data accepted.
    In Oracle Express:
    2. values is accepted in database program as arguments. according to arguments the limits are applied and calculation is made for leaf level and then assigned to variable
    3. rollup is called in database program.
    In OEO:
    4. the data is shown in tables here the user can limit his view of the data according to his needs.
    my problem:
    the data acceptence from oeo is working fine and the backend or the database part(program, rolllups etc) are working fine. when values are passed thru express command box the program is working fine.
    i am not able to get the calculated data form the variable which stores it and display in the table. the database connectivity is fine.
    note: the display of data in table is in other page not in the data acceptence page.
    pls also let me know how to check in oracle administrator whether the values sent from oeo and accepted in backend properly.
    i will be thankfull if any helps me out to solve this problem.
    naveen

    hi,
    i not able to display the data in the table from the variable.
    steps how the module should work.
    In OEO:
    1. data to be accepted from user, values to be passed to the program in database according to the data accepted.
    In Oracle Express:
    2. values is accepted in database program as arguments. according to arguments the limits are applied and calculation is made for leaf level and then assigned to variable
    3. rollup is called in database program.
    In OEO:
    4. the data is shown in tables here the user can limit his view of the data according to his needs.
    my problem:
    the data acceptence from oeo is working fine and the backend or the database part(program, rolllups etc) are working fine. when values are passed thru express command box the program is working fine.
    i am not able to get the calculated data form the variable which stores it and display in the table. the database connectivity is fine.
    note: the display of data in table is in other page not in the data acceptence page.
    pls also let me know how to check in oracle administrator whether the values sent from oeo and accepted in backend properly.
    i will be thankfull if any helps me out to solve this problem.
    naveen

  • Formula to Calculate Cell Above in the Same Column?

    How do you write a formula that looks if two cells (with dates) are identical in the same column; and if they are not identical, subtract 1 day from the date in the above cell to determine the date for the cell below it.
    =IF($A1=$A2,B1-1,B2+28)

    How do you write a formula that looks if two cells (with dates) are identical in the same column; and if they are not identical, subtract 1 day from the date in the above cell to determine the date for the cell below it.
    =IF($A1=$A2,B1-1,B2+28)

  • I want to build an array using the data that I get through the serial port

    I am reading data through the serial port, but I want to buffer these data. I have seen a function, but i think that i can use this if I am reading data from I/O intrument, so I don´t how can I fill an array, with the data that I am reading!!!
    Thank you!!!

    I'll hazard a guess that you are reading data with VISA as a string. Then you want to convert that (probably with Scan From String) into a number. Then, you want to collect those numbers into an array.
    We don't really have enough information to tell you the best way to do this. Here are some ideas.
    If you are reading all the numbers from the instrument at once (e.g., a waveform from a scope), you might consider using "Spreadsheet string to array". Most scopes return the data as ASCII with commas between the values, so you'd wire a "," to the "delimiter" input of the "Spreadsheet string to array" function.
    If, however, the instrument is returning a single point at a time, there are more questions. Do you want to do this continuously, or do you want t
    o collect only a certain number of data points, and then process them as a block?
    If the latter, then you'd just acquire each data point, convert it to a number, and then use output indexing on the for loop to create your array.
    If the former, then you may want to store the data in a queue, and read it from the queue elsewhere in your program.
    If you let us know what you want to do, we can probably provide more precise help.
    Brian

  • How do i keep only the name of a month in a cell in Numbers and not have it auto fill the date and time?

    how do i keep only the name of a month in a cell in Numbers and not have it auto fill the date and time?

    Hi JN and Barry,
    Barry wrote:
    The second case may not be included in the available D&T formats in Numbers 3
    For my region, the Date & Time data formats include month.
    The Date Pop-Up
    This may not be the case for all regions.
    Remember that the month is only the display, and the Full Date & Time is still there. If I change the format to reveal what is behind the curtain:
    Regards,
    Ian.

Maybe you are looking for

  • How can I re-arange the apps on my screen?

    How do I arrange my homescreen?

  • How do I add a drop shadow to the page in Muse?

    How can I apply a drop shadow to the page template in Muse? If I place a rectangle it will not change shape according to the page size. Is this a feature?

  • MacBook Pro Chewing Up DVDs?

    I put my new MacBook Pro on my lap, inserted a DVD and a third of the way through the DVD paused until I skipped the scene. When I ejected the disc it seems as though a ring had been lightly etched a third of the way through. I continued to watch ano

  • Bootcamp or VMWare Fusion 3

    From a MAC newbie running an iMac I7, 8GB, 1TB Can some of the experts out they give me a suggestion on using Bootcamp vs. VMWare to run Windows games and applications. I like the idea of running the Windows applications while SL is also running (VMW

  • Results analysis reports (KKA2)

    Gurus New to this space.. Is there a place where can get the output of KKA2 in a text format? (Either a program that can output to file or a standard report) Thanks, tzone.