How do I create a Radio Log Summary?

Because of licensing requirements, I need to submit an annual summary report of the songs played by the University campus radio to the local intellectual property agencies. The logs are taken from MegaSeg software.
After importing the tab-delimited log file into Numbers, I deleted unwanted columns and rows (log entries) and left with these columns: Date, Duration, Song Title, Artist, Composer, Lyricist. In the final summary report, I need these columns: Date, Duration, Song Title, Artist, Composer, Lyricist, Number of Times Played.
Before processing, I have sorted in ascending order by the Date column followed by the Song Title colums. Somehow I need to read the second row and compare its Song Title and the previous row Song Title. If it don't match, I need to output the entire previous row entry to a new table and put a number "1" into the new table Number of Times Played column, then read the next row entry.
On the other hand, if the Song Title matched, I need to somehow inform the COUNTA function to read the next row entry and count again.
Does it make sense? The final summary report just need to list a unique Song Title for that particular day with the appropriate Number of Times Played filled in.

You may want to compare not just the song title but also the artist before you say it's the same song. But, going with just the title, here's an idea on how to do it if this is going to be a printed report:
Column B is your song title. Column C is a running total for each song. I assume that if a song is on the list from MegaSeg then it has played at least once. Column D finds the highest number for a given song.
EDIT: Something is not letting the less than and greater than signs show up in this post. In the formulas below, it should be if B3 is less than or greater than "", and same for B2.
C2=1
C3=IF(B3"",IF(B3=B2,C2+1,1),"") and so on for the rest of the column
D2=IF(B2"", IF(C3>C2,"",C2),"")
Then you can use the reorganize/sort feature to hide all rows that don't have a number in column D. This will work for a printed report or a PDF but probably won't completely do the trick if you need to export it as an Excel spreadsheet.
I would recommend you create another column where you compare title and artist and set it to TRUE if they are the same then adjust the IF statement in column C accordingly based on this new column.
Message was edited by: Badunit
Message was edited by: Badunit

Similar Messages

  • In Adobe 8 how do you create a bates log file?

    I love this feature in Adobe 9 where one can select "output options" and change the way the bates stamped PDF is saved, to create a log file of bates numbers per document, etc.  Are these same output options and bates log file options available in Adobe 8?  Basically, how do I create a bates log file in Adobe 8?

    This is a great utility---thanks for sharing it!  The Javascripts folder can be hard to find--here's what worked for me:
    For Macbook Pro users using Acrobat Pro X with OS X version 10 or greater,  you’ll want to copy the unzipped “UVSAR_selectiveFlatten.js”  file into the JavaScripts folder located in this path:
    /Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app/Contents/Resources/JavaScripts
    *** IMPORTANT:  To be able to see the Contents folder, you must Right-Click (Ctrl-Click if you don't have a right button) on the filename "Adobe Acrobat Pro.app", then select Show Package Contents from the pop-down menu.  The Contents folder will appear in a new window and you can navigate to  Contents/Resources/JavaScripts, and put the “UVSAR_selectiveFlatten.js” into the JavaScripts folder.
    Once you've done that, restart Acrobat Pro and you'll find the "Flatten" option in your Edit menu.  VERY handy!  Tip:  might want to save your original PDF file as a different version just to be safe---once you flatten the PDF, it can't be undone, so either just print and don't save, or save as different version if need be.

  • How can we create the error log in a ABAP program

    Hi all,
    How can we create the error log in a ABAP program
    Thanks,
    srinivas.

    Hi,
    Refer to FM's in the Function Group SBAL. For a change most of the FM's have been well documented. Also have a look at the DEMO pgms. Se38---->SBALDEMO & F4.
    Regards
    Raju Chitale

  • How can i create a grid with summary row

    Hello Professionals,
    I'm wondering how could i create a grid like the grid below, i want to create a grid with summary row,
    i have tried to create it using collapsing but it didn't work as required.
    Any suggestions?, i want to know just the starting point so i can make deep investigations.
    Thanks in Advance,

    Hi Karem,
    this can be achieved by just assigning a datatable containing the data plus some formatting of grid. Meaning there is no feature for that.
    The datatable can be filled manually or by sql query. Then you have to attach some events for updating the values ( validate after for gid item ).
    A small example for a sql query showing last month quotations and orders with summary :
    select 1 as Sort,cast(DocNum as varchar) as DocNum,DocTotal,convert(varchar, DocDate,104) from OQUT where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    Select 2 as Sort,'Summary ( Quotation ) : ',sum(DocTotal), convert(varchar,  DATEADD(month, -1, GETDATE()),104)+' - '+convert(varchar,   GETDATE(),104) from OQUT where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    select 3 as Sort,cast(DocNum as varchar) as DocNum,DocTotal,convert(varchar, DocDate,104) from ORDR where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    Select 4 as Sort,'Summary ( Order ) : ',sum(DocTotal), convert(varchar,  DATEADD(month, -1, GETDATE()),104)+' - '+convert(varchar,   GETDATE(),104) from ORDR where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    ORDER by Sort
    regards,
    Maik

  • How do I create a 'member log-in' page? Easy instructions please!

    (I'm still relatively new to dreamweaver, so *please* post easy-to-follow instructions if possible)
    I'm in the process of updating the company site, and it's going very well considering I knew only the extreme basics of Dreamweaver going into it. I updated everything requested by the boss, but now she asked me to - IF POSSIBLE - create a new section of the site for "members (employees) only."
    Any help with this? I tried a google search for tutorials but couldn't find anything very useful. FYI I'm running windows 7, adobe suite cs3, and have Microsoft access (and don't mind downloading new software if need be - I read something about mySQL? or something like that...)
    Thanks very much in advance, you guys have already helped me out a lot..

    needing multiple usernames and passwords is going to force you into using a database type log in system. There is no "simple" way to accomplish this. You can also use java, ajax and a number of other types. But for the most secure you want to use a server sided language like ColdFusion, PHP, ASP, etc. That's where your server configuration comes in. What server sided language will it support? That's a good place to start.
    Another good place to start is do you know anything about code to write some on your own? DW does some coding for you, there are plug ins but it is always best to be able to understand the code.
    you can always look through the DW exchange for a small log in system that might be easy for you to change to your needs.

  • How can I create an event log

    I want to look at the URL's that are accessed by the various devices connected wirelessly through my Airport Extreme Router? Thanks.

    Apple has only the most basic of log info. I doubt that you will find what you are looking for.
    If you are using AirPort Utility for Windows......
    Open AirPort Utility, click the AirPort, and click Manual Setup
    Click the Advanced (gear) icon
    Click the Logging & Statistics tab
    Click Logs and Statistics near the bottom of the window
    If you are asking about AirPort Utility in Lion or Mountain Lion......there are no logs.

  • Calculating Time (How do you create a time log)

    I need to create a spreadsheet that each row consists of a date, *clock in* time, a *clock out* time, a duration of the the total hours (ex: 9:00am - 11:00am = 2 Hours). With this being said, what is the function to calculate the total hours between each clock in and out time?
    Please Help. Thanks!

    Do you know that the iWork Formulas and Functions User Guide is available to every user from the Help menu ?
    As far as I know, 9:00am -11:00am is not equal to 2 hours but to (-2) hours!
    In cells of column C the formula is
    =B-A (which calculates 11h-9h, the opposite of what you did)
    in the cell C11 (in the footer row), the formula is
    =SUM(C)
    Yvan KOENIG (VALLAURIS, France) samedi 5 septembre 2009 17:53:30

  • How to create materialized view log on remote database

    How do you create materialized view logs on a remote database.
    I tried
    create materialized view log on global_express_views.vccs438_project_work_request@h92edwp with sequence, rowid ( columns...)
    ERROR at line 1:
    ora-00949 illegal reference to remote database

    Hi,
    I am not getting the error exactly. But have some suggestion:
    If the schema owner does not own the master tables, then the schema owner must have the GLOBAL QUERY REWRITE privilege or the QUERY REWRITE object privilege on each table outside the schema.
    Hope, this may help you?
    Thanx.. Ratan

  • How to create a radio button on OA Page using Personalization

    I am trying to create a radio button on OA Page using Personalization. The item style , I can see is Message Radio Group.
    How to create Message Radio Button and bring them under one group.
    Thanks

    You should use jdev to define a radiogroup and radio buttons under that, wrap that definition inside a stackLayout in jdev, use personalization to add a stackLayout and extend the region which you had created earlier in jdev.

  • When i bought this iMac i failed to register correctly and as i am trying to install a printer i need to do this when i am logging on. How can i create new password

    When i bought this iMac i failed to register correctly and as i am trying to install a printer i need to do this when i am logging on. How can i create new password

    See
    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/ and
    http://osxdaily.com/2011/09/19/change-password-mac-os-x-10-7-lion-without-knowin g-current-password/
    which also apply to Mtn Lion and Macericks.

  • How to create a radio button in ALV Reports

    Hi all,
    Best wishes to all..
    Kindly reply me to this question... that is "How to create a radio button in ALV Report"
    Thanks and Regards
    Anjali

    HI
    here is an example :
    PROGRAM ZUS_SDN_BCALV_GRID_DEMO_2.
    Based on: BCALV_GRID_DEMO.
    TYPE-POOLS: icon.
    TYPES: BEGIN OF ty_s_sflight.
    INCLUDE TYPE sflight.
    TYPES: button1    TYPE lvc_emphsz.
    TYPES: button2    TYPE lvc_emphsz.
    TYPES: button3    TYPE lvc_emphsz.
    TYPES: button4    TYPE lvc_emphsz.
    TYPES: END OF ty_s_sflight.
    DATA:
      gt_sflight    TYPE STANDARD TABLE OF ty_s_sflight,
      gt_fcat       TYPE lvc_t_fcat.
    DATA: ok_code LIKE sy-ucomm,
         gt_sflight TYPE TABLE OF sflight,
          g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
          grid1  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container.
          CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA:
          md_cnt    TYPE i.
        CLASS-METHODS:
          handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
            IMPORTING
              e_row_id
              e_column_id
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
          CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_hotspot_click.
    define local data
        FIELD-SYMBOLS:
          <ls_entry>    TYPE ty_s_sflight,
          <ld_fld>      TYPE ANY.
        READ TABLE gt_sflight ASSIGNING <ls_entry> INDEX es_row_no-row_id.
        CHECK ( <ls_entry> IS ASSIGNED ).
      Set all radio buttons "unselected"
        <ls_entry>-button1 =  icon_wd_radio_button_empty.
        <ls_entry>-button2 =  icon_wd_radio_button_empty.
        <ls_entry>-button3 =  icon_wd_radio_button_empty.
        <ls_entry>-button4 =  icon_wd_radio_button_empty.
        ASSIGN COMPONENT e_column_id-fieldname OF STRUCTURE <ls_entry>
                                                  TO <ld_fld>.
        IF ( <ld_fld> IS ASSIGNED ).
        Set selected radio button "selected".
          <ld_fld> = icon_wd_radio_button.
        ENDIF.
      Force PAI followed by refresh of table display in PBO
        CALL METHOD cl_gui_cfw=>set_new_ok_code
          EXPORTING
            new_code = 'DUMMY'
         IMPORTING
           RC       =
      ENDMETHOD.                    "handle_hotspot_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
          MAIN                                                          *
      PERFORM select_data.
      CALL SCREEN 100.
          MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'MAIN100'.
      IF g_custom_container IS INITIAL.
        CREATE OBJECT g_custom_container
               EXPORTING container_name = g_container.
        CREATE OBJECT grid1
               EXPORTING i_parent = g_custom_container.
        PERFORM build_fieldcatalog.
        CALL METHOD grid1->set_table_for_first_display
         EXPORTING
           i_structure_name = 'SFLIGHT'
          CHANGING
            it_fieldcatalog  = gt_fcat
            it_outtab        = gt_sflight.
      Set event handler for event TOOLBAR
        SET HANDLER:
          lcl_eventhandler=>handle_hotspot_click FOR grid1.
      else.
        CALL METHOD grid1->refresh_table_display
         EXPORTING
           IS_STABLE      =
           I_SOFT_REFRESH =
          EXCEPTIONS
            FINISHED       = 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.
      ENDIF.
    ENDMODULE.                    "PBO OUTPUT
          MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      to react on oi_custom_events:
      CALL METHOD cl_gui_cfw=>dispatch.
      CASE ok_code.
        WHEN 'EXIT'.
          PERFORM exit_program.
        WHEN OTHERS.
        do nothing
      ENDCASE.
      CLEAR ok_code.
    ENDMODULE.                    "PAI INPUT
          FORM EXIT_PROGRAM                                             *
    FORM exit_program.
    CALL METHOD G_CUSTOM_CONTAINER->FREE.
    CALL METHOD CL_GUI_CFW=>FLUSH.
      LEAVE PROGRAM.
    ENDFORM.                    "EXIT_PROGRAM
    *&      Form  BUILD_FIELDCATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM build_fieldcatalog .
    define local data
      DATA:
        ls_fcat        TYPE lvc_s_fcat,
        ls_hype        TYPE lvc_s_hype.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'LVC_S_FCAT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      DELETE gt_fcat WHERE ( fieldname <> 'EMPHASIZE' ).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'SFLIGHT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE gt_fcat INTO ls_fcat
           WITH KEY fieldname = 'EMPHASIZE'.
      IF ( syst-subrc = 0 ).
        DELETE gt_fcat INDEX syst-tabix.
      ENDIF.
      ls_fcat-fieldname = 'BUTTON4'.
      ls_fcat-icon    = 'X'.
      ls_fcat-hotspot = 'X'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON3'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON2'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON1'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      LOOP AT gt_fcat INTO ls_fcat.
        ls_fcat-col_pos = syst-tabix.
        MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
      ENDLOOP.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM select_data .
    define local data
      DATA:
        ls_sflight    TYPE ty_s_sflight.
      SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_sflight.
      ls_sflight-button1 = icon_wd_radio_button.
      ls_sflight-button2 = icon_wd_radio_button_empty.
      ls_sflight-button3 = icon_wd_radio_button_empty.
      ls_sflight-button4 = icon_wd_radio_button_empty.
      MODIFY gt_sflight FROM ls_sflight
          TRANSPORTING button1 button2 button3 button4
        WHERE ( carrid IS NOT INITIAL ).
    ENDFORM.                    " SELECT_DATA
    Regards,
    Prasanth
    Reward all helpful answers

  • How oracle standard code to create/write concurrent log/output to $APPLCSF on the application tier server.

    Dear all,
    Could you please let me know how oracle standard code create/write concurrent log/output to $APPLCSF on the application tier server? utl_file ? or any other API?
    Thanks.
    Best & regards,

    APPS.FND_FILE
    PL/SQL APIs for Concurrent Processing
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458258.htm
    PACKAGE: APPS.FND_FILE
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=FND_FILE&c_owner=APPS&c_type=PACKAGE&c_detail_type=sou…
    PACKAGE BODY: APPS.FND_FILE
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=FND_FILE&c_owner=APPS&c_type=PACKAGE%20BODY&c_detail_t…
    Thanks,
    Hussein

  • How to create a radio button in dynpro during runtime?

    Hi guys!
    How can i create radio buttons in dynpro during runtime??
    any ideas?
    thanks!!

    Hi Thomas,
    I think as of now there is no possibility to create a Radio Button Dynamically during runtime. But of course, there is a work around which I feel you can evaluate.
    If your business requirement demands that you need to have a Radiobutton, you can use the subscreen to place the Radiobutton and later based on your need you can call that screen to enable that button to the user and to make it available.
    Hope this will help.
    Thanks,
    Samantak.

  • How to Create a radio button?

    How to Create a radio button with the label “Maintenance of RSDDTREXHPAFAIL tab".Once the user chooses this then there will two options –
    Create and Delete.Table has three fields.When user chooses the create button then it should create a new entry and delete should delete an entry. If the entry exist then create should overwrite an entry. There is no update.

    hi...
    the sample code below should help you .....
    parameters:Maintenance of RSDDTREXHPAFAIL tab radiobutton group grp1.
    this will create the radio button on the screen with  the lable required.
    now in the user command  of the screen ..
    PROCESS AFTER INPUT.
        MODULE user_command_0100.
    MODULE user_command_0100 INPUT.
    *assigning the sy-ucomm value to ok_code
      ok_code= sy-ucomm.
    *clear the sy-ucomm
      CLEAR sy-ucomm.
      CASE ok_code.
    *when user presses CREATE button
        WHEN 'PB_CREATE'.
        if  Maintenance of RSDDTREXHPAFAIL tab = 'X'.
          here write query to fetch data into the internal table
         and then use modify command to modify the database.
        endif.
    *when user presses CHANGE button
        WHEN 'PB_DELETE'.
       if  Maintenance of RSDDTREXHPAFAIL tab = 'X'.
          HERE write the delete query.
       endif.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100 INPUT
    <b>plz reward pts if helpful.</b>
    regards
    vijay

  • How do I create a Client Access Log in to unique pages

    I'm using DW8 on Mac OSX with MySQL & phpmyadmin. I've
    created a simple log in page for room for one password and an enter
    button. This works, but each name in my database goes to the same
    destination page as set up in Server Behaviors under Log In Users
    and I need them to go to separate pages, but can't find where to
    input the separate links for each password.
    Can anyone help with this?

    You might do something like this... on the destination page
    you would have
    this:
    if user hank then do this
    if user george then do this
    Now you could, in your database have information that would
    "customize" the
    page... something like:
    Hi <user name>!
    You last visited us on <last visit date>.
    Your order <order number> shipped on <order shipped
    date>.
    Etc...
    "Gina Hanzsek" <[email protected]> wrote in
    message
    news:e404em$3kj$[email protected]..
    > I'm using DW8 on Mac OSX with MySQL & phpmyadmin.
    I've created a simple
    > log in
    > page for room for one password and an enter button. This
    works, but each
    > name
    > in my database goes to the same destination page as set
    up in Server
    > Behaviors
    > under Log In Users and I need them to go to separate
    pages, but can't find
    > where to input the separate links for each password.
    > Can anyone help with this?
    >
    >

Maybe you are looking for

  • Cannot install DBD::Oracle perl module with Oracle 11.2.0.3 client

    Hi I have been trying to install DBD::Oracle perl module on a Centos 5.7 server which is running Oracle client version 11.2.0.3. I have installed all dependencies prior to attempting installing the same and I am running into the following error - /us

  • Why is Time machine backup not working after Mavericks upgrade?

    Why is Time machine backup not working after Mavericks upgrade?

  • [request] taglib-sharp

    I've run into some trouble with my own attempts at writing a PKGBUILD for taglib# and I was hoping someone more versed in how to build mono projects could take a look at it. This is the PKGBUILD I've got so far: pkgname=taglib-sharp pkgver=2.0.2.0 pk

  • Positioning with anchors

    I want to know that if i am putting a anchor from a label to a frame, from where should i pull the anchor, it has to be from the edge of the bounding rectangle for the label and it cannot be from the center of the label. But when i run the report whi

  • How can I keep, on my computer, my music separate from my brothers?

    Me and my brother have completely different tastes in music, but we share a computer. I don't want to be walking down the street, at the gym, on the train, etc. and have some dumb song I don't like come on. What do I do?