formula question in Numbers

I'm in charge of assigning lunch tables for my students at a school. I use a google program to randomize the table listing, but I do need some help.


I have all my students names in column A. Then I have each week of school in each subsequent column and the table number the student was at during that week. But now that the school year is almost over, there are a lot of columns (one for each week of the school year). I don't want any student to sit at the same table during the year. Is there a formula that can search each row and if a duplicate number pops up, it highlights the cell(s) with the duplicate numbers.


For example: a student name is in row 2. Then columns B through AC represent each week of the school year. Is there a formula that can search Row 2 for any duplicate numbers so that the student doesn't sit at the same table twice during the year.


Thank you,


Mark

iMac, OS X Mountain Lion

Posted on Feb 28, 2017 7:02 PM

Reply
17 replies

Mar 3, 2017 7:52 AM in response to Wayne Contello

More than a gut feeling, Wayne.


Here's a test of filling the tables using a random sort of the repeated list of 30 tables over a range of 120 students.

After filling in 13 columns, I ran SG's Flag Duplicates service on the first 10 students, with the results shown below:

User uploaded file

Definitely requires a more systematic seating assignment algorithm to avoid the duplicates rather than a random assignment that requires removing the duplicates after the fact.


Regards,

Barry

Mar 3, 2017 6:19 AM in response to marknovom

Mark,


Since you posted this in a Numbers for mac OS X forum and since Apple doesn't have a Google docs forum I am posting a solution for Numbers.


You should create a new document, then title the sheet "Dining List"... like this:

User uploaded file


Create a table, then size so it has 3 columns as shown. Then make the first row of the table a header row and name the table "Students". Keep the names of sheets and tables the same as this example so the formulas I post will work correctly.


make sure the table has 211 rows and add multiples of 7 rows when you add rows (since a table seats 7 students plus on teacher)


select cell A2, then type (or copy and paste from here) the formula:

=ROW()−1


shorthand for this is

A2=ROW()−1


To fill down:

select cell A2, copy

select cells A2 thru the end of column A, paste


Fill in the names in column C (I just made up names)


Now duplicate the table "Students" and rename the table "Faculty". Update the names as needed.


Now create a second sheet title "Seating":

User uploaded file

the first row should be a header row


select cell D1 and type "1", then select cell E1 and type "2", now select cells D1 and E1, then hover the cursor over the left edge until you see the yellow fill control appear. click and hold on the yellow fill control and drag to the right to auto fill the sequence. expand the table as needed to create the number of weeks needed.




User uploaded file


A2=INT((ROW()−2)÷8)+1

B2=MOD((ROW()−2), 8)+1

C2=IF(B2≠1, MAX($C$1:C1)+1, "")


select cells A2 thru C2, copy

select cells A2 thru the end of column C, paste


D2=IF($C2≠"", VLOOKUP(1+MOD(($C2−1)−7×(D$1−1), MAX(Students::$A)), Students::$A:$C, 3),VLOOKUP($A2,Faculty::$A:$C,3))


select cell D2, copy

select cells D2 thru the end of column AG (In my table this is cell AG241), paste


now you have a predictable pattern with names already filled in. You can select the column for the week, then past values (using the menu item "Edit > Paste Formula Results" into a new table on a weekly basis to make adjustments or substitutions

Mar 3, 2017 6:53 PM in response to marknovom

Hi Mark,


This might do the trick:


The key appears to be to install an extra (virtual) table.


Table 1, named Seeds, calculates a series of index numbers, that will be read by a formula on the second table to assign tables to each student (row) for each week (column). No names, or even a column for names at this point, as there will be several extra 'virtual students' destined to sit at thee same table through the full term. (Perhaps these are the faculty members.).


Here's what the top part of this table looks like:

User uploaded file

The table contains one formula, entered in A2, then filled right to AE2 and down to row 246:


A2: (ROW()−1+QUOTIENT(ROW()−1,31))×COLUMN()+QUOTIENT(ROW()−1,31)


The pair of parentheses shown in bold will appear as 'ordinary' characters in the formula editor; the rest will be formatted according to Numbers's style.


The second table, 'Dist 1' (short for Distribution 1) reads each number and converts it to a table assignment using the numbers from 0 to 30. I've hidden a few rows to show an anomaly that occurs at regular intervals on this table, and will be handled on the next.

User uploaded file

One formula on this table, entered in A2 and filled to AE246, after which error triangles start appearing.


A2: MOD(INDEX(Seed::$A:$AE,ROW(),COLUMN()),31)


INDEX copies the value from the same cell in Seed, MOD divides that number by 31, and returns the remainder.


The Quotient function in the formula on Seed server as a stepper to prevent this table from simply repeating the same set of seating assignments for each set of 30 (or 31) students. This results in a row of identical values on periodic rows.


Table 3 ('HC1') provides a means of fixing and editing the values generated on 'Dist 1' without destroying the formulas on 'Dist 1'.


User uploaded file

The formula is a simple cell reference to the same cell on Dist 1:


A2: =Dist 1::A2

Fill right to AE2 and down to row 242 (the second row of 7s on Dist 10.


When the formulas finish calculating, and with all cells (except the header row) selected:

Copy.

Go Edit > Paste Formula Results.


This replaces the formula in each cell with the last result calculated there, fixing those values.


Delete each of the rows containing a string of identical values.



Table 4, 'Trimmed & filled'


Duplicate HC1, and place this formula below into A2.


A2: =IF(HC1::A2=0,HC1::$AE2,HC1::A2)


Fill right to AD2, and down to the last row of the table.


The purpose of this formula is to copy the values from HC1, plugging the holes (zeroes) by replacing them with the value in column AE of that row.

User uploaded file

When done, delete column AE (on this table), then do the Copy > Paste Formula Results to create a fixed seating assignment chart that you can then add student names to by adding a new column to the left of column A.



For convenience, I'll copy the contents of the final table in a new post below. You can copy it from there, and investigate to see if it fits the bill.


Regards,

Barry

Mar 2, 2017 10:39 PM in response to SGIII

Hi SG,


Downloaded the Automator service and tried it on a table with 120 students, two columns filled with random table assignments, and deliberate duplicates entered in three rows of column 3.


  1. The service worked well when the selection is limited to a single row—which would require 210 repetitions of selecting the next row, then running the service.
  2. If the whole table is selected, the service flags the second and later occurrence of every table number with no regard to whether it applies to the same student as the first (ie whether it is in the same row). Is that easily changeable?
  3. If the table number is corrected so that there is no previous occurrence of that value, the colour fill flagging that cell is not removed-even if the service is run again. Clearing the flags currently requires selecting all cells containing table assignments, opening the Cell format inspector, and setting all cells to 'no fill'.
  4. Running the service on a 121 row by 14 column table with data in the first three columns, four cells of the fourth column and the header row only of the remaining 10 columns took 1m 44s (1:23 on a second run where I wasn't scrolling down to keep the action in view, but just let Numbers do it).


Point 2 is probably the one to address in making this a more useful service. Run once for each week (or less often), the speed issue is likely one that can be lived with, as is the need to manually clear the flags.


Regards,

Barry

Feb 28, 2017 7:41 PM in response to marknovom

Mark,



I am confused as to how a student can sit at a unique table. I imagine lunch tables are long table where more than one student eats. If you mean seat then I think I understand. How many seats are there? and how many students?


Can you post an example of your table?


You should know that this forum is for Numbers for macOS X so the solution we present may not apply 100% to Google docs

Feb 28, 2017 7:43 PM in response to marknovom

marknovom wrote:


Is there a formula that can search Row 2 for any duplicate numbers so that the student doesn't sit at the same table twice during the year.



Since formulas and extra rows and columns can get a little cumbersome, what I do in similar situations where I want to highlight duplicates is use this Flag Duplicates Automator Service (Dropbox download link). This contains a short AppleScript but you don't have to know anything about AppleScript to use it. Simply select the cells in the row yu want, choose Flag Duplicates from the Numbers > Services menu, and the duplicates are highlighted.


To install just double-click the downloaded .workflow package, give permission if necessary at System Preferences > Security & Privacy, and make sure Automator.app is checked at System Preferences > Security & Privacy > Privacy > Accessibility. It should take less than a minute to install, and thereafter is just menu pick away.


SG

Mar 2, 2017 4:59 PM in response to t quinn

OK...there seems to be some confusion...I'll try to explain better:


We have formal lunches at my school with round tables. Each table has a faculty member and the students are assigned a table every week and then are randomly assigned another table the second time. I use an online program that randomly assigns our 210 students to different tables (each table is has a specific number 1-30). Then I put that in a spreadsheet.


Column A: Student names

Column B: Week 1 (I put the table number the student is assigned here)

Column C: Week 2 (I put the table number the student is assigned here)

Column D: Week 3 (I put the table number the student is assigned here)

and so forth.


At the beginning of the year, it's easy to see if a student is assigned the same table because there are not many columns yet, but now that we are in March, there are around 25 columns, so I need to look at each row to make sure that each student isn't sitting at a table that he/she has already sat at.


So, I'm looking for a formula that I will have in every row to tell me if the new table number I input for the new week was already used in that row (as I don't want a student to sit at the same table twice in the school year).


I hope this helps.


Please let me know if that helps.


Mark

Mar 2, 2017 6:11 PM in response to marknovom

So there are roughly 8 people per table where 1 faculty member is "fixed" with a table.


That means there are 7 open spots per table.


7*30 is 210 seat selections.



So are there 30 weeks in the term in question?


I would avoid the "random" assignment and use a pattern-- too late for this term since you are 25 weeks. A pattern will make certain that you achieve your goal.


What is the goal stated in words. Is it to have each student sit at a table with a different faculty member on a weekly basis? Is it each student sit with a different faculty member AND different students?


Know the specific goal will help understand the actual problem. My gut tells me this will never be solved by a random assignment. If you have a pattern you play back each term this the particular students names are not the issue. Eventually a student ID must be matched to a name for creating seating charts.

Mar 2, 2017 7:54 PM in response to marknovom

marknovom wrote:


I'm looking for a formula that I will have in every row to tell me if the new table number I input for the new week was already used in that row


Hi Mark,


That's what the Automator Service does. It will tell you if the number suggested by your Google solution has already been used in that row. Have you tried it?


SG

Mar 3, 2017 8:39 AM in response to marknovom

marknovom wrote:


Is there a way to use Automator in Google Docs? Unfortunately our school doesn't use Apple products. I have apple products at home.


Hi Mark,


I'm the one who posted the Automator solution to flag duplicates, so perhaps you were addressing that question to me(?). Sorry the Automator solution wasn't helpful to you. Since you posted here I think we all might have assumed you were interested in an Apple-based solution. You might find the Automator Service useful in your other work in Numbers, though, as trying to identify duplicates is a common problem and it makes that easy.


As for using Automator with Google Docs, the answer is in general is "no" (though if you're using a Mac useful things can be done via the clipboard that will work well with Google Docs). In my Automator Service is a simple AppleScript that reads the data and marks duplicates. Google Docs has its own scripting language based on JavaScript called Google Apps Script. (Apple also supports scripting based on JavaScript that I could have used instead of AppleScript in Automator).


In any case, if the school is using Google Docs (and presumably, for this problem, Google Sheets in particular) then you should find active support in their forums.


Your question reminds of my own school days. We had exactly the system you describe! Few of us gave much thought to the administrative thought and complexity behind it. We just knew we each had to endure those "bad" table assignments with faculty members we might have preferred to avoid. None of us could escape those assignments, though, which of course was the whole idea.🙂


SG

Mar 3, 2017 6:56 PM in response to Barry

Pasted content of the last table:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

0

2

4

6

8

10

12

14

16

18

20

22

24

26

28

30

1

3

5

7

9

11

13

15

17

19

21

23

25

27

29

0

3

6

9

12

15

18

21

24

27

30

2

5

8

11

14

17

20

23

26

29

1

4

7

10

13

16

19

22

25

28

0

4

8

12

16

20

24

28

1

5

9

13

17

21

25

29

2

6

10

14

18

22

26

30

3

7

11

15

19

23

27

0

5

10

15

20

25

30

4

9

14

19

24

29

3

8

13

18

23

28

2

7

12

17

22

27

1

6

11

16

21

26

0

6

12

18

24

30

5

11

17

23

29

4

10

16

22

28

3

9

15

21

27

2

8

14

20

26

1

7

13

19

25

0

7

14

21

28

4

11

18

25

1

8

15

22

29

5

12

19

26

2

9

16

23

30

6

13

20

27

3

10

17

24

0

8

16

24

1

9

17

25

2

10

18

26

3

11

19

27

4

12

20

28

5

13

21

29

6

14

22

30

7

15

23

0

9

18

27

5

14

23

1

10

19

28

6

15

24

2

11

20

29

7

16

25

3

12

21

30

8

17

26

4

13

22

0

10

20

30

9

19

29

8

18

28

7

17

27

6

16

26

5

15

25

4

14

24

3

13

23

2

12

22

1

11

21

0

11

22

2

13

24

4

15

26

6

17

28

8

19

30

10

21

1

12

23

3

14

25

5

16

27

7

18

29

9

20

0

12

24

5

17

29

10

22

3

15

27

8

20

1

13

25

6

18

30

11

23

4

16

28

9

21

2

14

26

7

19

0

13

26

8

21

3

16

29

11

24

6

19

1

14

27

9

22

4

17

30

12

25

7

20

2

15

28

10

23

5

18

0

14

28

11

25

8

22

5

19

2

16

30

13

27

10

24

7

21

4

18

1

15

29

12

26

9

23

6

20

3

17

0

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

22

6

21

5

20

4

19

3

18

2

17

1

16

0

16

1

17

2

18

3

19

4

20

5

21

6

22

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

0

17

3

20

6

23

9

26

12

29

15

1

18

4

21

7

24

10

27

13

30

16

2

19

5

22

8

25

11

28

14

0

18

5

23

10

28

15

2

20

7

25

12

30

17

4

22

9

27

14

1

19

6

24

11

29

16

3

21

8

26

13

0

19

7

26

14

2

21

9

28

16

4

23

11

30

18

6

25

13

1

20

8

27

15

3

22

10

29

17

5

24

12

0

20

9

29

18

7

27

16

5

25

14

3

23

12

1

21

10

30

19

8

28

17

6

26

15

4

24

13

2

22

11

0

21

11

1

22

12

2

23

13

3

24

14

4

25

15

5

26

16

6

27

17

7

28

18

8

29

19

9

30

20

10

0

22

13

4

26

17

8

30

21

12

3

25

16

7

29

20

11

2

24

15

6

28

19

10

1

23

14

5

27

18

9

0

23

15

7

30

22

14

6

29

21

13

5

28

20

12

4

27

19

11

3

26

18

10

2

25

17

9

1

24

16

8

0

24

17

10

3

27

20

13

6

30

23

16

9

2

26

19

12

5

29

22

15

8

1

25

18

11

4

28

21

14

7

0

25

19

13

7

1

26

20

14

8

2

27

21

15

9

3

28

22

16

10

4

29

23

17

11

5

30

24

18

12

6

0

26

21

16

11

6

1

27

22

17

12

7

2

28

23

18

13

8

3

29

24

19

14

9

4

30

25

20

15

10

5

0

27

23

19

15

11

7

3

30

26

22

18

14

10

6

2

29

25

21

17

13

9

5

1

28

24

20

16

12

8

4

0

28

25

22

19

16

13

10

7

4

1

29

26

23

20

17

14

11

8

5

2

30

27

24

21

18

15

12

9

6

3

0

29

27

25

23

21

19

17

15

13

11

9

7

5

3

1

30

28

26

24

22

20

18

16

14

12

10

8

6

4

2

0

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

1

1

3

5

7

9

11

13

15

17

19

21

23

25

27

29

1

2

4

6

8

10

12

14

16

18

20

22

24

26

28

30

1

4

7

10

13

16

19

22

25

28

1

3

6

9

12

15

18

21

24

27

30

2

5

8

11

14

17

20

23

26

29

1

5

9

13

17

21

25

29

2

6

10

14

18

22

26

30

3

7

11

15

19

23

27

1

4

8

12

16

20

24

28

1

6

11

16

21

26

1

5

10

15

20

25

30

4

9

14

19

24

29

3

8

13

18

23

28

2

7

12

17

22

27

1

7

13

19

25

1

6

12

18

24

30

5

11

17

23

29

4

10

16

22

28

3

9

15

21

27

2

8

14

20

26

1

8

15

22

29

5

12

19

26

2

9

16

23

30

6

13

20

27

3

10

17

24

1

7

14

21

28

4

11

18

25

1

9

17

25

2

10

18

26

3

11

19

27

4

12

20

28

5

13

21

29

6

14

22

30

7

15

23

1

8

16

24

1

10

19

28

6

15

24

2

11

20

29

7

16

25

3

12

21

30

8

17

26

4

13

22

1

9

18

27

5

14

23

1

11

21

1

10

20

30

9

19

29

8

18

28

7

17

27

6

16

26

5

15

25

4

14

24

3

13

23

2

12

22

1

12

23

3

14

25

5

16

27

7

18

29

9

20

1

11

22

2

13

24

4

15

26

6

17

28

8

19

30

10

21

1

13

25

6

18

30

11

23

4

16

28

9

21

2

14

26

7

19

1

12

24

5

17

29

10

22

3

15

27

8

20

1

14

27

9

22

4

17

30

12

25

7

20

2

15

28

10

23

5

18

1

13

26

8

21

3

16

29

11

24

6

19

1

15

29

12

26

9

23

6

20

3

17

1

14

28

11

25

8

22

5

19

2

16

30

13

27

10

24

7

21

4

18

1

16

1

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

22

6

21

5

20

4

19

3

18

2

17

1

17

2

18

3

19

4

20

5

21

6

22

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

1

16

1

18

4

21

7

24

10

27

13

30

16

2

19

5

22

8

25

11

28

14

1

17

3

20

6

23

9

26

12

29

15

1

19

6

24

11

29

16

3

21

8

26

13

1

18

5

23

10

28

15

2

20

7

25

12

30

17

4

22

9

27

14

1

20

8

27

15

3

22

10

29

17

5

24

12

1

19

7

26

14

2

21

9

28

16

4

23

11

30

18

6

25

13

1

21

10

30

19

8

28

17

6

26

15

4

24

13

2

22

11

1

20

9

29

18

7

27

16

5

25

14

3

23

12

1

22

12

2

23

13

3

24

14

4

25

15

5

26

16

6

27

17

7

28

18

8

29

19

9

30

20

10

1

21

11

1

23

14

5

27

18

9

1

22

13

4

26

17

8

30

21

12

3

25

16

7

29

20

11

2

24

15

6

28

19

10

1

24

16

8

1

23

15

7

30

22

14

6

29

21

13

5

28

20

12

4

27

19

11

3

26

18

10

2

25

17

9

1

25

18

11

4

28

21

14

7

1

24

17

10

3

27

20

13

6

30

23

16

9

2

26

19

12

5

29

22

15

8

1

26

20

14

8

2

27

21

15

9

3

28

22

16

10

4

29

23

17

11

5

30

24

18

12

6

1

25

19

13

7

1

27

22

17

12

7

2

28

23

18

13

8

3

29

24

19

14

9

4

30

25

20

15

10

5

1

26

21

16

11

6

1

28

24

20

16

12

8

4

1

27

23

19

15

11

7

3

30

26

22

18

14

10

6

2

29

25

21

17

13

9

5

1

29

26

23

20

17

14

11

8

5

2

30

27

24

21

18

15

12

9

6

3

1

28

25

22

19

16

13

10

7

4

1

30

28

26

24

22

20

18

16

14

12

10

8

6

4

2

1

29

27

25

23

21

19

17

15

13

11

9

7

5

3

1

1

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

4

6

8

10

12

14

16

18

20

22

24

26

28

30

1

3

5

7

9

11

13

15

17

19

21

23

25

27

29

2

2

5

8

11

14

17

20

23

26

29

1

4

7

10

13

16

19

22

25

28

2

3

6

9

12

15

18

21

24

27

30

2

6

10

14

18

22

26

30

3

7

11

15

19

23

27

2

4

8

12

16

20

24

28

1

5

9

13

17

21

25

29

2

7

12

17

22

27

1

6

11

16

21

26

2

5

10

15

20

25

30

4

9

14

19

24

29

3

8

13

18

23

28

2

8

14

20

26

1

7

13

19

25

2

6

12

18

24

30

5

11

17

23

29

4

10

16

22

28

3

9

15

21

27

2

9

16

23

30

6

13

20

27

3

10

17

24

2

7

14

21

28

4

11

18

25

1

8

15

22

29

5

12

19

26

2

10

18

26

3

11

19

27

4

12

20

28

5

13

21

29

6

14

22

30

7

15

23

2

8

16

24

1

9

17

25

2

11

20

29

7

16

25

3

12

21

30

8

17

26

4

13

22

2

9

18

27

5

14

23

1

10

19

28

6

15

24

2

12

22

1

11

21

2

10

20

30

9

19

29

8

18

28

7

17

27

6

16

26

5

15

25

4

14

24

3

13

23

2

13

24

4

15

26

6

17

28

8

19

30

10

21

1

12

23

3

14

25

5

16

27

7

18

29

9

20

2

11

22

2

14

26

7

19

2

12

24

5

17

29

10

22

3

15

27

8

20

1

13

25

6

18

30

11

23

4

16

28

9

21

2

15

28

10

23

5

18

2

13

26

8

21

3

16

29

11

24

6

19

1

14

27

9

22

4

17

30

12

25

7

20

2

16

30

13

27

10

24

7

21

4

18

1

15

29

12

26

9

23

6

20

3

17

2

14

28

11

25

8

22

5

19

2

17

1

16

2

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

22

6

21

5

20

4

19

3

18

2

18

3

19

4

20

5

21

6

22

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

2

16

1

17

2

19

5

22

8

25

11

28

14

2

17

3

20

6

23

9

26

12

29

15

1

18

4

21

7

24

10

27

13

30

16

2

20

7

25

12

30

17

4

22

9

27

14

1

19

6

24

11

29

16

3

21

8

26

13

2

18

5

23

10

28

15

2

21

9

28

16

4

23

11

30

18

6

25

13

1

20

8

27

15

3

22

10

29

17

5

24

12

2

19

7

26

14

2

22

11

2

20

9

29

18

7

27

16

5

25

14

3

23

12

1

21

10

30

19

8

28

17

6

26

15

4

24

13

2

23

13

3

24

14

4

25

15

5

26

16

6

27

17

7

28

18

8

29

19

9

30

20

10

2

21

11

1

22

12

2

24

15

6

28

19

10

1

23

14

5

27

18

9

2

22

13

4

26

17

8

30

21

12

3

25

16

7

29

20

11

2

25

17

9

1

24

16

8

2

23

15

7

30

22

14

6

29

21

13

5

28

20

12

4

27

19

11

3

26

18

10

2

26

19

12

5

29

22

15

8

1

25

18

11

4

28

21

14

7

2

24

17

10

3

27

20

13

6

30

23

16

9

2

27

21

15

9

3

28

22

16

10

4

29

23

17

11

5

30

24

18

12

6

2

25

19

13

7

1

26

20

14

8

2

28

23

18

13

8

3

29

24

19

14

9

4

30

25

20

15

10

5

2

26

21

16

11

6

1

27

22

17

12

7

2

29

25

21

17

13

9

5

1

28

24

20

16

12

8

4

2

27

23

19

15

11

7

3

30

26

22

18

14

10

6

2

30

27

24

21

18

15

12

9

6

3

2

28

25

22

19

16

13

10

7

4

1

29

26

23

20

17

14

11

8

5

2

2

29

27

25

23

21

19

17

15

13

11

9

7

5

3

1

30

28

26

24

22

20

18

16

14

12

10

8

6

4

2

1

2

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

2

1

2

6

9

12

15

18

21

24

27

30

2

5

8

11

14

17

20

23

26

29

1

4

7

10

13

16

19

22

25

28

3

3

7

11

15

19

23

27

3

4

8

12

16

20

24

28

1

5

9

13

17

21

25

29

2

6

10

14

18

22

26

30

3

8

13

18

23

28

2

7

12

17

22

27

1

6

11

16

21

26

3

5

10

15

20

25

30

4

9

14

19

24

29

3

9

15

21

27

2

8

14

20

26

1

7

13

19

25

3

6

12

18

24

30

5

11

17

23

29

4

10

16

22

28

3

10

17

24

3

7

14

21

28

4

11

18

25

1

8

15

22

29

5

12

19

26

2

9

16

23

30

6

13

20

27

3

11

19

27

4

12

20

28

5

13

21

29

6

14

22

30

7

15

23

3

8

16

24

1

9

17

25

2

10

18

26

3

12

21

30

8

17

26

4

13

22

3

9

18

27

5

14

23

1

10

19

28

6

15

24

2

11

20

29

7

16

25

3

13

23

2

12

22

1

11

21

3

10

20

30

9

19

29

8

18

28

7

17

27

6

16

26

5

15

25

4

14

24

3

14

25

5

16

27

7

18

29

9

20

3

11

22

2

13

24

4

15

26

6

17

28

8

19

30

10

21

1

12

23

3

15

27

8

20

1

13

25

6

18

30

11

23

4

16

28

9

21

2

14

26

7

19

3

12

24

5

17

29

10

22

3

16

29

11

24

6

19

1

14

27

9

22

4

17

30

12

25

7

20

2

15

28

10

23

5

18

3

13

26

8

21

3

17

3

14

28

11

25

8

22

5

19

2

16

30

13

27

10

24

7

21

4

18

1

15

29

12

26

9

23

6

20

3

18

2

17

1

16

3

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

22

6

21

5

20

4

19

3

19

4

20

5

21

6

22

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

3

16

1

17

2

18

3

20

6

23

9

26

12

29

15

1

18

4

21

7

24

10

27

13

30

16

2

19

5

22

8

25

11

28

14

3

17

3

21

8

26

13

3

18

5

23

10

28

15

2

20

7

25

12

30

17

4

22

9

27

14

1

19

6

24

11

29

16

3

22

10

29

17

5

24

12

3

19

7

26

14

2

21

9

28

16

4

23

11

30

18

6

25

13

1

20

8

27

15

3

23

12

1

21

10

30

19

8

28

17

6

26

15

4

24

13

2

22

11

3

20

9

29

18

7

27

16

5

25

14

3

24

14

4

25

15

5

26

16

6

27

17

7

28

18

8

29

19

9

30

20

10

3

21

11

1

22

12

2

23

13

3

25

16

7

29

20

11

2

24

15

6

28

19

10

1

23

14

5

27

18

9

3

22

13

4

26

17

8

30

21

12

3

26

18

10

2

25

17

9

1

24

16

8

3

23

15

7

30

22

14

6

29

21

13

5

28

20

12

4

27

19

11

3

27

20

13

6

30

23

16

9

2

26

19

12

5

29

22

15

8

1

25

18

11

4

28

21

14

7

3

24

17

10

3

28

22

16

10

4

29

23

17

11

5

30

24

18

12

6

3

25

19

13

7

1

26

20

14

8

2

27

21

15

9

3

29

24

19

14

9

4

30

25

20

15

10

5

3

26

21

16

11

6

1

27

22

17

12

7

2

28

23

18

13

8

3

30

26

22

18

14

10

6

2

29

25

21

17

13

9

5

1

28

24

20

16

12

8

4

3

27

23

19

15

11

7

3

3

28

25

22

19

16

13

10

7

4

1

29

26

23

20

17

14

11

8

5

2

30

27

24

21

18

15

12

9

6

3

1

30

28

26

24

22

20

18

16

14

12

10

8

6

4

2

3

29

27

25

23

21

19

17

15

13

11

9

7

5

3

2

1

3

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

3

1

2

3

5

7

9

11

13

15

17

19

21

23

25

27

29

3

2

4

6

8

10

12

14

16

18

20

22

24

26

28

30

1

3

8

12

16

20

24

28

1

5

9

13

17

21

25

29

2

6

10

14

18

22

26

30

3

7

11

15

19

23

27

4

4

9

14

19

24

29

3

8

13

18

23

28

2

7

12

17

22

27

1

6

11

16

21

26

4

5

10

15

20

25

30

4

10

16

22

28

3

9

15

21

27

2

8

14

20

26

1

7

13

19

25

4

6

12

18

24

30

5

11

17

23

29

4

11

18

25

1

8

15

22

29

5

12

19

26

2

9

16

23

30

6

13

20

27

3

10

17

24

4

7

14

21

28

4

12

20

28

5

13

21

29

6

14

22

30

7

15

23

4

8

16

24

1

9

17

25

2

10

18

26

3

11

19

27

4

13

22

4

9

18

27

5

14

23

1

10

19

28

6

15

24

2

11

20

29

7

16

25

3

12

21

30

8

17

26

4

14

24

3

13

23

2

12

22

1

11

21

4

10

20

30

9

19

29

8

18

28

7

17

27

6

16

26

5

15

25

4

15

26

6

17

28

8

19

30

10

21

1

12

23

3

14

25

5

16

27

7

18

29

9

20

4

11

22

2

13

24

4

16

28

9

21

2

14

26

7

19

4

12

24

5

17

29

10

22

3

15

27

8

20

1

13

25

6

18

30

11

23

4

17

30

12

25

7

20

2

15

28

10

23

5

18

4

13

26

8

21

3

16

29

11

24

6

19

1

14

27

9

22

4

18

1

15

29

12

26

9

23

6

20

3

17

4

14

28

11

25

8

22

5

19

2

16

30

13

27

10

24

7

21

4

19

3

18

2

17

1

16

4

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

22

6

21

5

20

4

20

5

21

6

22

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

4

16

1

17

2

18

3

19

4

21

7

24

10

27

13

30

16

2

19

5

22

8

25

11

28

14

4

17

3

20

6

23

9

26

12

29

15

1

18

4

22

9

27

14

1

19

6

24

11

29

16

3

21

8

26

13

4

18

5

23

10

28

15

2

20

7

25

12

30

17

4

23

11

30

18

6

25

13

1

20

8

27

15

3

22

10

29

17

5

24

12

4

19

7

26

14

2

21

9

28

16

4

24

13

2

22

11

4

20

9

29

18

7

27

16

5

25

14

3

23

12

1

21

10

30

19

8

28

17

6

26

15

4

25

15

5

26

16

6

27

17

7

28

18

8

29

19

9

30

20

10

4

21

11

1

22

12

2

23

13

3

24

14

4

26

17

8

30

21

12

3

25

16

7

29

20

11

2

24

15

6

28

19

10

1

23

14

5

27

18

9

4

22

13

4

27

19

11

3

26

18

10

2

25

17

9

1

24

16

8

4

23

15

7

30

22

14

6

29

21

13

5

28

20

12

4

28

21

14

7

4

24

17

10

3

27

20

13

6

30

23

16

9

2

26

19

12

5

29

22

15

8

1

25

18

11

4

29

23

17

11

5

30

24

18

12

6

4

25

19

13

7

1

26

20

14

8

2

27

21

15

9

3

28

22

16

10

4

30

25

20

15

10

5

4

26

21

16

11

6

1

27

22

17

12

7

2

28

23

18

13

8

3

29

24

19

14

9

4

4

27

23

19

15

11

7

3

30

26

22

18

14

10

6

2

29

25

21

17

13

9

5

1

28

24

20

16

12

8

4

1

29

26

23

20

17

14

11

8

5

2

30

27

24

21

18

15

12

9

6

3

4

28

25

22

19

16

13

10

7

4

2

4

29

27

25

23

21

19

17

15

13

11

9

7

5

3

1

30

28

26

24

22

20

18

16

14

12

10

8

6

4

3

2

1

4

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

4

1

2

3

4

6

8

10

12

14

16

18

20

22

24

26

28

30

1

3

5

7

9

11

13

15

17

19

21

23

25

27

29

4

2

4

7

10

13

16

19

22

25

28

4

3

6

9

12

15

18

21

24

27

30

2

5

8

11

14

17

20

23

26

29

1

4

10

15

20

25

30

4

9

14

19

24

29

3

8

13

18

23

28

2

7

12

17

22

27

1

6

11

16

21

26

5

5

11

17

23

29

4

10

16

22

28

3

9

15

21

27

2

8

14

20

26

1

7

13

19

25

5

6

12

18

24

30

5

12

19

26

2

9

16

23

30

6

13

20

27

3

10

17

24

5

7

14

21

28

4

11

18

25

1

8

15

22

29

5

13

21

29

6

14

22

30

7

15

23

5

8

16

24

1

9

17

25

2

10

18

26

3

11

19

27

4

12

20

28

5

14

23

1

10

19

28

6

15

24

2

11

20

29

7

16

25

3

12

21

30

8

17

26

4

13

22

5

9

18

27

5

15

25

4

14

24

3

13

23

2

12

22

1

11

21

5

10

20

30

9

19

29

8

18

28

7

17

27

6

16

26

5

16

27

7

18

29

9

20

5

11

22

2

13

24

4

15

26

6

17

28

8

19

30

10

21

1

12

23

3

14

25

5

17

29

10

22

3

15

27

8

20

1

13

25

6

18

30

11

23

4

16

28

9

21

2

14

26

7

19

5

12

24

5

18

5

13

26

8

21

3

16

29

11

24

6

19

1

14

27

9

22

4

17

30

12

25

7

20

2

15

28

10

23

5

19

2

16

30

13

27

10

24

7

21

4

18

1

15

29

12

26

9

23

6

20

3

17

5

14

28

11

25

8

22

5

20

4

19

3

18

2

17

1

16

5

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

22

6

21

5

21

6

22

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

5

16

1

17

2

18

3

19

4

20

5

22

8

25

11

28

14

5

17

3

20

6

23

9

26

12

29

15

1

18

4

21

7

24

10

27

13

30

16

2

19

5

23

10

28

15

2

20

7

25

12

30

17

4

22

9

27

14

1

19

6

24

11

29

16

3

21

8

26

13

5

18

5

24

12

5

19

7

26

14

2

21

9

28

16

4

23

11

30

18

6

25

13

1

20

8

27

15

3

22

10

29

17

5

25

14

3

23

12

1

21

10

30

19

8

28

17

6

26

15

4

24

13

2

22

11

5

20

9

29

18

7

27

16

5

26

16

6

27

17

7

28

18

8

29

19

9

30

20

10

5

21

11

1

22

12

2

23

13

3

24

14

4

25

15

5

27

18

9

5

22

13

4

26

17

8

30

21

12

3

25

16

7

29

20

11

2

24

15

6

28

19

10

1

23

14

5

28

20

12

4

27

19

11

3

26

18

10

2

25

17

9

1

24

16

8

5

23

15

7

30

22

14

6

29

21

13

5

29

22

15

8

1

25

18

11

4

28

21

14

7

5

24

17

10

3

27

20

13

6

30

23

16

9

2

26

19

12

5

30

24

18

12

6

5

25

19

13

7

1

26

20

14

8

2

27

21

15

9

3

28

22

16

10

4

29

23

17

11

5

5

26

21

16

11

6

1

27

22

17

12

7

2

28

23

18

13

8

3

29

24

19

14

9

4

30

25

20

15

10

5

1

28

24

20

16

12

8

4

5

27

23

19

15

11

7

3

30

26

22

18

14

10

6

2

29

25

21

17

13

9

5

2

30

27

24

21

18

15

12

9

6

3

5

28

25

22

19

16

13

10

7

4

1

29

26

23

20

17

14

11

8

5

3

1

30

28

26

24

22

20

18

16

14

12

10

8

6

4

2

5

29

27

25

23

21

19

17

15

13

11

9

7

5

4

3

2

1

5

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

5

1

2

3

4

5

7

9

11

13

15

17

19

21

23

25

27

29

5

2

4

6

8

10

12

14

16

18

20

22

24

26

28

30

1

3

5

8

11

14

17

20

23

26

29

1

4

7

10

13

16

19

22

25

28

5

3

6

9

12

15

18

21

24

27

30

2

5

9

13

17

21

25

29

2

6

10

14

18

22

26

30

3

7

11

15

19

23

27

5

4

8

12

16

20

24

28

1

5

12

18

24

30

5

11

17

23

29

4

10

16

22

28

3

9

15

21

27

2

8

14

20

26

1

7

13

19

25

6

6

13

20

27

3

10

17

24

6

7

14

21

28

4

11

18

25

1

8

15

22

29

5

12

19

26

2

9

16

23

30

6

14

22

30

7

15

23

6

8

16

24

1

9

17

25

2

10

18

26

3

11

19

27

4

12

20

28

5

13

21

29

6

15

24

2

11

20

29

7

16

25

3

12

21

30

8

17

26

4

13

22

6

9

18

27

5

14

23

1

10

19

28

6

16

26

5

15

25

4

14

24

3

13

23

2

12

22

1

11

21

6

10

20

30

9

19

29

8

18

28

7

17

27

6

17

28

8

19

30

10

21

1

12

23

3

14

25

5

16

27

7

18

29

9

20

6

11

22

2

13

24

4

15

26

6

18

30

11

23

4

16

28

9

21

2

14

26

7

19

6

12

24

5

17

29

10

22

3

15

27

8

20

1

13

25

6

19

1

14

27

9

22

4

17

30

12

25

7

20

2

15

28

10

23

5

18

6

13

26

8

21

3

16

29

11

24

6

20

3

17

6

14

28

11

25

8

22

5

19

2

16

30

13

27

10

24

7

21

4

18

1

15

29

12

26

9

23

6

21

5

20

4

19

3

18

2

17

1

16

6

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

22

6

22

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

6

16

1

17

2

18

3

19

4

20

5

21

6

23

9

26

12

29

15

1

18

4

21

7

24

10

27

13

30

16

2

19

5

22

8

25

11

28

14

6

17

3

20

6

24

11

29

16

3

21

8

26

13

6

18

5

23

10

28

15

2

20

7

25

12

30

17

4

22

9

27

14

1

19

6

25

13

1

20

8

27

15

3

22

10

29

17

5

24

12

6

19

7

26

14

2

21

9

28

16

4

23

11

30

18

6

26

15

4

24

13

2

22

11

6

20

9

29

18

7

27

16

5

25

14

3

23

12

1

21

10

30

19

8

28

17

6

27

17

7

28

18

8

29

19

9

30

20

10

6

21

11

1

22

12

2

23

13

3

24

14

4

25

15

5

26

16

6

28

19

10

1

23

14

5

27

18

9

6

22

13

4

26

17

8

30

21

12

3

25

16

7

29

20

11

2

24

15

6

29

21

13

5

28

20

12

4

27

19

11

3

26

18

10

2

25

17

9

1

24

16

8

6

23

15

7

30

22

14

6

30

23

16

9

2

26

19

12

5

29

22

15

8

1

25

18

11

4

28

21

14

7

6

24

17

10

3

27

20

13

6

6

25

19

13

7

1

26

20

14

8

2

27

21

15

9

3

28

22

16

10

4

29

23

17

11

5

30

24

18

12

6

1

27

22

17

12

7

2

28

23

18

13

8

3

29

24

19

14

9

4

30

25

20

15

10

5

6

26

21

16

11

6

2

29

25

21

17

13

9

5

1

28

24

20

16

12

8

4

6

27

23

19

15

11

7

3

30

26

22

18

14

10

6

3

6

28

25

22

19

16

13

10

7

4

1

29

26

23

20

17

14

11

8

5

2

30

27

24

21

18

15

12

9

6

4

2

6

29

27

25

23

21

19

17

15

13

11

9

7

5

3

1

30

28

26

24

22

20

18

16

14

12

10

8

6

5

4

3

2

1

6

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

6

1

2

3

4

5

6

8

10

12

14

16

18

20

22

24

26

28

30

1

3

5

7

9

11

13

15

17

19

21

23

25

27

29

6

2

4

6

9

12

15

18

21

24

27

30

2

5

8

11

14

17

20

23

26

29

1

4

7

10

13

16

19

22

25

28

6

3

6

10

14

18

22

26

30

3

7

11

15

19

23

27

6

4

8

12

16

20

24

28

1

5

9

13

17

21

25

29

2

6

11

16

21

26

6

5

10

15

20

25

30

4

9

14

19

24

29

3

8

13

18

23

28

2

7

12

17

22

27

1

6

14

21

28

4

11

18

25

1

8

15

22

29

5

12

19

26

2

9

16

23

30

6

13

20

27

3

10

17

24

7

7

15

23

7

8

16

24

1

9

17

25

2

10

18

26

3

11

19

27

4

12

20

28

5

13

21

29

6

14

22

30

7

16

25

3

12

21

30

8

17

26

4

13

22

7

9

18

27

5

14

23

1

10

19

28

6

15

24

2

11

20

29

7

17

27

6

16

26

5

15

25

4

14

24

3

13

23

2

12

22

1

11

21

7

10

20

30

9

19

29

8

18

28

7

18

29

9

20

7

11

22

2

13

24

4

15

26

6

17

28

8

19

30

10

21

1

12

23

3

14

25

5

16

27

7

19

7

12

24

5

17

29

10

22

3

15

27

8

20

1

13

25

6

18

30

11

23

4

16

28

9

21

2

14

26

7

20

2

15

28

10

23

5

18

7

13

26

8

21

3

16

29

11

24

6

19

1

14

27

9

22

4

17

30

12

25

7

21

4

18

1

15

29

12

26

9

23

6

20

3

17

7

14

28

11

25

8

22

5

19

2

16

30

13

27

10

24

7

22

6

21

5

20

4

19

3

18

2

17

1

16

7

15

30

14

29

13

28

12

27

11

26

10

25

9

24

8

23

7

23

8

24

9

25

10

26

11

27

12

28

13

29

14

30

15

7

16

1

17

2

18

3

19

4

20

5

21

6

22

7

24

10

27

13

30

16

2

19

5

22

8

25

11

28

14

7

17

3

20

6

23

9

26

12

29

15

1

18

4

21

7

25

12

30

17

4

22

9

27

14

1

19

6

24

11

29

16

3

21

8

26

13

7

18

5

23

10

28

15

2

20

7

26

14

2

21

9

28

16

4

23

11

30

18

6

25

13

1

20

8

27

15

3

22

10

29

17

5

24

12

7

19

7

27

16

5

25

14

3

23

12

1

21

10

30

19

8

28

17

6

26

15

4

24

13

2

22

11

7

20

9

29

18

7

28

18

8

29

19

9

30

20

10

7

21

11

1

22

12

2

23

13

3

24

14

4

25

15

5

26

16

6

27

17

7

29

20

11

2

24

15

6

28

19

10

1

23

14

5

27

18

9

7

22

13

4

26

17

8

30

21

12

3

25

16

7

30

22

14

6

29

21

13

5

28

20

12

4

27

19

11

3

26

18

10

2

25

17

9

1

24

16

8

7

23

15

7

7

24

17

10

3

27

20

13

6

30

23

16

9

2

26

19

12

5

29

22

15

8

1

25

18

11

4

28

21

14

7

1

26

20

14

8

2

27

21

15

9

3

28

22

16

10

4

29

23

17

11

5

30

24

18

12

6

7

25

19

13

7

2

28

23

18

13

8

3

29

24

19

14

9

4

30

25

20

15

10

5

7

26

21

16

11

6

1

27

22

17

12

7

3

30

26

22

18

14

10

6

2

29

25

21

17

13

9

5

1

28

24

20

16

12

8

4

7

27

23

19

15

11

7

4

1

29

26

23

20

17

14

11

8

5

2

30

27

24

21

18

15

12

9

6

3

7

28

25

22

19

16

13

10

7

5

3

1

30

28

26

24

22

20

18

16

14

12

10

8

6

4

2

7

29

27

25

23

21

19

17

15

13

11

9

7

6

5

4

3

2

1

7

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

7

1

2

3

4

5

6

7

9

11

13

15

17

19

21

23

25

27

29

7

2

4

6

8

10

12

14

16

18

20

22

24

26

28

30

1

3

5

7

10

13

16

19

22

25

28

7

3

6

9

12

15

18

21

24

27

30

2

5

8

11

14

17

20

23

26

29

1

4

7

11

15

19

23

27

7

4

8

12

16

20

24

28

1

5

9

13

17

21

25

29

2

6

10

14

18

22

26

30

3

7

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0


0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0



Regards,

Barry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

formula question in Numbers

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