Checking Lotto numbers

  • Thread starter Thread starter JockW
  • Start date Start date
J

JockW

Numbers to be checked - A4:F10
Draw numbers - A12:F12

I have tried (in I4) {=IF($A4:$F4=A12,"P","")} which works but only because
the criteria is met in the first column. When copied down and accross it
doesn't work.
Any ideas?
 
In I4, copied down to I10:
=SUMPRODUCT(--(ISNUMBER(MATCH(A4:F4,A$12:F$12,0))))
will return the number of matched/winning numbers in each row
 
Try this:

Select the range A4:F10
Goto the menu Format>Conditional Formatting
Formula Is:

=AND(A4<>"",OR(A4=$A$12:$F$12))

Click the Format button
Select the Patterns tab
Select a nice shade of green
OK out
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top