You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Numbers Formulas Help

Hello all, in work we have a weekly football competition that I use excel to run. Now I have my first Mac I want to do it with Numbers and have set it up like my excel sheet but have now go to the point of needing help.




In this image Mark and Kevin have predicted the scores that they believe the games will end. Row 29 has the actual scores and here is my query.




The cell turns green if the actual score and the guess are correct. 




What I need is if the game score is correct (3-3) for example 5 points is awarded and if only 1 team is correctly predicted 1 point is awarded.




So my example mark would score 7 points and Kevin 10




In excel I just add there predictions and then put the final scores in a nd the formulas do the rest. I ideally want Numbers to do the same…




Hope someone can help

MacBook Air 15″, macOS 15.0

Posted on Oct 6, 2024 5:42 AM

Reply
5 replies

Oct 6, 2024 12:05 PM in response to evans8773

What was your formula in Excel? Unless it was an array formula (not supported in Numbers), we might be able to do something to make it work. Sometimes array formulas can be reworked, too.


Assuming it will always be 3 games (or fewer) per week,

Use the gray columns to do some of the work

D24 =IFS(AND(B24=B$29,C24=C$29),5, OR(B24=B$29,C24=C$29),1,TRUE,0)

Fill that to the rest of the cells in the column

Set the text color to match the background fill so you don't see the results

Copy/paste the column of formulas to columns G and J.

K24 =SUM(D24,G24,J24)

Fill that to the rest of the column


If there will be 4 game weeks, you might want to put those additional 3 columns into the spreadsheet for every week.


For weeks with fewer games, put NA or NO GAME or something like for the scores of those games so they don't get counted.



Oct 6, 2024 12:22 PM in response to Badunit

Hi, thanks for the response...


in excel the formulas are as follows


=SUM(C10=C$38,D10=D$38,F10=F$38,G10=G$38,I10=I$38,J10=J$38) awarding 1 point if score is half correct






=SUM(IF(AND(C10=C$38,D10=D$38),3,0),IF(AND(F10=F$38,G10=G$38),3,0),IF(AND(I10=I$38,J10=J$38),3,0))


and this 1 awards 3 points if the correct score is predicted



will have a look at your suggestions tomorrow...


Cheers

Oct 6, 2024 1:26 PM in response to evans8773

The 1 point formula will not work because Numbers won't use booleans (true/false) as numbers in SUM. But you can use COUNTIF instead.


=COUNTIF({C10=C$38,D10=D$38,F10=F$38,G10=G$38,I10=I$38,J10=J$38},TRUE)


The 3 point formula from Excel should work the same in Numbers. Or you can rewrite it using COUNTIF


=3*COUNTIF({AND(C10=C$38,D10=D$38),AND(F10=F$38,G10=G$38), AND(I10=I$38,J10=J$38)}, TRUE)



Numbers Formulas Help

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