Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Checking Lotto numbers

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?

--
tia
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Checking Lotto numbers

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
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"JockW" wrote:
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?

--
tia

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Checking Lotto numbers

Try this:

Select the range A4:F10
Goto the menu FormatConditional 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

--
Biff
Microsoft Excel MVP


"JockW" wrote in message
...
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?

--
tia



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Checking Lotto numbers

This seems to work also...

=MATCH(A4,$A$12:$F$12,0)

Rick


"JockW" wrote in message
...
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?

--
tia


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Checking Lotto numbers

Thanks to all. Not tried any yet but will do.
Cheers.
--
tia


"JockW" wrote:

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?

--
tia

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
Lotto template Mickey Mouse[_2_] New Users to Excel 3 February 9th 08 07:49 AM
Checking numbers across various sheets Mike Excel Worksheet Functions 2 February 11th 07 03:40 AM
uk lotto dream numbers DarkNight New Users to Excel 8 October 30th 06 05:43 AM
Checking crossword numbers shanjar Excel Discussion (Misc queries) 1 April 7th 06 10:11 PM
Checking Winning Numbers in the Lottery. Ann Excel Discussion (Misc queries) 4 May 18th 05 10:55 AM


All times are GMT +1. The time now is 11:17 PM.

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"