How do i create a subset of data in numbers 3.5

Hi
I use Numbers 3.5.2 on my MacBook Pro. I am familiar with Excel but finding it difficult to transfer my Pivot Table knowledge into Numbers. I just about understand how SUMIF works now but have a further question related to summarising data from one table into another table and would very much appreciate some guidance as I can't find any tutorials covering this subject.
Example
Assume Table 1 has a column of data called Surname and another called Pay.
Table 1 has 100 rows and there are 20 unique entries for Surname.
I want to summarise the Table 1 data into Table 2 by Name by Pay.
But I don't want to manually input all the unique entries of Surname into Table 2.
I want to create a column called Surname in Table 2 that holds 1 row for each unique Surname in Table 1.
So Table 2 would have 20 rows.
I will then use SUMIF to total all Pay for each Surname now in Table 2 by referencing Pay from Table 1.
It would be great if rows in Table 2 were created automatically when entering a row in Table 1 (assuming it's the first row in Table 1 with that specific Surname) but that's not absolutely essential if it's complex.
I do have a further question relating to this but any help to get me to understand how to effectively extract the 20 entries of Surname from Table 1 into Table 2 would be tremendous. In anticipation, thank you for reading.
Regards
Martin

Hello
For instance, you may try something like the following tables.
Table 1 (excerpt)
A1  Surname
A2  A
A3  B
A4  A
A5  A
B1  Pay
B2  10
B3  20
B4  20
B5  10
C1  ordinal
C2  =COUNTIF(A$2:A2,A2)
C3  =COUNTIF(A$2:A3,A3)
C4  =COUNTIF(A$2:A4,A4)
C5  =COUNTIF(A$2:A5,A5)
Table 2 (excerpt)
A1  Surname
A2  =IFERROR(INDEX(Table 1::A,C2,1),"")
A3  =IFERROR(INDEX(Table 1::A,C3,1),"")
A4  =IFERROR(INDEX(Table 1::A,C4,1),"")
A5  =IFERROR(INDEX(Table 1::A,C5,1),"")
B1  Total Pay
B2  =IF(A<>"",SUMIF(Table 1::A,A2,Table 1::B),"")
B3  =IF(A<>"",SUMIF(Table 1::A,A3,Table 1::B),"")
B4  =IF(A<>"",SUMIF(Table 1::A,A4,Table 1::B),"")
B5  =IF(A<>"",SUMIF(Table 1::A,A5,Table 1::B),"")
C1  index
C2  =IFERROR(MATCH(1,Table 1::C,0),"")
C3  =IFERROR(MATCH(1,OFFSET(Table 1::C,C2,0,ROWS(Table 1::C)-C2,1),0)+C2,"")
C4  =IFERROR(MATCH(1,OFFSET(Table 1::C,C3,0,ROWS(Table 1::C)-C3,1),0)+C3,"")
C5  =IFERROR(MATCH(1,OFFSET(Table 1::C,C4,0,ROWS(Table 1::C)-C4,1),0)+C4,"")
Notes.
Table 1::C is to record ordinal number per distinct name in Table 1::A.
Table 2::C is to calculate row indices in Table 1::C where its value = 1, i.e., row indices of the 1st appearence of every distinct name in Table 1::A.
Formula in Table 1::C2 can be filled down.
Formula in Table 2::C3 can be filled down.
Formulae in Table 2::A2 and Table 2::B2 can be filled down.
Tables are built in Numbers v2.
Hope this may help,
H
EDIT: fixed notes.

Similar Messages

  • How to put continuos (desired format) of dates in numbers spreadsheet and how to do it? please reply asap i need it..

    how to put continuos (desired format) of dates in numbers spreadsheet and how to do it? please reply asap i need it..

    This is the definition for "continuo" from Apple's dictionary:
    continuo |kənˈtinyəˌwō | (also basso continuo) noun (pl. continuos) (in baroque music) an accompanying part that includes a bass line and harmonies, typically played on a keyboard instrument and with other instruments such as cello or bass viol.
    Presumably you mean something else. Your chances of getting replies that can help you will improve with a clearly stated question.
    SG

  • How do I create a subset of contacts for emailing purposes

    I have several contacts that I wish to mail to. Some have email addresses some do not; some emailable contacts I want to mail to and some I do not. I thought I would move the contacts off the cloud (as it would be faster to create and edit a subset). I then created a subset where an email address exists. However, when I delete a contact from the subset, it deletes it from the 'All contact' group. When the contacts were on the cloud, the system would prompt me, 'Do you wish to delete this card from the selected group or totally (or words to that effect)'. Now the system deletes the contact from the All contacts group (and this from the subset too). How can I get aropund this?

    Try Contacts/Edit/Remove from Group.

  • How can i create the master customer data

    Hi friends,
    I have one requirement here, I have to create one master database(MDM) start from very scratch on wards.
    My question was
    1. How can I do start with this.
    2. What are all the software requirement
    3. Are there any examples (video's are there).
    4.  One customer can have multiple email addresses. One customer can have multiple company. How shall I start with building the Master Customer list in this case?
    Please send u r valuable suggestions.

    1.
    I would recommend this book which have very comprehensive step by step example and covers all the features.
    http://www.amazon.com/Microsoft-Server-2012-Master-Services/dp/0071797858/ref=sr_1_1?ie=UTF8&qid=1416363310&sr=8-1&keywords=master+data+services+2012&pebp=1416363331373
    2.
    SQL Server 2012/2014 Enterprise Edition.
    3.
    http://technet.microsoft.com/en-us/sqlserver/jj737651.aspx
    4.
    Currently MDS only support 1 to many relationship. Does not support many to many.
    Assume one email only belongs to one customer, and One company only belongs to one customer.
    You could have 3 entities. Email, Customer, Company
    Customer has two domain based attribtues, Email and Company, which are referencing to Email and Company entity.

  • How do you create multiple events (different dates) from one large event?

    I recently downloaded a large number of photos from my iphone to iphoto. All of the photos are now under event 4/9/2011 (the date and times are correct, just all in one event). How do I change/break up photos and add/change event dates? I don't want to scroll up hundreds (half a year) of photos to see photos I took yesterday.

    Select the Event and go Events -> Autosplit
    Regards
    TD

  • How can I create an automatically updating date in my template?

    I've created a template using Pages 5 for Mac, but I want to include a date in the header which shows the date the document was created. I've noticed that this is possible with the default Apple-designed templates included with Pages. I know that I can insert a date by going to Insert › Date & Time, but this only shows the date the template was created, and not the current date (I also know that you can click on the date and select 'Go to Today', but I often forget and it's a hassle).
    Does anyone know if this is possible?

    Matthew,
    It does appear that the auto update of Date and Time is gone. If you click on the calendar icon associated with the date object, you can update all instances of Date in your document at once. If that's not good enough, you can Insert a table, one with no headers or footers, shrink it to one cell, set borders to none, and insert the formula:
    =TODAY().
    Format the cell to display the date and time as  you wish.
    Alignment can be a problem with inline tables, so you could add an entire sentence in that cell by writing:
    ="Date printed: "&=TODAY()
    Here's an example with the table Selected...
    and here is what it will look like after formatting..
    Now if you move this table to the Section Master, it will appear on each page.
    Jerry

  • How can I create PDFs dynamically using data from a DB?

    Hello,
    I am using ATG Dynamo to serve up pages for a B2C medical eCommerce site. I would like the ability to create PDF copies of a customer's invoice starting with a generic PDF template, then populating the document with the invoice-specific data and serving it to the customer.
    Anyone know where I should start?
    Thanks,
    Jeff

    Two options.
    1. Formated objects, which uses xml and xslt to create a pdf file. Apache has an open source FOP engine for Java. This is fairly complicated, but doable however the technology is relatively immature. Inexpensive, moderately steep learning curve given no prior experience.
    2. Third party application, my company uses Document Sciences, j2ee solution. Expensive, small learning curve.

  • How do I create a subset in my slideshow?

    How do I choose ten individual slides from my keynote presenter slideshow to create a new slideshow from my original sjideshow?

    Are you trying to use the ten slides as a new and seperate presentation? Or, are you trying to group ten slides and use them with the presentation at different times? Both can be done. I am not sure exactly what you are trying to acccomplish?

  • How can I create User Entered Additional Data Points in Credit Management?

    I currently have a requirement to create additional data points in Credit Management (11i) that require a data analyst to input the value so that the score can be calculated.
    For example: Does customer have a Qualified Audit Report?
    If YES = +10 points added to score
    If NO = 0 points added to score
    I was able to add an additional data point and the case folder was assigned to an analyst, however when opening the case folder to input the missing data, the additional datapoint was not included in the case folder. Does anyone know what I may have missed in the setup?
    Data Point was defined as follows and added to a checklist called TEST.
    Data point: Unqualified
    Category: (none)
    Parent: (none)
    Application: Receivables
    Scoreable: Y
    Enabled: Y
    PL/SQL Package: (none)
    Function: (none)
    Thanks in advance.
    Shauna
    Edited by: sphelps on Sep 22, 2011 8:29 AM

    The setup described above was correct. The datapoints did not show up in the case folder until the next day. I am assuming that maybe the changes required a bounce or a background process of some sort.

  • How can I create a chart using data (from formulas) in my header columns?

    Hello,
    I'm wanting to create a chart using formula totals in my header column. When I attempt to click on the chart icon after selecting my header column, the chart button doesn't appear. Any help would be greatly appreciated. Thanks!

    Move your formulas in a non header column.
    In the cell A2 of the table "aux", the formula is :
    =IF(ISBLANK(main :: A2),"",main :: A2)
    then I applied Fill Down.
    Yvan KOENIG (VALLAURIS, France) mardi 2 août 2011 15:07:54
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    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 !

  • Using Swing how can we create socket and send data thru TCP/IP on the socke

    Hi All,
    Can anyone tell the link or answer to me about the Socket programming using Swing and data get & post onto the socket.
    Thanx & Regard
    Ashu

    swing is nothing to do with socket programing, you need to code using core java and API of net
    so please go through this link [http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html]

  • How do I create a form using data collected from a previously completed form?

    I need my users to fill in an initial registration form with a range of details. Six months or so later I need to ask the users to confirm the details and also fill in new information. Is there a way I can have the second form be automatically populated with the initial form information so they only have to fill in the new information. I need all the information to be stored in the one database.  Thanks

    Sorry we do not support this workflow.
    Gen

  • How would i create a constraint for date joined which has to be less than date left?

    CONSTRAINT
    [CK_Member_DateJoined_todayorpast]
    CHECK
    (len(DateJoined)<=getdate()[DateLeft]>[DateJoined])
    I tried this but it will not work someone please help :))

    Hi,
    The Transact-SQL  Forums will be a better forums for you to ask this question. And I will help you to move your case to Transact-SQL  Forums.
    Thank you very much for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I create a chart where the lower numbers are at the top?

    I'm charting data that shows a ranking, where the rank can be a number anywhere from 1 to 1000. 1 is the highest. When I create a chart, 1 is at the bottom. How do I flip the chart so 1 is at the top and 1000 at the bottom?

    Philip,
    I think Bad Units suggestion is similar and better.  Rather than simply inverting the sign to that with an offset:
    I suggested
    0  - n
    Bad Unit suggested:
    100 - n
    (assuming there are 100 ranks)  if there are A ranks then I suggest (like Bad Unit):
    A - n
    This can be accomplished by moving the current data to another column, then performing the calculation in the column where the chart takes its' data.
    move the data over to an adjacent column
    Now enter the formula to adjust the rankings:
    B2=100-C2
    select B2 and fill down as needed.  To do this for a large data set select, and copy, B2.  Then select B2 and scroll to the end of the colunm using the scroll bar then shift-click the last cel in the column, then paste.

  • How do I compare two columns of data in Numbers to find the unique results?

    Hello all,
    I'm looking for a way to compare the data from two columns so I can find the unique results and display that data in a third column. To be specific, here's what I'm doing.
    Column A is a list of email addresses for people I have already written. Column B is a list of email addresses for people I would like to contact. I am not sure if there are email address from Column A in Column B, but there may be and if there are, I must find out so that I don't send a second email to these recipients. How can I have Numbers look at both columns and tell me which email addresses in Column B are not in Column A?
    Thanks for the help!!!

    gfmp123,
    Here's an alternate use of MATCH to find duplicates. I hope you find one of the two solutions, Wayne's or this one, useful for your case.
    The expression in Column C is:
    =IFERROR("Dup in Row "&MATCH(B, A,0), "")
    Regards,
    Jerry

Maybe you are looking for