Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Unhappy Lotto Number Checker

Please help.

I have to check 30 Lotto tickets ever week and have tried (and failed) to come up with a way over putting all the selected tickets in a grid, and having another grid with that weeks numbers in. Then finding a "IF" statement to highlight each of the current weeks numbers on the first grid, therefore showing how many numbers on each ticket.

Your help would be invaluable.
  #2   Report Post  
Sandy Mann
 
Posts: n/a
Default

With the selected ticket numbers in A1:F30 and the winning numbers in H1:M1
then highlight all selected ticket cells and use Conditional Formatting with
the formula:

=COUNTIF($H$1:$M$1,A1)0

To count the winning numbers enter:

=COUNTIF(A1:F1,$H$1)+COUNTIF(A1:F1,$I$1)+COUNTIF(A 1:F1,$J$1)+COUNTIF(A1:F1,$K$1)+COUNTIF(A1:F1,$L$1) +COUNTIF(A1:F1,$M$1)

in G1 and copy down.


--
HTH

Sandy

Replace@mailinator with @tiscali.co.uk


"clash" wrote in message
...

Please help.

I have to check 30 Lotto tickets ever week and have tried (and failed)
to come up with a way over putting all the selected tickets in a grid,
and having another grid with that weeks numbers in. Then finding a "IF"
statement to highlight each of the current weeks numbers on the first
grid, therefore showing how many numbers on each ticket.

Your help would be invaluable.


--
clash



  #3   Report Post  
PeterAtherton
 
Posts: n/a
Default



"clash" wrote:


Please help.

I have to check 30 Lotto tickets ever week and have tried (and failed)
to come up with a way over putting all the selected tickets in a grid,
and having another grid with that weeks numbers in. Then finding a "IF"
statement to highlight each of the current weeks numbers on the first
grid, therefore showing how many numbers on each ticket.


I wrote a lottery checker some years ago. Contact me at
and I'll send it to you.

Regards
Peter

  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

I have a file that does this. It has a sheet for pick 5 and one for pick 6.

When you say: "I have to check 30 Lotto tickets", does that mean you have 30
sets of numbers, one set per ticket?

My file is for "heavy" lottery players. It is setup to check up to 250 sets
of numbers. Usually, if you want 250 lottery tickets you get 50 tickets with
each having 5 sets of numbers. That's how my file is setup. It's ideal for
lottery pools that play the same sets of numbers every week. You enter the
sets once then enter the numbers when they're drawn. Any matches are
highlighted and counted.

If you want a copy just let me know where to send it.

Biff

"clash" wrote in message
...

Please help.

I have to check 30 Lotto tickets ever week and have tried (and failed)
to come up with a way over putting all the selected tickets in a grid,
and having another grid with that weeks numbers in. Then finding a "IF"
statement to highlight each of the current weeks numbers on the first
grid, therefore showing how many numbers on each ticket.

Your help would be invaluable.


--
clash



  #5   Report Post  
Sandy Mann
 
Posts: n/a
Default

With all these Lotto checkers around - "this time next year we'll be
millionaitres!" <g

--
Sandy

Replace@mailinator with @tiscali.co.uk




  #6   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by clash
Please help.

I have to check 30 Lotto tickets ever week and have tried (and failed) to come up with a way over putting all the selected tickets in a grid, and having another grid with that weeks numbers in. Then finding a "IF" statement to highlight each of the current weeks numbers on the first grid, therefore showing how many numbers on each ticket.

Your help would be invaluable.


Thanks for all your help !!

this is going to save alot of time.

Clash.
  #7   Report Post  
tjtjjtjt
 
Posts: n/a
Default

Perhaps you could use Conditional Formatting?
For a six number lottery, put the winning numbers into B1:G1.
Then, Select the cell range where the numbers on your tickets are entered.
Go to Format | Conditional Format and change the Condition drop-down to
Formula is. Enter this formula:
=OR(B9=$B$1,B9=$C$1,B9=$D$1,B9=$E$1,B9=$F$1,B9=$G$ 1)
Then, set your formatting. When a number in the grid matches a winning
number, it will change formatting to match what you set.

--
tj


"clash" wrote:


clash Wrote:
Please help.

I have to check 30 Lotto tickets ever week and have tried (and failed)
to come up with a way over putting all the selected tickets in a grid,
and having another grid with that weeks numbers in. Then finding a "IF"
statement to highlight each of the current weeks numbers on the first
grid, therefore showing how many numbers on each ticket.

Your help would be invaluable.




Thanks for all your help !!

this is going to save alot of time.

Clash.


--
clash

  #8   Report Post  
Zdzislaw via OfficeKB.com
 
Posts: n/a
Default

Contact me I will send you excel file, which I created for my self
slaw
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula for current month minus one = Quarter number in a macro. Pank Excel Discussion (Misc queries) 11 June 22nd 05 02:47 PM
doubling a number X number of times Bob Excel Worksheet Functions 1 June 17th 05 12:54 AM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
Need number of Saturdays and number of Sundays between 2 dates Class316 Excel Worksheet Functions 1 June 10th 05 02:47 AM
How do I sort a column a unique number? ChelleA Excel Worksheet Functions 7 February 19th 05 10:38 AM


All times are GMT +1. The time now is 07:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"