A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Discussion (Misc queries)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Lottery



 
 
Thread Tools Display Modes
  #1  
Old August 21st 08, 11:31 AM posted to microsoft.public.excel.misc
smason
external usenet poster
 
Posts: 10
Default Lottery

Hello

i want to create a spread where i input the 6 lottery number into say a1 b1
c1 etc
and have my list of lottery numbers (4 rows of numbers or more) highlight
red (or what ever colour)

any ideas
Ads
  #2  
Old August 21st 08, 11:38 AM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 11,504
Default Lottery

Hi,

I think you need to explain a bit more. In most lotteries (I think) you only
pick 6 numbers. What do you want highlighting and where? How do we get to 4
rows of numbers or more from 6 numbers?

Mike

"smason" wrote:

> Hello
>
> i want to create a spread where i input the 6 lottery number into say a1 b1
> c1 etc
> and have my list of lottery numbers (4 rows of numbers or more) highlight
> red (or what ever colour)
>
> any ideas

  #3  
Old August 21st 08, 11:45 AM posted to microsoft.public.excel.misc
smason
external usenet poster
 
Posts: 10
Default Lottery

yes sorry

say i have the lotto numbers for that weeks draw i.e.
a1 b1 c1 d1 e1 f1
1 4 23 44 6 12

and these are my numbers each week that i want to check (same columns)
1 5 30 45 30 22
4 9 44 15 48 10
etc

i want my numbers to go red if they correspond with the drawn number

hope this helps




"Mike H" wrote:

> Hi,
>
> I think you need to explain a bit more. In most lotteries (I think) you only
> pick 6 numbers. What do you want highlighting and where? How do we get to 4
> rows of numbers or more from 6 numbers?
>
> Mike
>
> "smason" wrote:
>
> > Hello
> >
> > i want to create a spread where i input the 6 lottery number into say a1 b1
> > c1 etc
> > and have my list of lottery numbers (4 rows of numbers or more) highlight
> > red (or what ever colour)
> >
> > any ideas

  #4  
Old August 21st 08, 11:54 AM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 11,504
Default Lottery

Hi,

Select the 6 columns and as many rows as you have lines (Mine start in A4 so
change to suit) and then

Format|Conditional format
Select formula is and enter the formula
=COUNTIF($A$1:$F$1,A4)>0
Pick a colour and OK.

Mike


"smason" wrote:

> yes sorry
>
> say i have the lotto numbers for that weeks draw i.e.
> a1 b1 c1 d1 e1 f1
> 1 4 23 44 6 12
>
> and these are my numbers each week that i want to check (same columns)
> 1 5 30 45 30 22
> 4 9 44 15 48 10
> etc
>
> i want my numbers to go red if they correspond with the drawn number
>
> hope this helps
>
>
>
>
> "Mike H" wrote:
>
> > Hi,
> >
> > I think you need to explain a bit more. In most lotteries (I think) you only
> > pick 6 numbers. What do you want highlighting and where? How do we get to 4
> > rows of numbers or more from 6 numbers?
> >
> > Mike
> >
> > "smason" wrote:
> >
> > > Hello
> > >
> > > i want to create a spread where i input the 6 lottery number into say a1 b1
> > > c1 etc
> > > and have my list of lottery numbers (4 rows of numbers or more) highlight
> > > red (or what ever colour)
> > >
> > > any ideas

  #5  
Old August 21st 08, 12:00 PM posted to microsoft.public.excel.misc
David Biddulph[_2_]
external usenet poster
 
Posts: 8,651
Default Lottery

Format/ Conditional Formatting/ Formula Is/
=OR(A2=$A$1,A2=$B$1,A2=$C$1,A2=$D$1,A2=$E$1)
--
David Biddulph

"smason" > wrote in message
...
> Hello
>
> i want to create a spread where i input the 6 lottery number into say a1
> b1
> c1 etc
> and have my list of lottery numbers (4 rows of numbers or more) highlight
> red (or what ever colour)
>
> any ideas



  #6  
Old August 21st 08, 12:10 PM posted to microsoft.public.excel.misc
smason
external usenet poster
 
Posts: 10
Default Lottery

briliant

can i calculate a 'red cell' to say i.e three cells =3


"Mike H" wrote:

> Hi,
>
> Select the 6 columns and as many rows as you have lines (Mine start in A4 so
> change to suit) and then
>
> Format|Conditional format
> Select formula is and enter the formula
> =COUNTIF($A$1:$F$1,A4)>0
> Pick a colour and OK.
>
> Mike
>
>
> "smason" wrote:
>
> > yes sorry
> >
> > say i have the lotto numbers for that weeks draw i.e.
> > a1 b1 c1 d1 e1 f1
> > 1 4 23 44 6 12
> >
> > and these are my numbers each week that i want to check (same columns)
> > 1 5 30 45 30 22
> > 4 9 44 15 48 10
> > etc
> >
> > i want my numbers to go red if they correspond with the drawn number
> >
> > hope this helps
> >
> >
> >
> >
> > "Mike H" wrote:
> >
> > > Hi,
> > >
> > > I think you need to explain a bit more. In most lotteries (I think) you only
> > > pick 6 numbers. What do you want highlighting and where? How do we get to 4
> > > rows of numbers or more from 6 numbers?
> > >
> > > Mike
> > >
> > > "smason" wrote:
> > >
> > > > Hello
> > > >
> > > > i want to create a spread where i input the 6 lottery number into say a1 b1
> > > > c1 etc
> > > > and have my list of lottery numbers (4 rows of numbers or more) highlight
> > > > red (or what ever colour)
> > > >
> > > > any ideas

  #7  
Old August 21st 08, 12:47 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 11,504
Default Lottery

Hi,

Counting the colours is possible but this is simpler. Put the formula at the
end of each row and drag down

=SUMPRODUCT(--ISNUMBER(MATCH(A4:F4,$A$1:$F$1,0)))

Mike

"smason" wrote:

> briliant
>
> can i calculate a 'red cell' to say i.e three cells =3
>
>
> "Mike H" wrote:
>
> > Hi,
> >
> > Select the 6 columns and as many rows as you have lines (Mine start in A4 so
> > change to suit) and then
> >
> > Format|Conditional format
> > Select formula is and enter the formula
> > =COUNTIF($A$1:$F$1,A4)>0
> > Pick a colour and OK.
> >
> > Mike
> >
> >
> > "smason" wrote:
> >
> > > yes sorry
> > >
> > > say i have the lotto numbers for that weeks draw i.e.
> > > a1 b1 c1 d1 e1 f1
> > > 1 4 23 44 6 12
> > >
> > > and these are my numbers each week that i want to check (same columns)
> > > 1 5 30 45 30 22
> > > 4 9 44 15 48 10
> > > etc
> > >
> > > i want my numbers to go red if they correspond with the drawn number
> > >
> > > hope this helps
> > >
> > >
> > >
> > >
> > > "Mike H" wrote:
> > >
> > > > Hi,
> > > >
> > > > I think you need to explain a bit more. In most lotteries (I think) you only
> > > > pick 6 numbers. What do you want highlighting and where? How do we get to 4
> > > > rows of numbers or more from 6 numbers?
> > > >
> > > > Mike
> > > >
> > > > "smason" wrote:
> > > >
> > > > > Hello
> > > > >
> > > > > i want to create a spread where i input the 6 lottery number into say a1 b1
> > > > > c1 etc
> > > > > and have my list of lottery numbers (4 rows of numbers or more) highlight
> > > > > red (or what ever colour)
> > > > >
> > > > > any ideas

  #8  
Old August 21st 08, 12:53 PM posted to microsoft.public.excel.misc
smason
external usenet poster
 
Posts: 10
Default Lottery

agai brilliant thanks for all the advice

"Mike H" wrote:

> Hi,
>
> Counting the colours is possible but this is simpler. Put the formula at the
> end of each row and drag down
>
> =SUMPRODUCT(--ISNUMBER(MATCH(A4:F4,$A$1:$F$1,0)))
>
> Mike
>
> "smason" wrote:
>
> > briliant
> >
> > can i calculate a 'red cell' to say i.e three cells =3
> >
> >
> > "Mike H" wrote:
> >
> > > Hi,
> > >
> > > Select the 6 columns and as many rows as you have lines (Mine start in A4 so
> > > change to suit) and then
> > >
> > > Format|Conditional format
> > > Select formula is and enter the formula
> > > =COUNTIF($A$1:$F$1,A4)>0
> > > Pick a colour and OK.
> > >
> > > Mike
> > >
> > >
> > > "smason" wrote:
> > >
> > > > yes sorry
> > > >
> > > > say i have the lotto numbers for that weeks draw i.e.
> > > > a1 b1 c1 d1 e1 f1
> > > > 1 4 23 44 6 12
> > > >
> > > > and these are my numbers each week that i want to check (same columns)
> > > > 1 5 30 45 30 22
> > > > 4 9 44 15 48 10
> > > > etc
> > > >
> > > > i want my numbers to go red if they correspond with the drawn number
> > > >
> > > > hope this helps
> > > >
> > > >
> > > >
> > > >
> > > > "Mike H" wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I think you need to explain a bit more. In most lotteries (I think) you only
> > > > > pick 6 numbers. What do you want highlighting and where? How do we get to 4
> > > > > rows of numbers or more from 6 numbers?
> > > > >
> > > > > Mike
> > > > >
> > > > > "smason" wrote:
> > > > >
> > > > > > Hello
> > > > > >
> > > > > > i want to create a spread where i input the 6 lottery number into say a1 b1
> > > > > > c1 etc
> > > > > > and have my list of lottery numbers (4 rows of numbers or more) highlight
> > > > > > red (or what ever colour)
> > > > > >
> > > > > > any ideas

  #9  
Old August 21st 08, 12:57 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 11,504
Default Lottery

Glad I could help

"smason" wrote:

> agai brilliant thanks for all the advice
>
> "Mike H" wrote:
>
> > Hi,
> >
> > Counting the colours is possible but this is simpler. Put the formula at the
> > end of each row and drag down
> >
> > =SUMPRODUCT(--ISNUMBER(MATCH(A4:F4,$A$1:$F$1,0)))
> >
> > Mike
> >
> > "smason" wrote:
> >
> > > briliant
> > >
> > > can i calculate a 'red cell' to say i.e three cells =3
> > >
> > >
> > > "Mike H" wrote:
> > >
> > > > Hi,
> > > >
> > > > Select the 6 columns and as many rows as you have lines (Mine start in A4 so
> > > > change to suit) and then
> > > >
> > > > Format|Conditional format
> > > > Select formula is and enter the formula
> > > > =COUNTIF($A$1:$F$1,A4)>0
> > > > Pick a colour and OK.
> > > >
> > > > Mike
> > > >
> > > >
> > > > "smason" wrote:
> > > >
> > > > > yes sorry
> > > > >
> > > > > say i have the lotto numbers for that weeks draw i.e.
> > > > > a1 b1 c1 d1 e1 f1
> > > > > 1 4 23 44 6 12
> > > > >
> > > > > and these are my numbers each week that i want to check (same columns)
> > > > > 1 5 30 45 30 22
> > > > > 4 9 44 15 48 10
> > > > > etc
> > > > >
> > > > > i want my numbers to go red if they correspond with the drawn number
> > > > >
> > > > > hope this helps
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > "Mike H" wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I think you need to explain a bit more. In most lotteries (I think) you only
> > > > > > pick 6 numbers. What do you want highlighting and where? How do we get to 4
> > > > > > rows of numbers or more from 6 numbers?
> > > > > >
> > > > > > Mike
> > > > > >
> > > > > > "smason" wrote:
> > > > > >
> > > > > > > Hello
> > > > > > >
> > > > > > > i want to create a spread where i input the 6 lottery number into say a1 b1
> > > > > > > c1 etc
> > > > > > > and have my list of lottery numbers (4 rows of numbers or more) highlight
> > > > > > > red (or what ever colour)
> > > > > > >
> > > > > > > any ideas

  #10  
Old August 21st 08, 01:36 PM posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
 
Posts: 10,124
Default Lottery

Here is the way I did it when I played the Lotto where b5:f5 are the winners
and b6:f6 are your numbers.
Quit years ago. Suggest you do the same.

=IF(F6=0,"",SUMPRODUCT(COUNTIF(B6:F6,$B$5:$F$5)))
Then use conditional formatting cell value is between 4 & 6

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"smason" > wrote in message
...
> Hello
>
> i want to create a spread where i input the 6 lottery number into say a1
> b1
> c1 etc
> and have my list of lottery numbers (4 rows of numbers or more) highlight
> red (or what ever colour)
>
> any ideas


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lottery combinations Kobus Excel Worksheet Functions 16 May 19th 08 01:39 PM
Lottery Model KCG Excel Worksheet Functions 7 August 6th 07 09:00 PM
Lottery check Ron New Users to Excel 13 September 15th 06 02:13 AM
Lottery exercise Gary''s Student Excel Worksheet Functions 1 December 5th 05 07:20 PM
lottery drawing nmarenc Excel Worksheet Functions 1 November 18th 05 06:23 AM


All times are GMT +1. The time now is 04:51 PM.


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