Numbers: Reducing a list to unique rows

My end goal here is a text based table that lists all the Artists I have in my iTunes Library, and all the albums I have for each Artist.
I'm off to a great start after exporting my Library using Export in iTunes, using Unicode Text and subsequently importing into Numbers.
What I had at first was a table with 5896 rows (one for each Song) and many columns (one for each data type/descriptor in iTunes). I have reduced the columns to four (A-D) "Artist Album Genre Year". And that's perfect for my needs.
What I am unable to do now is reduce the duplicate rows to a single row per Album. If an Album had ten songs, I now have ten rows that have the same Artist Album Genre Year.
14 rows for "AC/DC Live Rock 1992"
10 rows for "AC/DC Back in Black Rock 1985"
11 rows for "AC/DC Ballbreaker Rock 1995"
and so on.
When I am complete, I should have one row per Album (528 rows).
"AC/DC Live Rock 1992"
"AC/DC Back in Black Rock 1985"
"AC/DC Ballbreaker Rock 1995"
and so on.
I assume there is going to be logic used to check each row for repetition and then perhaps return a True/False, where I can subsequently filter on all the False returns or something similar.
I am fairly new to Numbers but fluent with Excel, so I can handle the logic but maybe not the button-pushes or menu operations within Numbers itself.
I'm happy to experiment so suggestions and partial solutions are welcome, we need not hit a home-run in a single reply.
Thank you,
ERK

And if you're having trouble getting the formula in Table 2 to work you can also consider a more "low-tech" approach.
1. Create a new blank table.
2. Set a filter on the Counter column so only the rows with a value there are visible.
3. Select the cells that are visible after the filter is applied and command-c to copy.
4. Click once in a cell in the new blank table and command-v to paste. .
You can then delete the Counter column (or simply not select it in step 3).
SG

Similar Messages

  • I have all my devices connected to iCloud.  I would like a reduced contact list on my iPhone without removing any from my master list on my computer.  How do I delete contact numbers from my phone without disrupting the master list on my computer?

    I have all my devices connected to iCloud.  I would like a reduced contact list on my iPhone without removing any from my master list on my computer.  How do I delete contact numbers from my iphone without disrupting the master list on my computer?

    Are you trying to reduce the visual clutter on the phone, save space on the phone, or limit the security exposure if your phone is stolen?
    If you are only wanting to reduce the visual clutter and make scrolling through the list faster, you could set up a group on the computer containing only the contacts you want to see on my phone (called, for example, "Show on my Phone") and enable only that group inside Contacts on the phone. You might even have one or more existing groups that you could enable that way (maybe "Family" and "Personal").

  • Creating a list of unique values within a range.

    I have a huge data set I am working with and need to do two things.
    First I need to get rid of any repeat entires, which there are many.
    Second, and more importantly, I need to generate a list of unique values within a column for which I have no idea what the number or sort of values might be. For instance, say the column contained flavors of ice cream, I am looking for a formula that can return an array of the flavors listed.
    Can either of these two things be done in numbers?

    CJ Eder wrote:
    I have a huge data set I am working with and need to do two things.
    First I need to get rid of any repeat entires, which there are many.
    If entries are in column B starting from B2
    In C2 enter the formula:
    =IF(COUNTIF($B$1:$B1,B)=0,B,"")
    and apply fill down.
    You will get a single copy of existing entries.
    Select the column C
    Copy to Clipboard
    Paste in column C
    Sort on column C
    delete the rows whose cell of column C is blank.
    If I understand well, the same protocol apply to your second request.
    Yvan KOENIG (from FRANCE mercredi 15 juillet 2009 21:32:30)

  • Macbook pro numbers applying a formula to all rows

    macbook pro, numbers: applying a formula to all rows...
    I am trying to apply the same formula to successive row in a spreadsheet that I am using...how do I go about this?

    Apologies for not replying immediately! I have now managed to organise my entire stock list for my business; I just had a major brain blockage as to how to copy and paste formulae in columns, added to which I've never had any formal training in IT.  I'm not too old to try and have a can do attitude and so far I managed ok. Now I've started my own business I'm putting what I've taught myself in to practice and I'm pleasantly surprising myself with the results.
    Thank you again for your help,
    Regards....charlie.

  • SQL query - return single unique rows

    Hi
    If you have an employee table where employees are listed per department, using SQL, how could you return the names of the employees listed per department on a single unique row?
    Eg - select deptno, first_name from employee
    deptno first_name
    10 Jane
    20 Jack
    10 Joe
    20 Jill
    10 Jacinta
    30 John
    30 Jeffrey
    10 Jackie
    30 Jennifer
    ... etc.
    the return set of the query would look like:
    deptno first_name concat
    10 Jane Joe Jacinta Jackie ..
    20 Jack Jill ..
    30 John Jeffrey Jennifer ..
    Cheers

    Here you go:
    WITH t AS
    (SELECT 10 deptno, 'Jane' first_name FROM dual UNION
    SELECT 20 deptno, 'Jack' first_name FROM dual UNION
    SELECT 10 deptno, 'Joe' first_name FROM dual UNION
    SELECT 20 deptno, 'Jill' first_name FROM dual UNION
    SELECT 10 deptno, 'Jacinta' first_name FROM dual UNION
    SELECT 30 deptno, 'John' first_name FROM dual UNION
    SELECT 30 deptno, 'Jeffrey' first_name FROM dual UNION
    SELECT 10 deptno, 'Jackie' first_name FROM dual UNION
    SELECT 30 deptno, 'Jennifer' first_name FROM dual)
    SELECT   deptno,
             RTRIM(XMLAGG(XMLELEMENT(c, first_name||' ') ).EXTRACT ('//text()'), ' ') names
    FROM     t
    GROUP BY deptno

  • Creating a list with different row sizes...

    I'm new to AS 3.0 and CS4 and I've been getting up to speed
    on all of it. I've used the List component before with my own
    CellRenderer. I now need to create a list with different row
    heights. The List component is great and does everything that I
    want but it requires all rows to be the same height.
    I'm unsure of where to go. Creating my own class seems like a
    lot of work. The TileList and Grid components don't allow different
    sized (and dynamically changing) row heights either. Is there some
    base class (SelectableList? BaseScrollPane?) that I should extend
    or do I need to just bite the bullet and write it all from scratch?
    I need each row to have it's own height and interaction with
    a row could change the height of the row. The main use is a list of
    data. If the user clicks in an item, it turns the display into
    something they can edit (which will need more height).
    Thanks for any thoughts on a direction I should think about.
    By the way, I really like that AS 3.0 is much more consistent of a
    programming language than previous MX versions that I've used.
    We're doing a lot of AS/Flash/AIR work with it and it's turning
    into a wonderful environment...

    Any ideas about this??

  • How to get a unique row in a value set

    How to get a unique row in a value set which is used in concurrent program.
    Example if a table contains 10 unique rows i need only one row to show.
    Thanks

    add conditions in where clause to supress the duplicate values.
    On how to supress the duplicate values follow the link
    http://oracleschools.com/index.php?topic=40.msg76#msg76
    Thanks
    Prudhvi
    www.erpschools.com

  • Query for how to display unique rows in a table

    Can i have a query for displaying unique rows in a table.

    use d query
    select distinct col1,col2... from table ;

  • How to list all the rows from the table VBAK

    Friends ,
    How to list all the rows from the table VBAK.select query and the output list is appreciated.

    Hi,
    IF you want to select all the rows for VBAK-
    Write-
    Data:itab type table of VBAK,
           wa like line of itab.
    SELECT * FROM VBAK into table itab.
    Itab is the internal table with type VBAK.
    Loop at itab into wa.
    Write: wa-field1,
    endloop.

  • Select unique rows from two tables...

    Hi,
    I have two tables, replies1 and replies2.
    SQL> desc replies
    Name Null? Type
    URN VARCHAR2(36)
    ADDRESS VARCHAR2(18)
    FILESIZE NUMBER
    AS_NUM VARCHAR2(6)
    SQL> desc replies2
    Name Null? Type
    URN VARCHAR2(36)
    ADDRESS VARCHAR2(18)
    AS_NUM VARCHAR2(6)
    Both of the tables have no primary keys, but I have indixes on (urn, addrss) combination on both....
    I am trying to select the unique rows with (urn, address) from replies2, and then find the matching size from replies...
    I am using the following query:
    select distinct replies2.urn, replies2.address, replies.filesize from replies2, replies where replies2.AS_NUM like 'XYZ' and replies.urn = replies2.urn;
    I cannot figure out why it won't work. the way I understand it is that, distinct will give all distinct combination of all column names that follow, which is what I want...
    I know it is wrong, because the query:
    select count(*) from replies2 where AS_NUM like 'XYZ' returns less number of rows than the above query.
    Any help would be greatly appreciated.
    Thank you
    Oz.

    Thanks a lot Mohan for your reply.
    urn is not a unique key. Several rows could have the same (urn, address) pair in both tables. What I want is retrieve all (urn, address) rows from one table, and find the size from the other table to make a (urn, address, size). I want all unique combinations of (urn, address) to appear in the output.
    AS_NUM is an empty column in replies... It would've been a lot easier if it wasn't, since then I'll just say: select distinct urn, address, filesize from replies where AS_NUM like 'XYZ';
    I will try your query though and let u know how it goes. It takes quite a while to run since my tables are huge.

  • Name of built in unique row identifier field in Oracle

    I believe that I read somewhere that each Oracle database table comes with a built in unique row identifier field. Could somebody please confirm whether this is true and if so, please tell me the name of that field.
    Thanks.

    Are you referring to ROWID by any chance? If yes, this may help with the relevant information - http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#i8776
    Thanks
    Chandra Pabba

  • Stop the Numbers and Letter Lists!

    My wife is going crazy - please help me. She has to copy and paste questions into a blank pages doc, answer the questions then submit the completed document. The problem is that Question 1 is numbered as such and when she goes to type the answer, her answer is then number 2. It happens with part a, b , c as well always wanting to continue the list. I thought I read that you simply double return and it stops, but this is not working, nor is turning off "automatically detect lists" in preferences. How do you stop the numbering and lettering lists please?

    Thanks Peter - unfortunately that's what I found in the help menu's and it doesn't work. The more I press return the more the list keeps going, c,d,e,f,g etc. I also selected none in the lists menu, but it seemed to have no effect. Is this because the document was pasted from a word to a pages? I wonder.

  • Can I add just cells in numbers without creating a whole new row?

    can I add just cells in numbers without creating a whole new row?

    Thanks to Jerrold Green1 for the answer to this back in Dec. 09.  Numbers is so logical, it worked perfectly.

  • Bar code shipment numbers on picking lists

    Dear All,
    I want to add Bar code to shipment numbers on picking lists so warehouse/shippers can scan the bar code instead of type in the number.  This would really save time on UPS shipments.  Currently the warehouse/shippers have to type each UPS shipment number twice (one time to confirm pick and one time to print packing list).  Since there are 50 - 100 UPS shipments daily, a lot of time could be saved with scanning the shipment number instead of keying.
    What can be the resolution for this? Can this be automated at  the configuration level?
    Or can it be done through the help of coding? Any ideas on this issue?
    Advises are welcome.
    Regards,

    The t.o. confirmation can be automatic at the time of t.o. creation (autoconfirm) if you desire and/or you could make the print output  to trigger at time of t.o. confirmation.
    Another option would be to paste the shipment numbers into an excel file and convert the numbers to bar code for scanning.
    You can get a very popular bar code "font" (3 of 9 barcode) free online and use it just like any other font in excel.

  • Unique row based on two columns and single column

    Dear Members,
    I have a table which contains duplicate rows, for which a query should be able to fetch the unique row from the table. Here the unique is not based on one column, but it should be on two columns and also check for uniqueness on one column.
    create table addr ( firstname varchar2(10), lastname varchar2(10), area varchar2(3));
    insert into addr values('bob', 'james', '1');
    insert into addr values('bob', 'james', '1');
    insert into addr values('harry', 'bert', '1');
    insert into addr values('jimmy', 'bert', '1');
    insert into addr values('sam', 'mac', '1');
    insert into addr values('sam', 'knight', '1');
    insert into addr values('tom', 'sand', '1');
    insert into addr values('cat', 'mud', '1');
    The output of query should contain 3 rows.
    bob - james
    harry - bert or jimmy - bert [ either one of them, but not both ]
    sam - mac or sam - knight [ either one of them, but not both ]
    tom - sand
    cat - mud
    SELECT firstname, lastname as total from addr WHERE area = '1' GROUP by firstname,lastname; This does not take of single column duplication..
    Any suggestions..

    SQL> with t_data
    as
    select 'bob' as firstname, 'james' as lastname, '1' as area from dual union all
    select 'bob', 'james', '1' from dual union all
    select 'harry', 'bert', '1' from dual union all
    select 'jimmy', 'bert', '1' from dual union all
    select 'sam', 'mac', '1' from dual union all
    select 'sam', 'knight', '1' from dual union all
    select 'tom', 'sand', '1' from dual union all
    select 'cat', 'mud', '1' from dual
    SELECT
            firstname,
            lastname,
            area
    FROM
                    SELECT
                            t.*,
                            row_number() over(partition BY firstname order by 1) rn,
                            row_number() over(partition BY lastname order by 1) rn1
                    FROM
                            t_data t
    WHERE
            rn     = 1
    AND rn1 =1 ; 
    FIRSTNAME       LASTNAME        AREA
    bob             james           1
    cat             mud             1
    jimmy           bert            1
    sam             knight          1
    tom             sand            1
    SQL>

Maybe you are looking for

  • Social networking share widgets for iWeb... any solutions?

    I've been trying in vain for sometime to get one of the social networking share widgets (ShareThis, AddThis, TellaFriend) to work in iWeb 08 and am hoping someone might be able to help. With all i am pasting the code provided by these services into t

  • How to make a category required for all files created within a folder

    I've defined a category. It has attributes which have been flagged as required. When I view the properies of a particular workspace (library), the category is shown as available to the workspace. However, the category is not shown as required. And th

  • Question about 'currentState'

    2 mxml files ================================================== index.mxml <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns:ns1="*" > <mx:Script> <![CDATA[ private function login():void{ this.currentState = 'main'; ]]> </mx:Script> <m

  • Color Picker with Pantone conversion

    In Photoshop you can sample an area with the eyedropper, click on the swatch in Color Picker and have it give you the PMS equivalent from the "book" list. I would love the same feature in Illustrator. It makes more sense to have the spot color conver

  • ABAP With CRM

    Hi Guys, I am an ABAP consultant, I am getting lots an lots of requirement which need Abap + CRM , can anyone of you please send some documents regarding CRM, I mean what all is required to learn CRM in ABAP. Thanks, Rajeev !!!