Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I designate a number in one table and add them up in another.

Can someone please help me do this. I dont even know what to call it. Conditional categorization?


I have a table with costs, and another table to separate them into categtroies as shown:


User uploaded file

I want to be able to enter a category in the green column, and have those nunmber appear and total up in the COST TOTALS in the second table.


What formula do I put in the COST TOTALS cells?

Posted on Feb 7, 2014 12:44 PM

Reply
Question marked as Best reply

Posted on Feb 7, 2014 12:56 PM

Tracy,


It's a good start. Make the bottom row of each Table a Footer Row so we can put summary calculations there without it getting confused with the input data.


Also, name your tables so we can refer to them in equations. Select both tables and then in the Table Inspector, click on Table Name. I suggest calling the one on the left Entries and the one on the right Summary.


Then, in B2 of Summary, we'll enter the following equation:


=SUMIF(Entries::A, A, Entries::B)


Fill Down by dragging the fill handle in the middle of the bottom cell border. Stop just above the Footer Row where the total will be. In the Column B Footer cell, write: =SUM(B).


That shoud do it. There were lots of steps there, so ask about any you don't understand.


Jerry

15 replies
Question marked as Best reply

Feb 7, 2014 12:56 PM in response to Tracy E

Tracy,


It's a good start. Make the bottom row of each Table a Footer Row so we can put summary calculations there without it getting confused with the input data.


Also, name your tables so we can refer to them in equations. Select both tables and then in the Table Inspector, click on Table Name. I suggest calling the one on the left Entries and the one on the right Summary.


Then, in B2 of Summary, we'll enter the following equation:


=SUMIF(Entries::A, A, Entries::B)


Fill Down by dragging the fill handle in the middle of the bottom cell border. Stop just above the Footer Row where the total will be. In the Column B Footer cell, write: =SUM(B).


That shoud do it. There were lots of steps there, so ask about any you don't understand.


Jerry

Feb 7, 2014 12:56 PM in response to Tracy E

Tracy,


Name the table on the left "Data" and the table on the right "Summary".


In the table table summary add a header row and a footer row. In my example the header is row 1 and the footer is row 13:


User uploaded file


For the table on the right (title "Summary") make the header row contain the titles as show. Also enter the categories as show. in column A of the footer enter the text "Total"


B2=SUMIF(Data::A, A2,Data::B)


this is shorthand for select cell B2 and type (or copy and paste from here) the formula:

=SUMIF(Data::A, A2,Data::B)


now select B2, and fill down by hovering the cirsor over the bottom edge and drag the yellow circle down as needed.


In the footer row (in this example B13) enter the formula:

B13=SUM(B)


Please let us know if you have other questions

Feb 7, 2014 1:50 PM in response to Tracy E

select the cells in the column (in your example) B1 thru the end of column B, then open the cell formatter and change the format to a pop-up menu. This will create a pop-up menu with the items you selected.


User uploaded file

Now select one of the cells in the table you just formatted with the pop-up menu, copy

paste this into column A of the summary table and set the selection to each of the categories

Feb 7, 2014 1:55 PM in response to Tracy E

Is it possible to generate a pop-up menu in the green collumn from the text entered into the Category column of the Summary table?


In Numbers 3 that's quite easy (though not fully automatic; a few clicks and keystrokes are required). But I think it's harder in Numbers 2. It is not possible in either version to have the the Pop-Up automatically get its values from a range of cells.


SG

How do I designate a number in one table and add them up in another.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.